if_fpa.c (152296) | if_fpa.c (166914) |
---|---|
1/*- 2 * Copyright (c) 1995, 1996 Matt Thomas <matt@3am-software.com> 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 --- 11 unchanged lines hidden (view full) --- 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * 24 * 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1995, 1996 Matt Thomas <matt@3am-software.com> 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 --- 11 unchanged lines hidden (view full) --- 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * 24 * 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/pdq/if_fpa.c 152296 2005-11-11 07:36:14Z ru $"); | 28__FBSDID("$FreeBSD: head/sys/dev/pdq/if_fpa.c 166914 2007-02-23 19:34:52Z imp $"); |
29 30/* 31 * DEC PDQ FDDI Controller; code for BSD derived operating systems 32 * 33 * This module supports the DEC DEFPA PCI FDDI Controller 34 */ 35 36#include <sys/param.h> --- 115 unchanged lines hidden (view full) --- 152 ifp->if_xname, -1, 153 (void *)sc, PDQ_DEFPA); 154 if (sc->sc_pdq == NULL) { 155 device_printf(dev, "Initialization failed.\n"); 156 error = ENXIO; 157 goto bad; 158 } 159 | 29 30/* 31 * DEC PDQ FDDI Controller; code for BSD derived operating systems 32 * 33 * This module supports the DEC DEFPA PCI FDDI Controller 34 */ 35 36#include <sys/param.h> --- 115 unchanged lines hidden (view full) --- 152 ifp->if_xname, -1, 153 (void *)sc, PDQ_DEFPA); 154 if (sc->sc_pdq == NULL) { 155 device_printf(dev, "Initialization failed.\n"); 156 error = ENXIO; 157 goto bad; 158 } 159 |
160 error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET, | 160 error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET, NULL, |
161 pdq_pci_ifintr, dev, &sc->irq_ih); 162 if (error) { 163 device_printf(dev, "Failed to setup interrupt handler.\n"); 164 error = ENXIO; 165 goto bad; 166 } 167 168 pdq_ifattach(sc, sc->sc_pdq->pdq_hwaddr.lanaddr_bytes); --- 49 unchanged lines hidden --- | 161 pdq_pci_ifintr, dev, &sc->irq_ih); 162 if (error) { 163 device_printf(dev, "Failed to setup interrupt handler.\n"); 164 error = ENXIO; 165 goto bad; 166 } 167 168 pdq_ifattach(sc, sc->sc_pdq->pdq_hwaddr.lanaddr_bytes); --- 49 unchanged lines hidden --- |