vga_isa.c (9199c09a159c4e3e98c212d4eec1edc5252d9e33) | vga_isa.c (aa3d547d095ff07fdc39ffc5ae4c371844b504ab) |
---|---|
1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 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 --- 264 unchanged lines hidden (view full) --- 273 274static int 275isavga_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td) 276{ 277 return (vga_ioctl(dev, VGA_SOFTC(VGA_UNIT(dev)), cmd, arg, flag, td)); 278} 279 280static int | 1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 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 --- 264 unchanged lines hidden (view full) --- 273 274static int 275isavga_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td) 276{ 277 return (vga_ioctl(dev, VGA_SOFTC(VGA_UNIT(dev)), cmd, arg, flag, td)); 278} 279 280static int |
281isavga_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 282 int prot, vm_memattr_t *memattr) | 281isavga_mmap(struct cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int prot) |
283{ | 282{ |
284 return (vga_mmap(dev, VGA_SOFTC(VGA_UNIT(dev)), offset, paddr, prot, 285 memattr)); | 283 return (vga_mmap(dev, VGA_SOFTC(VGA_UNIT(dev)), offset, paddr, prot)); |
286} 287 288#endif /* FB_INSTALL_CDEV */ 289 290static device_method_t isavga_methods[] = { 291 DEVMETHOD(device_identify, isavga_identify), 292 DEVMETHOD(device_probe, isavga_probe), 293 DEVMETHOD(device_attach, isavga_attach), --- 90 unchanged lines hidden --- | 284} 285 286#endif /* FB_INSTALL_CDEV */ 287 288static device_method_t isavga_methods[] = { 289 DEVMETHOD(device_identify, isavga_identify), 290 DEVMETHOD(device_probe, isavga_probe), 291 DEVMETHOD(device_attach, isavga_attach), --- 90 unchanged lines hidden --- |