From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 19 12:20:20 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 212FF16A4CE for ; Tue, 19 Oct 2004 12:20:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E0943D49 for ; Tue, 19 Oct 2004 12:20:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9JCKJNI051242 for ; Tue, 19 Oct 2004 12:20:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9JCKJkM051241; Tue, 19 Oct 2004 12:20:19 GMT (envelope-from gnats) Resent-Date: Tue, 19 Oct 2004 12:20:19 GMT Resent-Message-Id: <200410191220.i9JCKJkM051241@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Belashov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93FE616A4CE for ; Tue, 19 Oct 2004 12:20:06 +0000 (GMT) Received: from white.orel.ru (white.orel.ru [213.59.64.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF4243D49 for ; Tue, 19 Oct 2004 12:20:03 +0000 (GMT) (envelope-from bel@white.orel.ru) Received: from white.orel.ru (localhost [127.0.0.1]) by white.orel.ru (8.12.9/8.12.9) with ESMTP id i9JCJvOC057899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Oct 2004 16:19:58 +0400 (MSD) (envelope-from bel@white.orel.ru) Received: (from bel@localhost) by white.orel.ru (8.12.9/8.12.9/Submit) id i9JCJu5o057897; Tue, 19 Oct 2004 16:19:56 +0400 (MSD) Message-Id: <200410191219.i9JCJu5o057897@white.orel.ru> Date: Tue, 19 Oct 2004 16:19:56 +0400 (MSD) From: Andrew Belashov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/72871: [patch] kernel will not recognize PCCard CD-ROM drive X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Belashov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 12:20:20 -0000 >Number: 72871 >Category: kern >Synopsis: [patch] kernel will not recognize PCCard CD-ROM drive >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 19 12:20:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew Belashov >Release: FreeBSD 6.0-CURRENT i386 >Organization: JSC CenterTelecom >Environment: System: FreeBSD belnb.localdomain 6.0-CURRENT FreeBSD 6.0-CURRENT #38: Tue Oct 19 14:03:03 MSD 2004 bel@belnb.localdomain:/usr/obj/usr/src/sys/BELNBO i386 Hardware: Fujitsu FMV-Biblio NU13 notebook; TEAC CD-224E CD-ROM drive with "TEAC IDE Card/II" PCCard (PCMCIA card) aka "NinjaATA-". >Description: Kernel does not attach CD-ROM. >How-To-Repeat: Insert card. >Fix: Use this patch. --- ata-card.patch begins here --- --- sys/dev/ata/ata-card.c.orig Sun Oct 10 18:21:04 2004 +++ sys/dev/ata/ata-card.c Tue Oct 19 14:15:47 2004 @@ -91,7 +91,7 @@ ata_pccard_match(device_t dev) static int ata_pccard_locknoop(struct ata_channel *ch, int type) { - return 1; + return ch->unit; } static void --- ata-card.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: