summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-08-01 04:51:21 +0000
committersimokawa <simokawa@FreeBSD.org>2003-08-01 04:51:21 +0000
commit5bab2bb89d4caf48c635844d0411ddcd00fd7052 (patch)
treee70886d1d7106731a492806e94c7d9bbdc6c8e55 /sys/dev/firewire/firewire.h
parenta1fbadfb8de71f817a03707900a9eac99e29c781 (diff)
downloadFreeBSD-src-5bab2bb89d4caf48c635844d0411ddcd00fd7052.zip
FreeBSD-src-5bab2bb89d4caf48c635844d0411ddcd00fd7052.tar.gz
Clean up fwdev.
Allocate iso DMA channel dynamically. This allows us to have more /dev/fw* than number of DMA channels for asyn. transactions and etc.
Diffstat (limited to 'sys/dev/firewire/firewire.h')
-rw-r--r--sys/dev/firewire/firewire.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/firewire.h b/sys/dev/firewire/firewire.h
index f90596f..b3ff169 100644
--- a/sys/dev/firewire/firewire.h
+++ b/sys/dev/firewire/firewire.h
@@ -47,7 +47,7 @@ struct fw_isochreq {
};
struct fw_isobufreq {
- struct {
+ struct fw_bufspec {
unsigned int nchunk;
unsigned int npacket;
unsigned int psize;
@@ -395,7 +395,7 @@ struct fw_crom_buf {
#define UNIT2MIN(x) (((x) & 0xff) << 8)
#define DEV2UNIT(x) ((dev2unit(x) & 0xff00) >> 8)
-#define DEV2DMACH(x) (dev2unit(x) & 0xff)
+#define DEV2SUB(x) (dev2unit(x) & 0xff)
#define FWMEM_FLAG 0x10000
#define DEV_FWMEM(x) (dev2unit(x) & FWMEM_FLAG)
OpenPOWER on IntegriCloud