sio_puc.c (123850) | sio_puc.c (123910) |
---|---|
1/*- 2 * Copyright (c) 2002 JF Hay. All rights reserved. 3 * Copyright (c) 2001 M. Warner Losh. 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 --- 10 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002 JF Hay. All rights reserved. 3 * Copyright (c) 2001 M. Warner Losh. 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 --- 10 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> |
27__FBSDID("$FreeBSD: head/sys/dev/sio/sio_puc.c 123850 2003-12-26 04:30:01Z imp $"); | 27__FBSDID("$FreeBSD: head/sys/dev/sio/sio_puc.c 123910 2003-12-27 19:47:10Z imp $"); |
28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/bus.h> 32#include <sys/conf.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/malloc.h> --- 11 unchanged lines hidden (view full) --- 47 48static int sio_puc_attach(device_t dev); 49static int sio_puc_probe(device_t dev); 50 51static device_method_t sio_puc_methods[] = { 52 /* Device interface */ 53 DEVMETHOD(device_probe, sio_puc_probe), 54 DEVMETHOD(device_attach, sio_puc_attach), | 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/bus.h> 32#include <sys/conf.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/malloc.h> --- 11 unchanged lines hidden (view full) --- 47 48static int sio_puc_attach(device_t dev); 49static int sio_puc_probe(device_t dev); 50 51static device_method_t sio_puc_methods[] = { 52 /* Device interface */ 53 DEVMETHOD(device_probe, sio_puc_probe), 54 DEVMETHOD(device_attach, sio_puc_attach), |
55 DEVMETHOD(device_detach, siodetach), |
|
55 56 { 0, 0 } 57}; 58 59static driver_t sio_puc_driver = { 60 sio_driver_name, 61 sio_puc_methods, 62 0, --- 30 unchanged lines hidden --- | 56 57 { 0, 0 } 58}; 59 60static driver_t sio_puc_driver = { 61 sio_driver_name, 62 sio_puc_methods, 63 0, --- 30 unchanged lines hidden --- |