Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Apr 2001 09:38:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Apr 2001 09:38:46 -0400 Received: from router-100M.swansea.linux.org.uk ([194.168.151.17]:62731 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Tue, 24 Apr 2001 09:36:51 -0400 Subject: Re: serial driver not properly detecting modem To: srwalter@yahoo.com (Steven Walter) Date: Tue, 24 Apr 2001 14:38:08 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: <20010423223847.A3945@hapablap.dyn.dhs.org> from "Steven Walter" at Apr 23, 2001 10:38:48 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > I've fixed this here merely by adding an entry to the PCI table of > serial.c for PCI_CLASS_COMMUNICATION_OTHER. Is this the best way to fix > this? Is there some reason that this shouldn't be done in general? If > not, I'd like to see it fix in the kernel proper. Most class other devices wont be 16x50 compatible. > It should be noted that the modem is listed in serial.c's pci_boards, > perhaps it would be best for the serial driver to list PCI_ID_ANY for a > class, and only use pci_boards to further identify serial ports? Or > would this be too inefficient to correct for a few misguided hardware > makers? Probably serial.c should look for class serial || (class_other && in table) - 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/