From owner-freebsd-bugs Fri Oct 13 12:21:47 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA09883 for bugs-outgoing; Fri, 13 Oct 1995 12:21:47 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id MAA09878 for ; Fri, 13 Oct 1995 12:21:45 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14551(4)>; Fri, 13 Oct 1995 12:21:04 PDT Received: by crevenia.parc.xerox.com id <177475>; Fri, 13 Oct 1995 12:20:57 -0700 From: Bill Fenner To: bugs@freebsd.org Subject: sio does outb(4,0) while trying to disable interrupts Message-Id: <95Oct13.122057pdt.177475@crevenia.parc.xerox.com> Date: Fri, 13 Oct 1995 12:20:54 PDT Sender: owner-bugs@freebsd.org Precedence: bulk In sio's invasive attempt to disable interrupts on all potential serial ports (which is the cause of the recent Mach64 complaints), it also writes a 0 to port 4, which has nothing to do with any serial stuff as far as I can tell. likely_com_ports[] is 0 terminated, but the loop in sioprobe() uses sizeof() instead of looking for a terminator. Since the solution is really to make this sequence non-destructive, I won't supply a diff, but I thought that whoever is planning to fix the sio/mach64 problem should be aware of this detail. Bill