public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* EISA & sysfs.
@ 2004-02-17 23:54 Dave Jones
  2004-02-18  9:42 ` Marc Zyngier
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Jones @ 2004-02-17 23:54 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Marc Zyngier

I'm somewhat puzzled about the case where we have a driver
that can work on EISA bus, as well as others, when modprobe'd on
a system that doesn't have an EISA bus.

It seems we do a probe really early on to see if we actually
have an eisa bus, but if a driver later calls eisa_driver_register()
we still do lots of hoop jumping through sysfs/kobjects
before deciding that we don't have the device.

Wouldn't it make sense to have eisa_driver_register() check that the
root EISA bus actually got registered, and if not, -ENODEV
immediately ?

		Dave


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

end of thread, other threads:[~2004-02-18 18:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 23:54 EISA & sysfs Dave Jones
2004-02-18  9:42 ` Marc Zyngier
2004-02-18 11:16   ` Dave Jones
2004-02-18 15:24     ` Marc Zyngier
2004-02-18 15:40       ` Dave Jones
2004-02-18 15:53       ` Dave Jones
2004-02-18 16:12         ` Marc Zyngier
2004-02-18 17:23           ` Bartlomiej Zolnierkiewicz
2004-02-18 18:01         ` Greg KH

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