Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759296AbXFGMYQ (ORCPT ); Thu, 7 Jun 2007 08:24:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755665AbXFGMYD (ORCPT ); Thu, 7 Jun 2007 08:24:03 -0400 Received: from mailgw4.ericsson.se ([193.180.251.62]:41790 "EHLO mailgw4.ericsson.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755636AbXFGMYA convert rfc822-to-8bit (ORCPT ); Thu, 7 Jun 2007 08:24:00 -0400 X-AuditID: c1b4fb3e-ae9ecbb0000061ca-44-4667f8dff4ad X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Subject: RE: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip Date: Thu, 7 Jun 2007 14:23:58 +0200 Message-ID: In-Reply-To: <200706051723.56436.bjorn.helgaas@hp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip Thread-Index: AcenyJ+XAlqYHhyQQD+3xkILXFiOXABNQF9w References: <7VXmfiOJ.1181030230.9946640.samuel@sortiz.org> <200706051723.56436.bjorn.helgaas@hp.com> From: "Linus Walleij (LD/EAB)" To: "Bjorn Helgaas" Cc: "Samuel Ortiz" , , , "Michal Piotrowski" , X-OriginalArrivalTime: 07 Jun 2007 12:23:58.0854 (UTC) FILETIME=[B95F5260:01C7A8FE] X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1473 Lines: 34 Bj?rn wrote: > Something's wrong with this strategy. The BIOS is telling us > that an SMCf010 device is present, active, and responds at io > ports 0x100-0x107 and 0x2e8-0x2ef. The fact that it happens > to be on the other side of an ISA or LPC bridge should be > immaterial to the OS driver. Yes, ideally. Yes of course it is wrong, or from a platonic perspective. If nobody wrote buggy BIOS:es there would be no problem. There is some history in the preconfigure functions: these come from the smcinit tool (see http://irda.sourceforge.net/smcinit/), the hacks target laptops where the (buggy) BIOS does not properly preconfigure the bridge. The assumption in the current code is that Toshiba laptops with this smscchip will have the problem, because they always had in the past... I have no idea how bridges on such laptops are really preconfigured, possibly with some special hacks to the (manufacturer-supplied-assumed) "driver CD" for Windows only that apply some low-level tweaks to the WinNT/XP boot process. All info an reverse-engineering on this subject is warmly welcomed. There are some troubles further related to issues due to laptops supporting both ACPI and APM too I think, never dug into it. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/