gdc.c (111481) | gdc.c (111815) |
---|---|
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 * | 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 $ | 28 * $FreeBSD: head/sys/pc98/cbus/gdc.c 111815 2003-03-03 12:15:54Z phk $ |
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 = { | 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, | 105 .d_open = gdcopen, 106 .d_close = gdcclose, 107 .d_read = gdcread, 108 .d_write = gdcwrite, 109 .d_ioctl = gdcioctl, 110 .d_mmap = gdcmmap, 111 .d_name = DRIVER_NAME, 112 .d_maj = -1, |
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 --- | 113}; 114 115#endif /* FB_INSTALL_CDEV */ 116 117static void 118gdc_identify(driver_t *driver, device_t parent) 119{ 120 BUS_ADD_CHILD(parent, ISA_ORDER_SPECULATIVE, DRIVER_NAME, 0); --- 1323 unchanged lines hidden --- |