sio.c (81793) | sio.c (82555) |
---|---|
1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/sys/dev/sio/sio.c 81793 2001-08-16 17:30:55Z imp $ | 33 * $FreeBSD: head/sys/dev/sio/sio.c 82555 2001-08-30 09:17:03Z msmith $ |
34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91 35 * from: i386/isa sio.c,v 1.234 36 */ 37 38#include "opt_comconsole.h" 39#include "opt_compat.h" 40#include "opt_ddb.h" 41#include "opt_sio.h" --- 3326 unchanged lines hidden (view full) --- 3368 siocntxwait(siogdbiobase); 3369 outb(siogdbiobase + com_data, c); 3370 siocnclose(&sp, siogdbiobase); 3371 splx(s); 3372} 3373#endif 3374 3375DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0); | 34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91 35 * from: i386/isa sio.c,v 1.234 36 */ 37 38#include "opt_comconsole.h" 39#include "opt_compat.h" 40#include "opt_ddb.h" 41#include "opt_sio.h" --- 3326 unchanged lines hidden (view full) --- 3368 siocntxwait(siogdbiobase); 3369 outb(siogdbiobase + com_data, c); 3370 siocnclose(&sp, siogdbiobase); 3371 splx(s); 3372} 3373#endif 3374 3375DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0); |
3376DRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0); |
|
3376#if NCARD > 0 3377DRIVER_MODULE(sio, pccard, sio_pccard_driver, sio_devclass, 0, 0); 3378#endif 3379#if NPCI > 0 3380DRIVER_MODULE(sio, pci, sio_pci_driver, sio_devclass, 0, 0); 3381DRIVER_MODULE(sio, cardbus, sio_pci_driver, sio_devclass, 0, 0); 3382#endif | 3377#if NCARD > 0 3378DRIVER_MODULE(sio, pccard, sio_pccard_driver, sio_devclass, 0, 0); 3379#endif 3380#if NPCI > 0 3381DRIVER_MODULE(sio, pci, sio_pci_driver, sio_devclass, 0, 0); 3382DRIVER_MODULE(sio, cardbus, sio_pci_driver, sio_devclass, 0, 0); 3383#endif |