Bug 29520

Summary: Enable tagged ATA for IBM 60GXP HDD (IC35L0[12346]0AVER07)
Product: Base System Reporter: Artem Belevich <art>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-PRERELEASE   
Hardware: Any   
OS: Any   

Description Artem Belevich 2001-08-07 23:50:01 UTC
According to http://www.storage.ibm.com/hdd/desk/ds60gxp.htm 
IBM 60GXP HDD has support for tagged ATA commands. At this moment FreeBSD only enables tagged ATA commands for IBM-DPTA* and IBM-DTLA* (34GXP,37GP,40GV,75GXP) drives. 60GXP has different IDE model identifier and therefore FreeBSD does not enable tagged ATA support for the drive.

Fix: 

dev/ata/ata-disk.c:
static int
ad_tagsupported(struct ad_softc *adp)
{
-    const char *drives[] = {"IBM-DPTA", "IBM-DTLA", NULL};
+    const char *drives[] = {"IBM-DPTA", "IBM-DTLA", "IC35L0", NULL};

    int i = 0;
How-To-Repeat: /boot/loader.conf: hw.ata.tags="1"
Reboot machine. 
#dmesg | grep ad0
ad0: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata0-master UDMA33

Should be:
ad0: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata0-master tagged UDMA33
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-08-08 08:43:21 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Over to our ATA codebase maintainer. 
Soren, this one looks both simple and promising :)
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 09:53:47 UTC
State Changed
From-To: open->closed

Support for this has been added both to -current and -stable.