Deleted Added
full compact
psm.c (111748) psm.c (111815)
1/*-
2 * Copyright (c) 1992, 1993 Erik Forsberg.
3 * Copyright (c) 1996, 1997 Kazutaka YOKOTA.
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:

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

15 * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
16 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
17 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
18 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
19 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
20 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 *
1/*-
2 * Copyright (c) 1992, 1993 Erik Forsberg.
3 * Copyright (c) 1996, 1997 Kazutaka YOKOTA.
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:

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

15 * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
16 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
17 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
18 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
19 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
20 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 *
23 * $FreeBSD: head/sys/dev/atkbdc/psm.c 111748 2003-03-02 16:54:40Z des $
23 * $FreeBSD: head/sys/dev/atkbdc/psm.c 111815 2003-03-03 12:15:54Z phk $
24 */
25
26/*
27 * Ported to 386bsd Oct 17, 1992
28 * Sandi Donno, Computer Science, University of Cape Town, South Africa
29 * Please send bug reports to sandi@cs.uct.ac.za
30 *
31 * Thanks are also due to Rick Macklem, rick@snowhite.cis.uoguelph.ca -

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

321 PSM_DRIVER_NAME,
322 psm_methods,
323 sizeof(struct psm_softc),
324};
325
326#define CDEV_MAJOR 21
327
328static struct cdevsw psm_cdevsw = {
24 */
25
26/*
27 * Ported to 386bsd Oct 17, 1992
28 * Sandi Donno, Computer Science, University of Cape Town, South Africa
29 * Please send bug reports to sandi@cs.uct.ac.za
30 *
31 * Thanks are also due to Rick Macklem, rick@snowhite.cis.uoguelph.ca -

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

321 PSM_DRIVER_NAME,
322 psm_methods,
323 sizeof(struct psm_softc),
324};
325
326#define CDEV_MAJOR 21
327
328static struct cdevsw psm_cdevsw = {
329 /* open */ psmopen,
330 /* close */ psmclose,
331 /* read */ psmread,
332 /* write */ nowrite,
333 /* ioctl */ psmioctl,
334 /* poll */ psmpoll,
335 /* mmap */ nommap,
336 /* strategy */ nostrategy,
337 /* name */ PSM_DRIVER_NAME,
338 /* maj */ CDEV_MAJOR,
339 /* dump */ nodump,
340 /* psize */ nopsize,
341 /* flags */ 0,
329 .d_open = psmopen,
330 .d_close = psmclose,
331 .d_read = psmread,
332 .d_ioctl = psmioctl,
333 .d_poll = psmpoll,
334 .d_name = PSM_DRIVER_NAME,
335 .d_maj = CDEV_MAJOR,
342};
343
344/* debug message level */
345static int verbose = PSM_DEBUG;
346
347/* device I/O routines */
348static int
349enable_aux_dev(KBDC kbdc)

--- 2617 unchanged lines hidden ---
336};
337
338/* debug message level */
339static int verbose = PSM_DEBUG;
340
341/* device I/O routines */
342static int
343enable_aux_dev(KBDC kbdc)

--- 2617 unchanged lines hidden ---