diff options
author | ken <ken@FreeBSD.org> | 2001-03-16 22:20:19 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2001-03-16 22:20:19 +0000 |
commit | 8d74e08df53b4e20f79a31d6950d4faf882e0983 (patch) | |
tree | cc8c210e3d9f6f59b2fe6fe54f961fb48f74174b /sys/dev/aic/aic6360reg.h | |
parent | 4265a70a5f8db0542b59be3797c042d4e5698fef (diff) | |
download | FreeBSD-src-8d74e08df53b4e20f79a31d6950d4faf882e0983.zip FreeBSD-src-8d74e08df53b4e20f79a31d6950d4faf882e0983.tar.gz |
Fix a few things in the aic(4) driver:
- enable 10MHz (fast SCSI) operation on boards that support it. (only
aic6360 boards with fast SCSI enabled can do it)
- bounds check sync periods and offsets passed in from the transport layer
- tell the user which resource allocation failed (for the ISA probe) if we
weren't able to allocate an IRQ, DRQ or I/O port.
Diffstat (limited to 'sys/dev/aic/aic6360reg.h')
-rw-r--r-- | sys/dev/aic/aic6360reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/aic/aic6360reg.h b/sys/dev/aic/aic6360reg.h index 7dafac4..7e14f14 100644 --- a/sys/dev/aic/aic6360reg.h +++ b/sys/dev/aic/aic6360reg.h @@ -320,8 +320,10 @@ #define PORTA_PARITY(a) ((a) & 0x80) /* PORTB */ +#define PORTB_EXTTRAN(b)((b) & 1) #define PORTB_DISC(b) ((b) & 4) #define PORTB_SYNC(b) ((b) & 8) +#define PORTB_FSYNC(b) ((b) & 0x10) #define PORTB_BOOT(b) ((b) & 0x40) #define PORTB_DMA(b) ((b) & 0x80) |