sio_cbus.c (90011) | sio_cbus.c (92793) |
---|---|
1/* 2 * Copyright (c) 2001 Yoshihiro TAKAHASHI. 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 Yoshihiro TAKAHASHI. 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/pc98/cbus/sio_cbus.c 90011 2002-01-31 08:26:45Z nyan $ | 24 * $FreeBSD: head/sys/pc98/cbus/sio_cbus.c 92793 2002-03-20 12:22:31Z kato $ |
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> --- 4 unchanged lines hidden (view full) --- 37#include <machine/bus_pio.h> 38#include <machine/bus.h> 39#include <sys/timepps.h> 40 41#include <dev/sio/siovar.h> 42 43#include <isa/isavar.h> 44 | 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> --- 4 unchanged lines hidden (view full) --- 37#include <machine/bus_pio.h> 38#include <machine/bus.h> 39#include <sys/timepps.h> 40 41#include <dev/sio/siovar.h> 42 43#include <isa/isavar.h> 44 |
45static int sio_isa_attach __P((device_t dev)); 46static int sio_isa_probe __P((device_t dev)); | 45static int sio_isa_attach(device_t dev); 46static int sio_isa_probe(device_t dev); |
47 48static device_method_t sio_isa_methods[] = { 49 /* Device interface */ 50 DEVMETHOD(device_probe, sio_isa_probe), 51 DEVMETHOD(device_attach, sio_isa_attach), 52 53 { 0, 0 } 54}; --- 41 unchanged lines hidden --- | 47 48static device_method_t sio_isa_methods[] = { 49 /* Device interface */ 50 DEVMETHOD(device_probe, sio_isa_probe), 51 DEVMETHOD(device_attach, sio_isa_attach), 52 53 { 0, 0 } 54}; --- 41 unchanged lines hidden --- |