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

Re: Debian Installer - boot floppies



On Tue, Mar 07, 2006 at 06:41:47AM -0600, vinai wrote:
> I made a few small changes to the interrupt call routines so the driver
> would compile and work, but was informed that those changes were not
> SMP-clean.  Then I got lost in work ...

I certainly understand. I haven't had time to do anything other than
keep an eye on the mailing lists in months.

> Things have been settling down, so I can get back and try to work on
> swim3 and try to clean it up.  I guess my initial question is - would
> swim3 really need hotplug capability ?  I can see compiling it as a
> module (though not if you're going to use it for a kernel that would
> boot a mac with such a controller), and since these devices are fixed
> within these macs, do they really need to be hot-pluggable ?  (I am
> just approaching things from the "make it as simple as it can be" point
> of view.)

The problem is not really that it needs to be hot-pluggable (tho in
theory several powerbooks support true hotplug of floppy drives), but
that udev relies on hotplug. Without the hotplug support, the device
nodes don't always get created correctly. You'll get it nearly for
free with a conversion to use the macio bus.

> And what other currently working/supported drivers use the macio bus,
> so I have something to look at for a model ?

As of 2.6.13 (the latest I have on disk), the list seems to be this:

drivers/i2c/busses/i2c-keywest.c
drivers/ide/ppc/pmac.c
drivers/macintosh/mediabay.c
drivers/net/bmac.c
drivers/net/mace.c
drivers/net/wireless/airport.c
drivers/scsi/mac53c94.c
drivers/scsi/mesh.c
drivers/serial/pmac_zilog.c

Just as a note, I searched for macio_register_driver to build this list.

	Brad Boyer
	flar@allandria.com



Reply to: