From owner-freebsd-hardware@FreeBSD.ORG Thu Nov 17 23:58:43 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08ABE16A420; Thu, 17 Nov 2005 23:58:43 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id E60CE43D45; Thu, 17 Nov 2005 23:58:40 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jAHNwd8Z022988; Fri, 18 Nov 2005 10:58:39 +1100 Received: from epsplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jAHNwbAc028442; Fri, 18 Nov 2005 10:58:37 +1100 Date: Fri, 18 Nov 2005 10:58:36 +1100 (EST) From: Bruce Evans X-X-Sender: bde@epsplex.bde.org To: John Baldwin In-Reply-To: <200511171720.59551.jhb@freebsd.org> Message-ID: <20051118104058.N2073@epsplex.bde.org> References: <20051117050336.GB67653@svcolo.com> <200511171030.36633.jhb@freebsd.org> <20051117220358.GA65127@svcolo.com> <200511171720.59551.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Joe Rhett , hardware@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: com1 incorrectly associated with ttyd1, com2 with ttyd0 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 23:58:43 -0000 On Thu, 17 Nov 2005, John Baldwin wrote: > On Thursday 17 November 2005 05:03 pm, Joe Rhett wrote: >> We can't. Serial A is a 9pin serial port, and Serial B is the rj45 console >> port. This is how the motherboard is built. We need Serial B to be the >> console. >> >> /boot/device.hints clearly indicates that 3f8 should map to sio1. Why >> isn't it using these hints? > > What if you disable ACPI? I think the ACPI bus doesn't use the port > information to honor "wiring" requests but just reads the flags. ACPI me harder :-). If it doesn't match the port info then it probably gets the flags wrong too, by applying the flags intended for the port at 0x3f8 (intended unit 0) to the port that ends up as unit 0 (0x2f8 here). Console initialization uses the flags to decide the console port(s), so swapped flags probably give swapped console ports. Bruce