sio_pci.c (110155) | sio_pci.c (111014) |
---|---|
1/* 2 * Copyright (c) 2001 M. Warner Losh. 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 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 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 * | 1/* 2 * Copyright (c) 2001 M. Warner Losh. 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 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 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 * $FreeBSD: head/sys/dev/sio/sio_pci.c 110155 2003-01-31 21:11:20Z phk $ | 24 * $FreeBSD: head/sys/dev/sio/sio_pci.c 111014 2003-02-16 18:05:54Z imp $ |
25 */ 26 27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/conf.h> 31#include <sys/kernel.h> 32#include <sys/lock.h> --- 12 unchanged lines hidden (view full) --- 45static int sio_pci_attach(device_t dev); 46static void sio_pci_kludge_unit(device_t dev); 47static int sio_pci_probe(device_t dev); 48 49static device_method_t sio_pci_methods[] = { 50 /* Device interface */ 51 DEVMETHOD(device_probe, sio_pci_probe), 52 DEVMETHOD(device_attach, sio_pci_attach), | 25 */ 26 27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/conf.h> 31#include <sys/kernel.h> 32#include <sys/lock.h> --- 12 unchanged lines hidden (view full) --- 45static int sio_pci_attach(device_t dev); 46static void sio_pci_kludge_unit(device_t dev); 47static int sio_pci_probe(device_t dev); 48 49static device_method_t sio_pci_methods[] = { 50 /* Device interface */ 51 DEVMETHOD(device_probe, sio_pci_probe), 52 DEVMETHOD(device_attach, sio_pci_attach), |
53 DEVMETHOD(device_detach, siodetach), |
|
53 54 { 0, 0 } 55}; 56 57static driver_t sio_pci_driver = { 58 sio_driver_name, 59 sio_pci_methods, 60 0, --- 97 unchanged lines hidden --- | 54 55 { 0, 0 } 56}; 57 58static driver_t sio_pci_driver = { 59 sio_driver_name, 60 sio_pci_methods, 61 0, --- 97 unchanged lines hidden --- |