vga.c (718cf2ccb9956613756ab15d7a0e28f2c8e91cab) vga.c (9a52756044676370f20527b85d450d5fc3ac32e5)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
5 * Copyright (c) 1992-1998 Søren Schmidt
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

142vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, int flag,
143 struct thread *td)
144{
145 return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, td);
146}
147
148int
149vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_ooffset_t offset,
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
5 * Copyright (c) 1992-1998 Søren Schmidt
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

142vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, int flag,
143 struct thread *td)
144{
145 return genfbioctl(&sc->gensc, sc->adp, cmd, arg, flag, td);
146}
147
148int
149vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_ooffset_t offset,
150 vm_offset_t *paddr, int prot, vm_memattr_t *memattr)
150 vm_paddr_t *paddr, int prot, vm_memattr_t *memattr)
151{
152 return genfbmmap(&sc->gensc, sc->adp, offset, paddr, prot, memattr);
153}
154
155#endif /* FB_INSTALL_CDEV */
156
157/* LOW-LEVEL */
158

--- 2961 unchanged lines hidden ---
151{
152 return genfbmmap(&sc->gensc, sc->adp, offset, paddr, prot, memattr);
153}
154
155#endif /* FB_INSTALL_CDEV */
156
157/* LOW-LEVEL */
158

--- 2961 unchanged lines hidden ---