tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ne2000 with 8bit bus width



Hi,

>> > - It looks now ne2000_detect() also checks if chip is 16 bit DMA capable.
>> > Â If so, isn't it better to use the result of ne2000_detect()
>> > Â to set sc_useworddma, rather than setting it in backends?
>>
>> ne2000_softc is not passed to the ne2000_detect() function.
>
> We can change ne2000_detect() appropriately,
> but your newer patch seems okay.

Because ne2000_detect() function is used by driver's match function,
softc data cannot be passed to ne2000_detect() function.

-- 
NONAKA Kimihiro


Home | Main Index | Thread Index | Old Index