Date: Sun, 23 Feb 2003 19:34:57 -0600 (GMT) From: Sean Welch <welchsm@earthlink.net> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: ATA patch and others Message-ID: <6345115.1046057733858.JavaMail.nobody@grover.psp.pas.earthlink.net>
index | next in thread | raw e-mail
I've updated the source, reapplied the gcc diffs, applied the
ATA diff, touched the loader.help file, and now I'm doing
a make buildworld.
Thanks for all the help so far! Learning a lot here...
Sean
-------Original Message-------
From: Peter Grehan <grehan@freebsd.org>
Sent: 02/23/03 07:53 PM
To: Sean_Welch@alum.wofford.org
Subject: Re: Also interested in testing
>
> > install: /usr/src/sys/boot/powerpc/loader/loader.help: No such file or
directory
touch /usr/src/sys/boot/powerpc/loader/loader.help
... will get past this.
> machine/cpufunc.h:37: `powerpc_mb' previously defined here
Sorry, this was my mistake from yesterday, now fixed.
Unfortunately the ATA code is out of sync with Soren's reent ATAng
checking, so the kernel
build will still fail. Patch attached, should be fixed in CVS shortly.
later,
Peter.
diff -r1.3 ata_macio.c
43a44
> #include <sys/ata.h>
288,294d288
< static int
< ata_macio_intrnoop(struct ata_channel *ch)
< {
<
< return (1);
< }
<
300a295,300
> static void
> ata_macio_setmode(struct ata_device *atadev, int mode)
> {
> atadev->mode = ATA_PIO;
> }
>
309,311c309,312
< ch->flags = ATA_USE_16BIT;
< ch->intr_func = ata_macio_intrnoop;
< ch->lock_func = ata_macio_locknoop;
---
> ch->flags |= ATA_USE_16BIT;
> ch->locking = ata_macio_locknoop;
> ch->device[MASTER].setmode = ata_macio_setmode;
> ch->device[SLAVE].setmode = ata_macio_setmode;
314a316,318
>
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ppc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6345115.1046057733858.JavaMail.nobody>
