diff options
Diffstat (limited to 'drivers/char/ip2/i2hw.h')
-rw-r--r-- | drivers/char/ip2/i2hw.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/ip2/i2hw.h b/drivers/char/ip2/i2hw.h index 15fe04e748f4..8aa6e7ab8d5b 100644 --- a/drivers/char/ip2/i2hw.h +++ b/drivers/char/ip2/i2hw.h | |||
@@ -129,7 +129,6 @@ registers, use byte operations only. | |||
129 | //------------------------------------------------ | 129 | //------------------------------------------------ |
130 | // | 130 | // |
131 | #include "ip2types.h" | 131 | #include "ip2types.h" |
132 | #include "i2os.h" /* For any o.s., compiler, or host-related issues */ | ||
133 | 132 | ||
134 | //------------------------------------------------------------------------- | 133 | //------------------------------------------------------------------------- |
135 | // Manifests for the I/O map: | 134 | // Manifests for the I/O map: |
@@ -644,5 +643,10 @@ typedef union _loadHdrStr | |||
644 | #define ABS_BIGGEST_BOX 16 // Absolute the most ports per box | 643 | #define ABS_BIGGEST_BOX 16 // Absolute the most ports per box |
645 | #define ABS_MOST_PORTS (ABS_MAX_BOXES * ABS_BIGGEST_BOX) | 644 | #define ABS_MOST_PORTS (ABS_MAX_BOXES * ABS_BIGGEST_BOX) |
646 | 645 | ||
646 | #define I2_OUTSW(port, addr, count) outsw((port), (addr), (((count)+1)/2)) | ||
647 | #define I2_OUTSB(port, addr, count) outsb((port), (addr), (((count)+1))&-2) | ||
648 | #define I2_INSW(port, addr, count) insw((port), (addr), (((count)+1)/2)) | ||
649 | #define I2_INSB(port, addr, count) insb((port), (addr), (((count)+1))&-2) | ||
650 | |||
647 | #endif // I2HW_H | 651 | #endif // I2HW_H |
648 | 652 | ||