Re: ATA driver cannot detect the Serial ATA disk in FreeBSD/AMD64-Current

From: Søren Schmidt <sos_at_DeepCore.dk>
Date: Thu, 01 Apr 2004 16:40:57 +0200
SungGON Yi. wrote:
> My system is consisted in Tyan S2885 opteron dual board and Seagate 7200.1 SATA
> disk with
> FreeBSD/AMD64 5.2-Current.
> 
> Old ata driver could detect the disk. Below the verbose message on bootstrap:

Please try this patch:

Index: ata-pci.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.c,v
retrieving revision 1.77
diff -u -r1.77 ata-pci.c
--- ata-pci.c   17 Mar 2004 17:50:27 -0000      1.77
+++ ata-pci.c   1 Apr 2004 14:40:00 -0000
_at__at_ -546,8 +546,6 _at__at_
      ch->device[MASTER].setmode = ctlr->setmode;
      ch->device[SLAVE].setmode = ctlr->setmode;
      ch->locking = ctlr->locking;
-    if (ch->reset)
-       ch->reset(ch);
      return ata_probe(dev);
  }


-- 
-Søren
Received on Thu Apr 01 2004 - 04:41:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC