RFC: PCI SD host controller driver & mmc/mmcsd modules improvements

Alexander Motin mav at FreeBSD.org
Mon Oct 6 09:13:20 UTC 2008


Thomas Hurst wrote:
> * Alexander Motin (mav at FreeBSD.org) wrote:
> 
>> I would like to present initial revision of my generic PCI SD Host
>> Controller driver (sdhci). It support PCI devices with class 8 and
>> subclass 5 according to SD Host Controller Specification. With some
>> limitations it successfully works on my Acer TM6292 notebook with ENE
>> CB714 card reader.
> 
> RELENG_7_0, Sony TX1XP:
> 
>   sdhci0: <TI XX21/XX11 SD> mem
>   0xb0107000-0xb01070ff,0xb0106c00-0xb0106cff,0xb0106800-0xb01068ff irq 21
>   at device 5.4 on pci6
>   sdhci0: 3 slot(s) allocated
> 
>   none2 at pci0:6:5:3:       class=0x018000 card=0x81e2104d chip=0x8033104c rev=0x00 hdr=0x00
>       vendor     = 'Texas Instruments (TI)'
>       device     = 'PCIxx11/21 Integrated FlashMedia Controller'
>       class      = mass storage
>   sdhci0 at pci0:6:5:4:      class=0x080500 card=0x00000000 chip=0x8034104c rev=0x00 hdr=0x00
>       vendor     = 'Texas Instruments (TI)'
>       device     = '10981734 SDA Standard Compliant SD Host Controller'
>       class      = base peripheral
> 
> This is an integrated SD and MemoryStick reader; sadly it doesn't
> actually attach any usable devices.

At this moment driver creates mmc bus only on card insert and destroyes 
on remove. Have you tried to insert something there? Do you have any 
reaction on card insert?

-- 
Alexander Motin


More information about the freebsd-mobile mailing list