public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* serial driver not properly detecting modem
@ 2001-04-24  3:38 Steven Walter
  2001-04-24 11:04 ` Jeff Garzik
  2001-04-24 13:38 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Steven Walter @ 2001-04-24  3:38 UTC (permalink / raw)
  To: linux-kernel

It would seem that I have a modem (hardware based, not winmodem) of
PCI_CLASS_COMMUNICATION_OTHER.  This, unfortunately, prevents it from
being automagically detected by the serial driver, which only looks for
devices of PCI_CLASS_COMMUNICATION_SERIAL.

I've fixed this here merely by adding an entry to the PCI table of
serial.c for PCI_CLASS_COMMUNICATION_OTHER.  Is this the best way to fix
this?  Is there some reason that this shouldn't be done in general?  If
not, I'd like to see it fix in the kernel proper.

It should be noted that the modem is listed in serial.c's pci_boards,
perhaps it would be best for the serial driver to list PCI_ID_ANY for a
class, and only use pci_boards to further identify serial ports?  Or
would this be too inefficient to correct for a few misguided hardware
makers?

Thanks
-- 
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-24 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-24  3:38 serial driver not properly detecting modem Steven Walter
2001-04-24 11:04 ` Jeff Garzik
2001-04-24 13:38 ` Alan Cox
2001-04-24 13:46   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox