lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201312101952.05713.linux@rainbow-software.org>
Date:	Tue, 10 Dec 2013 19:52:04 +0100
From:	Ondrej Zary <linux@...nbow-software.org>
To:	linux-mmc@...r.kernel.org
Cc:	Kernel development list <linux-kernel@...r.kernel.org>
Subject: Toshiba TC6371AF PCI SD card controller (SD TypA) driver

Hello,
I have a nice small Toshiba Portege R100 laptop with this unsupported SD card
controller:

02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05)
        Subsystem: Toshiba America Info Systems Unknown device [1179:0001]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at dfd01000 (32-bit, non-prefetchable) [disabled] [size=512]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+


Richard Betts posted a non-working driver for this chip at:
http://osdir.com/ml/linux.drivers.sdhci.devel/2008-07/msg00002.html

I've installed old Debian (etch) and compiled the toshsd driver with old 
kernel 2.6.20 - and it really does not work - as promised :)

The comments are useful - seems that the chip internals are same as in ASIC3, 
now supported by tmio_mmc driver. But it's a MFD, not a PCI driver. I wonder 
how hard would be to modify tmio_mmc driver to use with a new "glue" PCI 
driver for this chip.

The registers in toshsd.h seem to match TC6371AF chip - datasheet is available 
e.g. at:
http://www.alldatasheet.com/datasheet-pdf/pdf/169239/TOSHIBA/TC6371AF.html
Only the PCI ID is a bit different (0x0805 instead of 0x0803).

More registers are described in TC6380AF datasheet, although it's not a PCI 
device:
http://www.datasheetarchive.com/dl/Datasheet-029/DSA00512912.pdf

-- 
Ondrej Zary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ