Deleted Added
full compact
vga_isa.c (46805) vga_isa.c (47618)
1/*-
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * Copyright (c) 1992-1998 S�ren Schmidt
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
3 * Copyright (c) 1992-1998 S�ren Schmidt
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $Id: vga_isa.c,v 1.7 1999/05/08 21:59:32 dfr Exp $
29 * $Id: vga_isa.c,v 1.8 1999/05/09 16:39:24 peter Exp $
30 */
31
32#include "vga.h"
33#include "opt_vga.h"
34#include "opt_fb.h"
35#include "opt_syscons.h" /* should be removed in the future, XXX */
36
37#if NVGA > 0

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

109
110#endif /* FB_INSTALL_CDEV */
111
112static int
113isavga_probe(device_t dev)
114{
115 isavga_softc_t *sc;
116
30 */
31
32#include "vga.h"
33#include "opt_vga.h"
34#include "opt_fb.h"
35#include "opt_syscons.h" /* should be removed in the future, XXX */
36
37#if NVGA > 0

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

109
110#endif /* FB_INSTALL_CDEV */
111
112static int
113isavga_probe(device_t dev)
114{
115 isavga_softc_t *sc;
116
117 /* No pnp support */
118 if (isa_get_vendorid(dev))
119 return (ENXIO);
120
117 device_set_desc(dev, "Generic ISA VGA");
118 sc = device_get_softc(dev);
119 return isavga_probe_unit(device_get_unit(dev), sc, isa_get_flags(dev));
120}
121
122static int
123isavga_attach(device_t dev)
124{

--- 2050 unchanged lines hidden ---
121 device_set_desc(dev, "Generic ISA VGA");
122 sc = device_get_softc(dev);
123 return isavga_probe_unit(device_get_unit(dev), sc, isa_get_flags(dev));
124}
125
126static int
127isavga_attach(device_t dev)
128{

--- 2050 unchanged lines hidden ---