From owner-freebsd-current Tue Dec 29 08:08:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA14167 for freebsd-current-outgoing; Tue, 29 Dec 1998 08:08:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles247.castles.com [208.214.165.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA14147 for ; Tue, 29 Dec 1998 08:08:41 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id IAA00584; Tue, 29 Dec 1998 08:04:57 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812291604.IAA00584@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Kazutaka YOKOTA cc: Mike Smith , current@FreeBSD.ORG Subject: Re: future of syscons In-reply-to: Your message of "Wed, 30 Dec 1998 00:58:06 +0900." <199812291558.AAA16643@zodiac.mech.utsunomiya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Dec 1998 08:04:51 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> It is true that IRQ 1 is always assigned to the keyboard controller on > >> the AT motherboard and no device can claim it because IRQ 1 line is > >> not available in expansion slots. > >> > >> The PS/2 mouse interrupt IRQ 12 is another story. IRQ 12 is available > >> to ISA and PCI bus slots and you can assign it to a device! We > >> shouldn't make the keyboard controller code to claim IRQ 12 when > >> either 1) a PS/2 mouse is not detected, or 2) another device is using > >> or going to use IRQ 12. > > > >Sure; by all means disable the interrupt handler if a ps/2 mouse is not > >found, > > I think that "disabling the interrupt handler" is not enough, the IRQ > 12 resource must be released and made available to other devices to claim. Poor choice of words on my part; indeed, if there is no chance of a mouse being connected, IRQ 12 is free for other uses. In most cases, there will be PnP information available to support this decision. > # The PS/2 mouse port is generally not designed for "hot plugging". > # Thus, in general it is very little use reserving the IRQ 12 if the mouse > # is not detected at boot time; the mouse won't be connected later. Ok; I get the impression that many systems don't support hot-plugged PS/2 mice, so we can probably go with the same. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message