Date: Tue, 19 Oct 2004 16:19:56 +0400 (MSD) From: Andrew Belashov <bel@orel.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/72871: [patch] kernel will not recognize PCCard CD-ROM drive Message-ID: <200410191219.i9JCJu5o057897@white.orel.ru> Resent-Message-ID: <200410191220.i9JCKJkM051241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410191219.i9JCJu5o057897>