From owner-freebsd-stable Fri Nov 10 5:18:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from moriarity.grauel.com (moriarity.grauel.com [199.233.104.37]) by hub.freebsd.org (Postfix) with ESMTP id 21A3137B479 for ; Fri, 10 Nov 2000 05:18:10 -0800 (PST) Received: (from rjk@localhost) by moriarity.grauel.com (8.11.1/8.11.1) id eAADGuw58790; Fri, 10 Nov 2000 08:16:56 -0500 (EST) (envelope-from rjk) From: Richard J Kuhns MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <14859.62792.510657.850003@moriarity.grauel.com> Date: Fri, 10 Nov 2000 08:16:56 -0500 (EST) To: Soren Schmidt Cc: stable@freebsd.org Subject: Re: My cdrom disappeared with the new ata-all.c :-( References: <14859.1104.90246.424231@moriarity.grauel.com> <200011092038.VAA30964@freebsd.dk> X-Mailer: VM 6.75 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt writes: > Try this on a virgin new ata-all.c: >=20 > Index: ata-all.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v > retrieving revision 1.50.2.11 > diff -u -r1.50.2.11 ata-all.c > --- ata-all.c=092000/11/09 10:47:29=091.50.2.11 > +++ ata-all.c=092000/11/09 21:21:39 > @@ -839,9 +839,9 @@ > outb(scp->ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE); > DELAY(1);=09 > status1 =3D inb(scp->ioaddr + ATA_STATUS); > - if ((status0 & 0xf8) !=3D 0xf8 && status0 !=3D 0xa5 && ata_testr= egs(scp)) > + if ((status0 & 0xf8) !=3D 0xf8 && status0 !=3D 0xa5) > =09mask |=3D 0x01; > - if ((status1 & 0xf8) !=3D 0xf8 && status1 !=3D 0xa5 && ata_testr= egs(scp)) > + if ((status1 & 0xf8) !=3D 0xf8 && status1 !=3D 0xa5) > =09mask |=3D 0x02; > if (bootverbose) > =09ata_printf(scp, -1, "mask=3D%02x status0=3D%02x status1=3D%02x\n"= ,=20 >=20 >=20 > -S=F8ren >=20 (Sorry I couldn't get back to you any sooner, but the Real World intrud= ed.) It worked! Life is good again... Thanks! =09=09=09- Rich --=20 Richard Kuhns=09=09=09rjk@grauel.com PO Box 6249=09=09=09Tel: (765)477-6000 \ 100 Sawmill Road=09=09=09=09 x319 Lafayette, IN 47903=09=09 (800)489-4891 / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message