1/*-
2 * Copyright (c) 2002 Poul-Henning Kamp. 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 unmodified, this list of conditions, and the following
--- 8 unchanged lines hidden (view full) ---
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 * $FreeBSD: head/sys/dev/puc/puc_pccard.c 102751 2002-09-01 01:59:38Z jmallett $
26 */
27
28#include "opt_puc.h"
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/malloc.h>
36
37#include <machine/bus.h>
38#include <machine/resource.h>
39#include <sys/rman.h>
40
41#define PUC_ENTRAILS 1
42#include <dev/puc/pucvar.h>
43
44#include <dev/sio/sioreg.h>
45#include <dev/pccard/pccardvar.h>
46
47const struct puc_device_description rscom_devices = {
48
49 "RS-com 2 port",
50 NULL,
51 { 0, 0, 0, 0 },
52 { 0, 0, 0, 0 },
53 {
54 { PUC_PORT_TYPE_COM, 0x0, 0x00, DEFAULT_RCLK },
--- 56 unchanged lines hidden ---
2 * Copyright (c) 2002 Poul-Henning Kamp. 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 unmodified, this list of conditions, and the following
--- 8 unchanged lines hidden (view full) ---
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 * $FreeBSD: head/sys/dev/puc/puc_pccard.c 102751 2002-09-01 01:59:38Z jmallett $
26 */
27
28#include "opt_puc.h"
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/malloc.h>
36
37#include <machine/bus.h>
38#include <machine/resource.h>
39#include <sys/rman.h>
40
41#define PUC_ENTRAILS 1
42#include <dev/puc/pucvar.h>
43
44#include <dev/sio/sioreg.h>
45#include <dev/pccard/pccardvar.h>
46
47const struct puc_device_description rscom_devices = {
48
49 "RS-com 2 port",
50 NULL,
51 { 0, 0, 0, 0 },
52 { 0, 0, 0, 0 },
53 {
54 { PUC_PORT_TYPE_COM, 0x0, 0x00, DEFAULT_RCLK },
--- 56 unchanged lines hidden ---