summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwohcivar.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2002-12-26 03:17:59 +0000
committersimokawa <simokawa@FreeBSD.org>2002-12-26 03:17:59 +0000
commit7020b89b47422e1b85b43d50af3247691c10bcc8 (patch)
tree24c2f3ab3349ce71dcd3c7c66ef961f07d7e2855 /sys/dev/firewire/fwohcivar.h
parentf4f1be9fbfe4a5b8041404f7cd60bb6b451e8f9c (diff)
downloadFreeBSD-src-7020b89b47422e1b85b43d50af3247691c10bcc8.zip
FreeBSD-src-7020b89b47422e1b85b43d50af3247691c10bcc8.tar.gz
firewire.c
- Fix permission of device node. fwochi.c, fwohcireg.h - Detect phy access failure correct way. - Set root hold-off bit before initiating bus reset. This should fix the problem with VIA6306. fwohcivar.h - Fix over-allocation of array. (fwohcivar.h) sbp.c - Return CAM_DEV_NOT_THERE rather than CAM_TID_INVALID to prevent retry.
Diffstat (limited to 'sys/dev/firewire/fwohcivar.h')
-rw-r--r--sys/dev/firewire/fwohcivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohcivar.h b/sys/dev/firewire/fwohcivar.h
index 356bb19..6b7c954 100644
--- a/sys/dev/firewire/fwohcivar.h
+++ b/sys/dev/firewire/fwohcivar.h
@@ -60,7 +60,7 @@ typedef struct fwohci_softc {
int flags;
#define FWOHCI_DBCH_FULL (1<<1)
int buf_offset;
- } arrq, arrs, atrq, atrs, it[OHCI_MAX_DMA_CH], ir[OHCI_MAX_DMA_CH];
+ } arrq, arrs, atrq, atrs, it[OHCI_DMA_ITCH], ir[OHCI_DMA_IRCH];
u_int maxrec;
u_int32_t *cromptr;
u_int32_t intmask;
OpenPOWER on IntegriCloud