From 31e25c2156328c1c0747ea60453db46db6476b72 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 27 Oct 1997 06:15:10 +0000 Subject: 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 --- sys/dev/ep/if_epreg.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'sys/dev/ep/if_epreg.h') 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. */ /* -- cgit v1.1