Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 11:25:10 -0700 (PDT)
From:      Søren Schmidt <sos@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ata ata-pci.c
Message-ID:  <200210081825.g98IPAf6076545@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sos         2002/10/08 11:25:10 PDT

  Modified files:
    sys/dev/ata          ata-pci.c 
  Log:
  Fix for the panic when using a Promise TX2.
  
  The problem is that the code does a check for the granparent of
  the Promise chip, if this is a bridge of the right type, we have
  a TX4 on our hands, and need to handle that ones "issues".
  Now the grandparent check cause subtle bugs in the newbus system,
  mainly that pci_get_devid doesn't return an error value.
  This patch works around the issue by using BUS_READ_IVAR() instead.
  
  Revision  Changes    Path
  1.50      +22 -15    src/sys/dev/ata/ata-pci.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210081825.g98IPAf6076545>