kern/72871: [patch] kernel will not recognize PCCard CD-ROM drive
Andrew Belashov
bel at orel.ru
Tue Oct 19 05:20:20 PDT 2004
>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 at 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:
More information about the freebsd-bugs
mailing list