if_ex_isa.c (131248) | if_ex_isa.c (147256) |
---|---|
1/*- 2 * Copyright (c) 2000 Matthew N. Dodd 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Matthew N. Dodd 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/ex/if_ex_isa.c 131248 2004-06-28 16:38:53Z imp $"); | 29__FBSDID("$FreeBSD: head/sys/dev/ex/if_ex_isa.c 147256 2005-06-10 16:49:24Z brooks $"); |
30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/socket.h> 35 36#include <sys/module.h> 37#include <sys/bus.h> --- 253 unchanged lines hidden (view full) --- 291 * Fill in several fields of the softc structure: 292 * - I/O base address. 293 * - Hardware Ethernet address. 294 * - IRQ number (if not supplied in config file, read it from EEPROM). 295 * - Connector type. 296 */ 297 sc->irq_no = rman_get_start(sc->irq); 298 | 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/socket.h> 35 36#include <sys/module.h> 37#include <sys/bus.h> --- 253 unchanged lines hidden (view full) --- 291 * Fill in several fields of the softc structure: 292 * - I/O base address. 293 * - Hardware Ethernet address. 294 * - IRQ number (if not supplied in config file, read it from EEPROM). 295 * - Connector type. 296 */ 297 sc->irq_no = rman_get_start(sc->irq); 298 |
299 ex_get_address(sc, sc->arpcom.ac_enaddr); | 299 ex_get_address(sc, sc->enaddr); |
300 301 temp = ex_eeprom_read(sc, EE_W0); 302 device_printf(sc->dev, "%s config, %s bus, ", 303 (temp & EE_W0_PNP) ? "PnP" : "Manual", 304 (temp & EE_W0_BUS16) ? "16-bit" : "8-bit"); 305 306 temp = ex_eeprom_read(sc, EE_W6); 307 printf("board id 0x%03x, stepping 0x%01x\n", --- 38 unchanged lines hidden --- | 300 301 temp = ex_eeprom_read(sc, EE_W0); 302 device_printf(sc->dev, "%s config, %s bus, ", 303 (temp & EE_W0_PNP) ? "PnP" : "Manual", 304 (temp & EE_W0_BUS16) ? "16-bit" : "8-bit"); 305 306 temp = ex_eeprom_read(sc, EE_W6); 307 printf("board id 0x%03x, stepping 0x%01x\n", --- 38 unchanged lines hidden --- |