From owner-freebsd-ppc Sun Feb 23 20:14:31 2003 Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6037B37B401; Sun, 23 Feb 2003 20:14:29 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F3143F75; Sun, 23 Feb 2003 20:14:28 -0800 (PST) (envelope-from welchsm@earthlink.net) Received: from grover.mail.pas.earthlink.net ([207.217.121.249] helo=grover.psp.pas.earthlink.net) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18nA0a-0000lG-00; Sun, 23 Feb 2003 20:14:28 -0800 Received: from [207.217.78.11] by EarthlinkWAM via HTTP; Sun Feb 23 20:14:28 PST 2003 Message-ID: <5545753.1046060068570.JavaMail.nobody@grover.psp.pas.earthlink.net> Date: Sun, 23 Feb 2003 20:13:52 -0600 (GMT) From: Sean Welch Reply-To: Sean_Welch@alum.wofford.org To: Peter Grehan Subject: ata_iobus.c errors Cc: freebsd-ppc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Web Access Mail version 3.0 Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The make/installworld worked without errors. The buildkernel failed on ata_iobus.c compile: /usr/src/sys/powerpc/psim/ata_iobus.c: In function `ata_iobus_sub_probe': /usr/src/sys/powerpc/psim/ata_iobus.c:251: structure has no member named `intr_func' /usr/src/sys/powerpc/psim/ata_iobus.c:252: structure has no member named `lock_func' *** Error code 1 Is there another patch in the works I could try? Sean -------Original Message------- From: Peter Grehan 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 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