Date: Fri, 10 Nov 2000 08:16:56 -0500 (EST) From: Richard J Kuhns <rjk@grauel.com> To: Soren Schmidt <sos@freebsd.dk> Cc: stable@freebsd.org Subject: Re: My cdrom disappeared with the new ata-all.c :-( Message-ID: <14859.62792.510657.850003@moriarity.grauel.com> References: <14859.1104.90246.424231@moriarity.grauel.com> <200011092038.VAA30964@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14859.62792.510657.850003>