Deleted Added
full compact
atkbdc_isa.c (45723) atkbdc_isa.c (46729)
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

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

18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
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

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

18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $Id: atkbdc_isa.c,v 1.1 1999/01/23 16:53:27 dfr Exp $
26 * $Id: atkbdc_isa.c,v 1.2 1999/04/16 23:39:15 peter Exp $
27 */
28
29#include "atkbdc.h"
30#include "opt_kbd.h"
31
32#if NATKBDC > 0
33
34#include <sys/param.h>

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

200atkbdc_print_child(device_t bus, device_t dev)
201{
202 atkbdc_device_t *kbdcdev;
203
204 kbdcdev = (atkbdc_device_t *)device_get_ivars(dev);
205
206 if (kbdcdev->flags != 0)
207 printf(" flags 0x%x", kbdcdev->flags);
27 */
28
29#include "atkbdc.h"
30#include "opt_kbd.h"
31
32#if NATKBDC > 0
33
34#include <sys/param.h>

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

200atkbdc_print_child(device_t bus, device_t dev)
201{
202 atkbdc_device_t *kbdcdev;
203
204 kbdcdev = (atkbdc_device_t *)device_get_ivars(dev);
205
206 if (kbdcdev->flags != 0)
207 printf(" flags 0x%x", kbdcdev->flags);
208 if (kbdcdev->irq != -1)
209 printf(" irq %d", kbdcdev->irq);
208
209 printf(" on %s%d", device_get_name(bus), device_get_unit(bus));
210}
211
212static int
213atkbdc_read_ivar(device_t bus, device_t dev, int index, u_long *val)
214{
215 atkbdc_device_t *ivar;

--- 43 unchanged lines hidden ---
210
211 printf(" on %s%d", device_get_name(bus), device_get_unit(bus));
212}
213
214static int
215atkbdc_read_ivar(device_t bus, device_t dev, int index, u_long *val)
216{
217 atkbdc_device_t *ivar;

--- 43 unchanged lines hidden ---