Deleted Added
full compact
sio_isa.c (146734) sio_isa.c (174116)
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.

--- 9 unchanged lines hidden (view full) ---

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
25#include <sys/cdefs.h>
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.

--- 9 unchanged lines hidden (view full) ---

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
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/sys/dev/sio/sio_isa.c 146734 2005-05-29 04:42:30Z nyan $");
26__FBSDID("$FreeBSD: head/sys/dev/sio/sio_isa.c 174116 2007-11-30 21:45:07Z peter $");
27
27
28#include "opt_sio.h"
29
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/bus.h>
31#include <sys/conf.h>
32#include <sys/kernel.h>
33#include <sys/lock.h>
34#include <sys/malloc.h>
35#include <sys/mutex.h>

--- 126 unchanged lines hidden (view full) ---

162static int
163sio_isa_attach(dev)
164 device_t dev;
165{
166 return (sioattach(dev, 0, 0UL));
167}
168
169DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0);
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/conf.h>
34#include <sys/kernel.h>
35#include <sys/lock.h>
36#include <sys/malloc.h>
37#include <sys/mutex.h>

--- 126 unchanged lines hidden (view full) ---

164static int
165sio_isa_attach(dev)
166 device_t dev;
167{
168 return (sioattach(dev, 0, 0UL));
169}
170
171DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0);
172#ifndef COM_NO_ACPI
170DRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0);
173DRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0);
174#endif