Skip site navigation (1)Skip section navigation (2)
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:
> 
> Index: ata-all.c
> ===================================================================
> 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	2000/11/09 10:47:29	1.50.2.11
> +++ ata-all.c	2000/11/09 21:21:39
> @@ -839,9 +839,9 @@
>      outb(scp->ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
>      DELAY(1);	
>      status1 = inb(scp->ioaddr + ATA_STATUS);
> -    if ((status0 & 0xf8) != 0xf8 && status0 != 0xa5 && ata_testregs(scp))
> +    if ((status0 & 0xf8) != 0xf8 && status0 != 0xa5)
>  	mask |= 0x01;
> -    if ((status1 & 0xf8) != 0xf8 && status1 != 0xa5 && ata_testregs(scp))
> +    if ((status1 & 0xf8) != 0xf8 && status1 != 0xa5)
>  	mask |= 0x02;
>      if (bootverbose)
>  	ata_printf(scp, -1, "mask=%02x status0=%02x status1=%02x\n", 
> 
> 
> -Søren
> 

(Sorry I couldn't get back to you any sooner, but the Real World intruded.)

It worked!  Life is good again...

Thanks!
			- Rich

-- 
Richard Kuhns			rjk@grauel.com
PO Box 6249			Tel: (765)477-6000 \
100 Sawmill Road				    x319
Lafayette, IN  47903		     (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>