* Driver_data is probably zero in serverworks IDE driver
@ 2006-09-09 17:19 Marton Balint
2006-09-09 20:36 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Marton Balint @ 2006-09-09 17:19 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
Hi!
I have a ServerWorks CSB6 IDE controller, and with kernel 2.6.18-rc6 it is
detected as OSB4. I think this happens because the driver_data in the
pci_device_id table is zero for every device that uses the ServerWorks
driver.
Please take a look at commit f201f5046ddaeeccb036bdf6848549bf5cb51bb1.
This commit introduced the usage of the PCI_DEVICE macro, but this macro
does not set class and class_mask so I think now we set .class instead of
.driver_data. The drivers that are also affected by this commit may
have similar problems.
Marton
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Driver_data is probably zero in serverworks IDE driver
2006-09-09 17:19 Driver_data is probably zero in serverworks IDE driver Marton Balint
@ 2006-09-09 20:36 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-09-09 20:36 UTC (permalink / raw)
To: Marton Balint; +Cc: linux-kernel, akpm, torvalds
Ar Sad, 2006-09-09 am 19:19 +0200, ysgrifennodd Marton Balint:
> Please take a look at commit f201f5046ddaeeccb036bdf6848549bf5cb51bb1.
> This commit introduced the usage of the PCI_DEVICE macro, but this macro
> does not set class and class_mask so I think now we set .class instead of
> .driver_data. The drivers that are also affected by this commit may
> have similar problems.
Yes it looks to be the case, and PCI_DEVICE_CLASS() macros don't help as
they assign in differing orders.
The following drivers appear to be broken from this
Aec62xx.c All
Serverworks.c OSB4/CSB5/CSB6/CSB6-2/HT1000
Actual breakage will affect CSB6/CSB6-2/HT1000, and all the AEC6xxx
chips in various ways.
Unfortunately it appears I missed the bug, nobody checked the diff and
nobody ever ran -mm with these chipsets so it somehow got through. I'll
look at rolling a patch but it might be Monday. Until then anyone
rolling a 2.6.18 tree should revert the PCI table changes in serverworks
and aec62xx.
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-09 20:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-09 17:19 Driver_data is probably zero in serverworks IDE driver Marton Balint
2006-09-09 20:36 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®