gdc.c (111815) | gdc.c (112569) |
---|---|
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 111815 2003-03-03 12:15:54Z phk $ | 28 * $FreeBSD: head/sys/pc98/cbus/gdc.c 112569 2003-03-25 00:07:06Z jake $ |
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> --- 350 unchanged lines hidden (view full) --- 387{ 388 gdc_softc_t *sc; 389 390 sc = GDC_SOFTC(GDC_UNIT(dev)); 391 return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, td); 392} 393 394static int | 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> --- 350 unchanged lines hidden (view full) --- 387{ 388 gdc_softc_t *sc; 389 390 sc = GDC_SOFTC(GDC_UNIT(dev)); 391 return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, td); 392} 393 394static int |
395gdcmmap(dev_t dev, vm_offset_t offset, vm_offset_t *paddr, int prot) | 395gdcmmap(dev_t dev, vm_offset_t offset, vm_paddr_t *paddr, int prot) |
396{ 397 gdc_softc_t *sc; 398 399 sc = GDC_SOFTC(GDC_UNIT(dev)); 400 return genfbmmap(&sc->gensc, sc->adp, offset, paddr, prot); 401} 402 403#endif /* FB_INSTALL_CDEV */ --- 1040 unchanged lines hidden --- | 396{ 397 gdc_softc_t *sc; 398 399 sc = GDC_SOFTC(GDC_UNIT(dev)); 400 return genfbmmap(&sc->gensc, sc->adp, offset, paddr, prot); 401} 402 403#endif /* FB_INSTALL_CDEV */ --- 1040 unchanged lines hidden --- |