Re: [PATCH] Add SWIM floppy support for m68k Macs.

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

 



On Sun, Nov 02, 2008 at 12:21:23PM +0100, Laurent Vivier wrote:
Le 2 nov. 08 à 09:54, Geert Uytterhoeven a écrit :
The preferred way to do this these days is to create a platform  
device with a
struct resource that points to the SWIMBase.

Is this what Finn explains also in his answer ?
If so, I agree.

Not exactly. What Finn suggested is to match the way we handle
many of the other on-board things like ADB and SCSI. What Geert
suggests is a much more recent way to do things that we generally
haven't done for Mac-only drivers. I think Finn used it for the
new Sonic ethernet driver because we share it with other systems.
The code in macsonic.c also has the extra complexity from having
both NuBus and on-board hardware to support, and NuBus also hasn't
been updated to the new driver model.

Finn's suggestion of using the macintosh_config entry and data
table is the easiest way to get it working, but Geert's method
would move to the real device/driver model that most other
systems are using now. Ideally this would be a macio driver
instead of a platform driver in my opinion, but I haven't finished
getting the macio bus code working on m68k.

	Brad Boyer
	flar@xxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux