freebsd-nq/sys/dev
Justin T. Gibbs 85ac786b13 Kill the "unpause_always" argument to unpause_sequencer(). The reasons
for optimizing the unpause operation no-longer exist, and this is much
safer.

When restarting the sequencer, reconstitute the free SCB list on the card.
This deals with a single instruction gap between marking the SCB as free
and actually getting it onto the free list.

Reduce the number of transfer negotiations that occur.  In the past, we
renegotiated after every reported check condition status.  This ensures
that we catch devices that have unexpectidly reset.  In this situation,
the target will always report the check condition before performing a
data-phase.  The new behavior is to renegotiate for any check-condition where
the residual matches the orginal data-length of the command (including
0 length transffers).  This avoids renegotiations during things like
variable tape block reads, where the check condition is reported only
to indicate the residual of the read.

Revamp the parity error detection logic.  We now properly report and
handle injected parity errors in all phases.  The old code used to hang
on message-in parity errors.

Correct the reporting of selection timeout errors to the XPT.  When
a selection timeout occurs, only the currently selecting command
is flagged with SELTO status instead of aborting all currently active
commands to that target.

Fix flipped arguments in ahc_match_scb and in some of the callers of this
routine.  I wish that gcc allowed you to request warnings for enums passed
as ints.

Make ahc_find_msg generically handle all message types.

Work around the target mode data-in wideodd bug in all non-U2 chips.
We can now do sync-wide target mode transfers in target mode across the
hole product line.

Use lastphase exclusively for handling timeouts.  The current phase
doesn't take the bus free state into account.

Fix a bug in the timeout handler that could cause corruption of the
disconnected list.

When sending an embedded cdb to a target, ensure that we start on a
quad word boundary in the data-fifo.  It seems that unaligned stores
do not work correctly.
2000-02-09 21:25:00 +00:00
..
advansys Fix indentation. 2000-02-04 14:25:24 +00:00
aha Fix plug and play support: 2000-01-24 07:08:40 +00:00
ahb Remove #include "eisa.h" and #if NEISA > 0 2000-01-29 18:22:33 +00:00
aic Add support to aic for pccard attachments. Reports from testers have 2000-01-14 23:42:36 +00:00
aic7xxx Kill the "unpause_always" argument to unpause_sequencer(). The reasons 2000-02-09 21:25:00 +00:00
amd The error status for a scsi status error is "CAM_SCSI_STATUS_ERROR", not 0. 2000-01-14 03:39:30 +00:00
amr Fix a printf format problem on the Alpha, where size_t == unsigned long, 1999-12-12 20:53:31 +00:00
an Fix an instance of rman_get_start() than should be rman_get_bushandle(). 2000-01-16 06:41:49 +00:00
ar Remove definition of the unimplemented "control" hook. 2000-01-21 01:39:40 +00:00
ata Probe cosmetics. 2000-02-08 18:38:39 +00:00
atkbdc Use config's conditional compilation rather than using #ifdefs that make 2000-01-29 15:08:56 +00:00
bktr Use config's tools rather than #if's. 2000-01-29 18:54:12 +00:00
buslogic Remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by config. 2000-01-29 14:27:26 +00:00
cardbus Sync to latest cardbusdevs file 1999-11-18 07:22:59 +00:00
ccd Remove #if NCCD > 0 - it's guaranteed to be true by config if ccd.c is 2000-01-29 14:29:56 +00:00
cs Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
cy Clean up some more loose ends.. 2000-01-23 11:50:43 +00:00
dc Add support for DM9102A boards with Davicom DM9801 HomePNA PHYs. 2000-01-24 17:19:37 +00:00
de Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
dec Ho, ho, ho... this clock chip is not y2k compliant. Motorola 2000-01-04 03:22:04 +00:00
dgb Remove #if NDGB > 0 and #if NDGM > 0 2000-01-29 18:42:45 +00:00
dpt Remove #include "eisa.h" and #if NEISA > 0 as it's only ever compiled 2000-01-29 14:31:57 +00:00
ed Propagate MAC address in CIS tupple to dev/ed/ driver. 2000-01-21 03:08:46 +00:00
eisa Pre 4.0 tidy up. 2000-01-14 07:14:17 +00:00
en Remove #if NEN > 0 in the name of FreeBSD - it's not required as config 2000-01-29 14:38:04 +00:00
ep Fix a bug in the last commit. >> 4 instead of >> 8. *bap* 2000-01-23 08:46:21 +00:00
ex Pre 4.0 tidy up. 2000-01-14 07:14:17 +00:00
fb Remove #include "vga.h" and #if NVGA > 0 as it's implied by config. 2000-01-29 14:43:47 +00:00
fdc Futher cleanup.. "device_print_prettyname(); printf()" -> device_printf() 2000-01-08 09:33:09 +00:00
fe Make release is now falling over in if_fe.c due to Warner's pccard changes: 1999-10-25 17:04:17 +00:00
fxp Make the fxp driver work on alpha, rather than panic the machine on boot 1999-09-30 19:03:12 +00:00
hea Remove un-needed #include's. 2000-01-17 20:49:59 +00:00
hfa Ensure that DMA mappings are freed in error situations. 2000-01-15 21:01:04 +00:00
ic $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ida Revamp the devstat priority system. All disks now have the same priority. 1999-12-08 04:45:23 +00:00
ie Remove #if NIE > 0 test, it's guaranteed to be true by config. 2000-01-29 14:41:52 +00:00
iicbus Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
isp There seems to be some problems, particularly on alpha, with 2000-01-21 20:54:22 +00:00
joy Add ADS7182 as a known Joystick. 2000-01-18 08:38:35 +00:00
kbd Use config's conditional compilation rather than using #ifdefs that make 2000-01-29 15:08:56 +00:00
lnc Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some 2000-01-29 16:17:36 +00:00
mc146818
mca Implement BUS_{GET,SET,DELETE}_RESOURCE methods. 2000-01-13 09:01:46 +00:00
mcd Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some 2000-01-29 16:17:36 +00:00
md Initialize type correctly. 1999-12-01 10:20:21 +00:00
mii Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
mlx Fix the firmware build number output (again). 1999-12-25 01:45:22 +00:00
mse Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some 2000-01-29 16:17:36 +00:00
pccard Propagate MAC address in CIS tupple to dev/ed/ driver. 2000-01-21 03:08:46 +00:00
pcf Port of ppbus standalone framework to the newbus system. 2000-01-14 00:18:06 +00:00
pci Spell "pci_delete_resource" correctly. 2000-02-01 18:02:12 +00:00
pcic Add some comments about things that have become bad as I've been 2000-01-10 06:17:27 +00:00
pdq Pre 4.0 tidy up. 2000-01-14 07:14:17 +00:00
ppbus Fix system hang when printer locks on missing paper 2000-02-08 21:46:27 +00:00
ppc Remove #include "ppc.h" and #if NPPC > 0 - this is always true as it is 2000-01-29 14:02:30 +00:00
rc Remove #if NFOO > 0 (it's not required in most cases) and also where it 2000-01-29 16:00:34 +00:00
rp Introduce ttyread() and ttywrite() which do the canonical thing. 1999-09-28 11:45:31 +00:00
scd Remove #if NFOO > 0 (it's not required in most cases) and also where it 2000-01-29 16:00:34 +00:00
sf Modify the Adaptec "starfire" driver to reset the PHY on the MII bus 1999-12-05 20:02:45 +00:00
si Always leave SP_DCEN on (monitor DCD). Otherwise the firmware *really* 2000-01-25 16:45:54 +00:00
sio "Completed" the previous fix. Return ENOMEM on memory allocation failure 2000-01-29 03:02:55 +00:00
sk Call sk_start() at the end of sk_intr() if there's packets in the 1999-09-25 04:50:27 +00:00
smbus Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
sn Don't execute MAC address initialization for non-pccard sn devices. 2000-01-22 17:24:16 +00:00
snp Remove cdevsw_add() - the make_dev() calls are already there. 1999-11-18 06:39:47 +00:00
sound Tidy up stray or bogus #if NFOO > 0 and #include "foo.h". 2000-01-29 18:48:30 +00:00
speaker Remove #if NFOO > 0 (it's not required in most cases) and also where it 2000-01-29 16:00:34 +00:00
sr Remove definition of the unimplemented "control" hook. 2000-01-21 01:39:40 +00:00
streams Rename remove_dev() to destroy_dev(). 1999-11-08 07:44:01 +00:00
sym - Fix an issue that paniced the machine in data overrun 2000-01-28 20:11:32 +00:00
syscons Use config's conditional compilation rather than using #ifdefs that make 2000-01-29 15:08:56 +00:00
ti Add the vendor/device ID for the Farallon PN9000SX gigabit ethernet 2000-01-18 00:26:29 +00:00
tx Change incorrect NULLs to 0s 1999-12-21 11:14:12 +00:00
usb Add PCI Id's for i810 chipsets. 2000-02-07 12:50:33 +00:00
vinum Give vn_isdisk() a second argument where it can return a suitable errno. 2000-01-10 12:04:27 +00:00
vn Fix a panic when doing non-multiples of PAGE_SIZE or misaligned transfers 1999-12-28 07:32:34 +00:00
vr Change contigmalloc() lower memory bound from 1MB to 0 to improve 1999-09-25 17:29:02 +00:00
vx Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not 2000-01-29 14:50:32 +00:00
wi Add support for WEP (encryption) for silver and gold WaveLAN/IEEE turbo cards. 2000-02-02 17:59:13 +00:00
wl Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
xe Remove #if 0'ed reference to isa_device->id_alive 2000-01-23 18:21:20 +00:00