Deleted Added
sdiff udiff text old ( 111481 ) new ( 111815 )
full compact
1/*
2 * Copyright (c) 1999 FreeBSD(98) port team.
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

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/pc98/cbus/gdc.c 111481 2003-02-25 13:30:50Z mux $
29 */
30
31#include "opt_gdc.h"
32#include "opt_fb.h"
33#include "opt_syscons.h"
34
35#include <sys/param.h>
36#include <sys/systm.h>

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

97static d_open_t gdcopen;
98static d_close_t gdcclose;
99static d_read_t gdcread;
100static d_write_t gdcwrite;
101static d_ioctl_t gdcioctl;
102static d_mmap_t gdcmmap;
103
104static struct cdevsw gdc_cdevsw = {
105 /* open */ gdcopen,
106 /* close */ gdcclose,
107 /* read */ gdcread,
108 /* write */ gdcwrite,
109 /* ioctl */ gdcioctl,
110 /* poll */ nopoll,
111 /* mmap */ gdcmmap,
112 /* strategy */ nostrategy,
113 /* name */ DRIVER_NAME,
114 /* maj */ -1,
115 /* dump */ nodump,
116 /* psize */ nopsize,
117 /* flags */ 0,
118};
119
120#endif /* FB_INSTALL_CDEV */
121
122static void
123gdc_identify(driver_t *driver, device_t parent)
124{
125 BUS_ADD_CHILD(parent, ISA_ORDER_SPECULATIVE, DRIVER_NAME, 0);

--- 1323 unchanged lines hidden ---