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

Alexander Motin mav at FreeBSD.org
Thu Nov 6 11:10:32 PST 2008


Alexander Motin wrote:
> Lars Engels wrote:
>> Much better! Loading mmcsd first, then mmc and sdhci gives me the mmcsd0
>> device:
>>
>> sdhci0: <RICOH R5C822 SD> mem 0xd8002800-0xd80028ff irq 22 at device 9.2
>> on pci5
>> sdhci0: 1 slot(s) allocated
>> sdhci0: [ITHREAD]
>> mmc0: <MMC/SD bus> on sdhci0
>> mmcsd0: 1924MB <SD Memory Card> at mmc0 16MHz/4bit
>> sdhci0-slot0: Got data interrupt 0x00000002, but there is no active
> 
> This error should not happen normally. Or this controller has some 
> problems with DMA mode (it's PCI class reports that DMA is not 
> supported, but as soon as we have some reports that it does working it 
> is forcefully used) or it is some problem with driver. 

Or you can also try PIO mode by removing SDHCI_QUIRK_FORCE_DMA for this 
chip.

-- 
Alexander Motin


More information about the freebsd-current mailing list