if_epreg.h (55834) | if_epreg.h (63379) |
---|---|
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 --- 5 unchanged lines hidden (view full) --- 14 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 15 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 16 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 17 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 18 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 19 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 20 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 21 * | 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 --- 5 unchanged lines hidden (view full) --- 14 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 15 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 16 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 17 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 18 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 19 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 20 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 21 * |
22 * $FreeBSD: head/sys/dev/ep/if_epreg.h 55834 2000-01-12 06:42:49Z mdodd $ | 22 * $FreeBSD: head/sys/dev/ep/if_epreg.h 63379 2000-07-18 06:37:08Z mdodd $ |
23 */ 24 25/* 26 * DELAY_MULTIPLE: How much to boost "base" delays, except 27 * for the inter-bit delays in get_eeprom_data. A cyrix Media GX needed this. 28 */ 29#define DELAY_MULTIPLE 10 30#define BIT_DELAY_MULTIPLE 10 --- 63 unchanged lines hidden (view full) --- 94#define EEPROM_NODE_ADDR_1 0x1 /* Word */ 95#define EEPROM_NODE_ADDR_2 0x2 /* Word */ 96#define EEPROM_PROD_ID 0x3 /* 0x9[0-f]50 */ 97#define EEPROM_MFG_DATE 0x4 /* Manufacturing date */ 98#define EEPROM_MFG_DIVSION 0x5 /* Manufacturing division */ 99#define EEPROM_MFG_PRODUCT 0x6 /* Product code */ 100#define EEPROM_MFG_ID 0x7 /* 0x6d50 */ 101#define EEPROM_ADDR_CFG 0x8 /* Base addr */ | 23 */ 24 25/* 26 * DELAY_MULTIPLE: How much to boost "base" delays, except 27 * for the inter-bit delays in get_eeprom_data. A cyrix Media GX needed this. 28 */ 29#define DELAY_MULTIPLE 10 30#define BIT_DELAY_MULTIPLE 10 --- 63 unchanged lines hidden (view full) --- 94#define EEPROM_NODE_ADDR_1 0x1 /* Word */ 95#define EEPROM_NODE_ADDR_2 0x2 /* Word */ 96#define EEPROM_PROD_ID 0x3 /* 0x9[0-f]50 */ 97#define EEPROM_MFG_DATE 0x4 /* Manufacturing date */ 98#define EEPROM_MFG_DIVSION 0x5 /* Manufacturing division */ 99#define EEPROM_MFG_PRODUCT 0x6 /* Product code */ 100#define EEPROM_MFG_ID 0x7 /* 0x6d50 */ 101#define EEPROM_ADDR_CFG 0x8 /* Base addr */ |
102# define ADDR_CFG_EISA 0x1f 103# define ADDR_CFG_MASK 0x1f |
|
102#define EEPROM_RESOURCE_CFG 0x9 /* IRQ. Bits 12-15 */ 103#define EEPROM_OEM_ADDR0 0xa 104#define EEPROM_OEM_ADDR1 0xb 105#define EEPROM_OEM_ADDR2 0xc 106#define EEPROM_SOFTINFO 0xd 107#define EEPROM_COMPAT 0xe 108#define EEPROM_SOFTINFO2 0xf 109#define EEPROM_CAP 0x10 --- 323 unchanged lines hidden --- | 104#define EEPROM_RESOURCE_CFG 0x9 /* IRQ. Bits 12-15 */ 105#define EEPROM_OEM_ADDR0 0xa 106#define EEPROM_OEM_ADDR1 0xb 107#define EEPROM_OEM_ADDR2 0xc 108#define EEPROM_SOFTINFO 0xd 109#define EEPROM_COMPAT 0xe 110#define EEPROM_SOFTINFO2 0xf 111#define EEPROM_CAP 0x10 --- 323 unchanged lines hidden --- |