if_epreg.h (30760) | if_epreg.h (35256) |
---|---|
1/* 2 * Copyright (c) 1993 Herb Peyerl (hpeyerl@novatel.ca) All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: 1. Redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer. 2. The name 8 * of the author may not be used to endorse or promote products derived from --- 17 unchanged lines hidden (view full) --- 26 Modified by: Andres Vega Garcia 27 28 INRIA - Sophia Antipolis, France 29 e-mail: avega@sophia.inria.fr 30 finger: avega@pax.inria.fr 31 32 */ 33/* | 1/* 2 * Copyright (c) 1993 Herb Peyerl (hpeyerl@novatel.ca) All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: 1. Redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer. 2. The name 8 * of the author may not be used to endorse or promote products derived from --- 17 unchanged lines hidden (view full) --- 26 Modified by: Andres Vega Garcia 27 28 INRIA - Sophia Antipolis, France 29 e-mail: avega@sophia.inria.fr 30 finger: avega@pax.inria.fr 31 32 */ 33/* |
34 * $Id: if_epreg.h,v 1.21 1997/10/14 06:56:09 itojun Exp $ | 34 * $Id: if_epreg.h,v 1.22 1997/10/27 06:15:10 joerg Exp $ |
35 * 36 * Promiscuous mode added and interrupt logic slightly changed 37 * to reduce the number of adapter failures. Transceiver select 38 * logic changed to use value from EEPROM. Autoconfiguration 39 * features added. 40 * Done by: 41 * Serge Babkin 42 * Chelindbank (Chelyabinsk, Russia) --- 59 unchanged lines hidden (view full) --- 102#define EEPROMSIZE 0x40 103#define MAX_EEPROMBUSY 1000 104#define EP_LAST_TAG 0xd7 105#define EP_MAX_BOARDS 16 106/* 107 * This `ID' port is a mere hack. There's currently no chance to register 108 * it with config's idea of the ports that are in use. 109 * | 35 * 36 * Promiscuous mode added and interrupt logic slightly changed 37 * to reduce the number of adapter failures. Transceiver select 38 * logic changed to use value from EEPROM. Autoconfiguration 39 * features added. 40 * Done by: 41 * Serge Babkin 42 * Chelindbank (Chelyabinsk, Russia) --- 59 unchanged lines hidden (view full) --- 102#define EEPROMSIZE 0x40 103#define MAX_EEPROMBUSY 1000 104#define EP_LAST_TAG 0xd7 105#define EP_MAX_BOARDS 16 106/* 107 * This `ID' port is a mere hack. There's currently no chance to register 108 * it with config's idea of the ports that are in use. 109 * |
110 * "After the automatic configuration is completed, the IDS is in it's initial | 110 * "After the automatic configuration is completed, the IDS is in its initial |
111 * state (ID-WAIT), and it monitors all write access to I/O port 01x0h, where 112 * 'x' is any hex digit. If a zero is written to any one of these ports, then 113 * that address is remembered and becomes the ID port. A second zero written 114 * to that port resets the ID sequence to its initial state. The IDS watches 115 * for the ID sequence to be written to the ID port." 116 * 117 * We prefer 0x110 over 0x100 so to not conflict with the Plaque&Pray 118 * ports. --- 345 unchanged lines hidden --- | 111 * state (ID-WAIT), and it monitors all write access to I/O port 01x0h, where 112 * 'x' is any hex digit. If a zero is written to any one of these ports, then 113 * that address is remembered and becomes the ID port. A second zero written 114 * to that port resets the ID sequence to its initial state. The IDS watches 115 * for the ID sequence to be written to the ID port." 116 * 117 * We prefer 0x110 over 0x100 so to not conflict with the Plaque&Pray 118 * ports. --- 345 unchanged lines hidden --- |