1 .\" $NetBSD: gsckbc.4,v 1.1 2004/09/22 16:38:26 jkunz Exp $
3 .\" Copyright (c) 2002 Jochen Kunz.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. The name of Jochen Kunz may not be used to endorse or promote
15 .\" products derived from this software without specific prior
16 .\" written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY JOCHEN KUNZ
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JOCHEN KUNZ
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
34 .Nd GSC PS/2 keyboard and mouse interface
37 .Cd "pckbd* at gsckbc?"
42 device is a machine dependent front end to the
45 It attaches to the GSC PS/2 keyboard and mouse interface found in LASI chips.
48 .It "gsckbc_attach: can't map I/O space"
49 The driver was not able to map the device registers during attachment.
50 The device will not be usable.
51 .It "can't find master device"
52 An error occurred during attachment of the keyboard port so the mouse port
53 can't be attached too.
69 Actually the two PS/2 ports are a single device and share a single interrupt.
70 The firmware lists them as individual devices in the firmware device tree.
71 This illusion is kept to map the firmware device tree as close as possible
72 to the kernel device tree.
73 The first device is caled master, gets the interrupt and the other is the
75 Assumption: Master attaches first, gets the interrupt and has lower HPA.
76 So it is important that the master device, usually the keyboard port,
77 attaches first to make the slave, usually the mouse port, usable.