Re: Christmas list for the kernel

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

 



On Tue, Nov 22, 2005 at 04:13:01PM -0500, Jon Smirl wrote:

> On 11/22/05, Greg KH <[email protected]> wrote:
> > On Tue, Nov 22, 2005 at 01:31:16PM -0500, Jon Smirl wrote:
> > >
> > > 4) Merge klibc and fix up the driver system so that everything is
> > > hotplugable. This means no more need to configure drivers in the
> > > kernel, the right drivers will just load automatically.
> >
> > What driver subsystem is not hotplugable and does not have automatically
> > loaded modules today?
> 
> All of the legacy stuff - VGA, Vesafb, PS2, serial, parallel,
> joystick, floppy, gameport, etc.

You can remove these from the list:

ps/2 and serial (for input devices) use the 'serio' layer, which does
have automatic loading.

gameport is missing, but planned. Unfortunately you can't probe for
joysticks before you load the specific modules, so it simply will have
to load all available drivers. On the other hand, gameports are a dying
breed, replaced by USB, which is good.

And the others:

VGA drivers are autoloaded by the PCI subsystem.

VESAfb can't ever be autoloaded.

serial, parallel, gameport, etc are using the PnP subsystem and will be
autoloaded if ACPIPnP reports these devices.

And floppy, well, I think it isn't using ACPIPnP but possibly could ...

> Those drivers could be in initramfs
> and only load if the hardware is found. Most of these legacy devices
> have poor sysfs support too. Also, it's not just x86 legacy device all
> of the platforms have them.

The hardware is often found only by the driver, like in the joystick
case. Hopefully ACPIPnP will list all the devices ...

> Currently you have to compile most of this stuff into the kernel.

You don't.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux