summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-05-07 20:08:21 +0000
committernate <nate@FreeBSD.org>1996-05-07 20:08:21 +0000
commit028122f31b6657ab082476fd4ddc762947572ae3 (patch)
treead089bff16bd180a1326ec443074d9bf43dc22b4
parentf18f0cf633d438c377390bf03175f756f7924506 (diff)
downloadFreeBSD-src-028122f31b6657ab082476fd4ddc762947572ae3.zip
FreeBSD-src-028122f31b6657ab082476fd4ddc762947572ae3.tar.gz
Augh, more typos.
(I hate *Sprint*, since the network is down it's hard to test things well.)
-rw-r--r--sys/i386/isa/psm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c
index f3c04d97..d05d4f2 100644
--- a/sys/i386/isa/psm.c
+++ b/sys/i386/isa/psm.c
@@ -71,12 +71,12 @@
#define PSM_OUTPUT_ACK 0x02 /* output acknowledge */
/* controller commands */
-#define PSM_ENABLE 0xa8 /* enable auxiliary port */
-#define PSM_DISABLE 0xa7 /* disable auxiliary port */
#define PSM_INT_ENABLE 0x47 /* enable controller interrupts */
#define PSM_INT_DISABLE 0x65 /* disable controller interrupts */
+#define PSM_DISABLE 0xa7 /* disable auxiliary port */
+#define PSM_ENABLE 0xa8 /* enable auxiliary port */
-/* m+use commands */
+/* mouse commands */
#define PSM_SET_SCALE11 0xe6 /* set 1:1 scaling */
#define PSM_SET_SCALE21 0xe7 /* set 2:1 scaling */
#define PSM_SET_RES 0xe8 /* set resolution */
@@ -142,9 +142,9 @@ static void
psm_write_dev(int ioport, u_char value)
{
psm_poll_status();
- outb(inport+PSM_CNTRL, 0xd4);
+ outb(ioport+PSM_CNTRL, 0xd4);
psm_poll_status();
- outb(inport+PSM_DATA, value);
+ outb(ioport+PSM_DATA, value);
}
static inline void
OpenPOWER on IntegriCloud