Subject: Re: [ANN] NetBSD/mac68k floppy driver available
To: SamMaEl <rimsky@teleport.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 06/08/1998 23:09:26
At 22:26 Uhr +0200 08.06.1998, SamMaEl wrote:
>On Mon, 8 Jun 1998, Hauke Fath wrote:
>
>> -- Regarding the late Quadras: I do not quite understand why teh P630
>> misbehaves; in the relevant parts (SWIM initialization) the .Sony ROM code
>> is byte for byte identical with the Q700 ROM. Maybe it's a timing issue.
>
>	Well, I tried running the GENERICIWM kernel and it did fail to
>initialize the IWM on my Q630.

That's what I saw, too. It gets funny when you boot with a 800K disk
inserted: The driver "detects" *two* floppy drives with an unsupported HD
disk in each. Maybe you could try that and see whether the driver does
anything useful afterwards, just to see if there is a fundamental
misunderstanding or simply an initialization issue?

>I tried the lkm too, but didn't read the
>part about having to recompile my kernel ;-) I added the sources into
>/sys/arch/mac68k/dev, but what exactly am I going to need to change for
>the LKM to be able to attach? It complained about an undefined symbol...
>does the floppy stuff need to be compiled into the kernel? Or just the
>changes to machdep.c? Oh wait... nevermind, I just answered my own
>question there ;-)

For the LKM, you need only the machdep.c patch, which provides a variable
that holds the IWM base address.

>	Now, how about compiling a kernel with IWM in-kernel? I made a
>BRAHMS-IWM which was basically adding the IWM attachment stuff from
>GENERICIWM onto my BRAHMS config, but is there anything more that should
>need changing? I'm going to be compiling while I'm at work, so I won't be
>able to babysit it...

You need to untar the "iwm.tar.gz" from above the sys dir (usually in
/usr/src) - look at "tar -ztf iwm.tar.gz".

Then you need to patch your sources by issuing "patch <1-3-2-iwm.diff" from
./sys/arch, run a config GENERICIWM and compile.

	hauke



--
"It's never straight up and down"     (DEVO)