diff options
author | joerg <joerg@FreeBSD.org> | 1997-10-27 06:15:10 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-10-27 06:15:10 +0000 |
commit | 31e25c2156328c1c0747ea60453db46db6476b72 (patch) | |
tree | 9672035769b97b168ab5b713bf130b0960c91f7e /sys/dev/ep | |
parent | f5bda1588784a63df039bffa7824db1e91e93bbb (diff) | |
download | FreeBSD-src-31e25c2156328c1c0747ea60453db46db6476b72.zip FreeBSD-src-31e25c2156328c1c0747ea60453db46db6476b72.tar.gz |
Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other port
usage at 0x100. Quoted Justin's quotation from the manual as well, to
explain the technical background.
PR: kern/4559
Submitted by: Stephen J. Roznowski <sjr@home.net>
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_epreg.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h index b9d7105..237e5bf 100644 --- a/sys/dev/ep/if_epreg.h +++ b/sys/dev/ep/if_epreg.h @@ -31,7 +31,7 @@ */ /* - * $Id: if_epreg.h,v 1.20 1997/02/22 09:36:26 peter Exp $ + * $Id: if_epreg.h,v 1.21 1997/10/14 06:56:09 itojun Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -103,7 +103,21 @@ struct ep_board { #define MAX_EEPROMBUSY 1000 #define EP_LAST_TAG 0xd7 #define EP_MAX_BOARDS 16 -#define EP_ID_PORT 0x100 +/* + * This `ID' port is a mere hack. There's currently no chance to register + * it with config's idea of the ports that are in use. + * + * "After the automatic configuration is completed, the IDS is in it's initial + * state (ID-WAIT), and it monitors all write access to I/O port 01x0h, where + * 'x' is any hex digit. If a zero is written to any one of these ports, then + * that address is remembered and becomes the ID port. A second zero written + * to that port resets the ID sequence to its initial state. The IDS watches + * for the ID sequence to be written to the ID port." + * + * We prefer 0x110 over 0x100 so to not conflict with the Plaque&Pray + * ports. + */ +#define EP_ID_PORT 0x110 #define EP_IOSIZE 16 /* 16 bytes of I/O space used. */ /* |