Date: Fri, 10 Jan 1997 21:59:19 +0100 From: se@freebsd.org (Stefan Esser) To: dwhite@resnet.uoregon.edu (Doug White) Cc: hackers@freebsd.org Subject: Re: ncr probe FAILS on 2.2-BETA_A! Message-ID: <Mutt.19970110215919.se@x14.mi.uni-koeln.de> In-Reply-To: <Pine.BSI.3.94.970110002618.246A-100000@localhost>; from Doug White on Jan 10, 1997 00:38:52 -0800 References: <Pine.BSI.3.94.970110002618.246A-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, I forgot to include the context diff ... Here it comes: Index: ncr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/ncr.c,v retrieving revision 1.82.2.5 retrieving revision 1.82 diff -C2 -r1.82.2.5 -r1.82 *** ncr.c 1997/01/06 21:12:40 1.82.2.5 --- ncr.c 1996/10/14 10:09:52 1.82 *************** *** 4419,4426 **** */ ! burstlen = 0xc0; /* XXX 53c875 needs code change to */ ! /* be able to use larger bursts */ ! OUTB (nc_istat, 0x00 ); /* Remove Reset, abort ... */ OUTB (nc_scntl0, 0xca ); /* full arb., ena parity, par->ATN */ OUTB (nc_scntl1, 0x00 ); /* odd parity, and remove CRST!! */ --- 4416,4429 ---- */ ! #ifndef __NetBSD__ ! if (pci_max_burst_len < 4) { ! static u_char tbl[4]={0,0,0x40,0x80}; ! burstlen = tbl[pci_max_burst_len]; ! } else burstlen = 0xc0; ! #else /* !__NetBSD__ */ ! burstlen = 0xc0; ! #endif /* __NetBSD__ */ ! OUTB (nc_istat, 0 ); /* Remove Reset, abort ... */ OUTB (nc_scntl0, 0xca ); /* full arb., ena parity, par->ATN */ OUTB (nc_scntl1, 0x00 ); /* odd parity, and remove CRST!! */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970110215919.se>