freebsd-nq/sys/i386
Justin T. Gibbs 6e9d1d8bb6 Fix support for the aic7850 by looking only at the relavent bits of the
QINCNT.  The 7850 puts random garbage in the high bits and all my attempts
to determine the cause of this failed.  This approach does seem to work
around the problem.

Go back to relying on the SCSIPERR interrupt instead of having the sequencer
interrupt at the beginning of ITloop after a parity error occured.

Determine the number of SCBs on a card automatically and base the qcntmask
on the number of SCBs.

Add entries for 11.4MHz, 8.8MHz, 8.0MHz, and 7.2MHz to ULTRA portion of
the syncrate table.  They seem to work fine on the 2940UW I have here and
will allow more non-ultra devices (like my tape drive) to run sync while
the adapter is in ULTRA mode.

Return XS_SELTIMEOUT instead of XS_TIMEOUT for selection timeouts.  I was
getting sick of waiting for the SCSI code to retry each non-existant unit
multiple times during boot and XS_SELTIMEOUT bypasses all retries.

Use new SLIST queue macros.  This was inspired by NetBSD using TAILQs in
their SCSI drivers.  For optimum cache hits, the free scb list should
be LIFO which is what the old and new code does.  NetBSD implemented a
FIFO queue for some reason.

Spaces -> tabs.
1996-03-31 03:15:31 +00:00
..
apm Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
bios Switched from using devfs_add_sw() to using devfs_add_swf() 1996-03-28 14:29:52 +00:00
boot Saved 14 bytes by avoiding gas braindamage and 8 bytes by better 1996-03-08 07:27:52 +00:00
conf When doing a 'make depend', dont blow away the existing .depend until 1996-03-30 14:57:02 +00:00
eisa Don't set the number of SCBs here. aic7xxx.c determines the number of 1996-03-31 03:04:38 +00:00
i386 There is no need to zero out the TSC when configuring a counter, 1996-03-29 17:48:21 +00:00
ibcs2 Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion. 1996-03-28 19:53:21 +00:00
include Parenthesized macros. 1996-03-29 14:14:07 +00:00
isa Override the unit number passed into us in the isa_device structure with 1996-03-31 03:06:20 +00:00
linux Fixed unsigned longs that should have been vm_offset_t. 1996-03-19 15:03:00 +00:00
pci Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of 1996-03-29 15:01:51 +00:00
scsi Fix support for the aic7850 by looking only at the relavent bits of the 1996-03-31 03:15:31 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00