cvs commit: src/sys/bus/firewire

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 8 08:51:42 PST 2004


dillon      2004/11/08 08:50:33 PST

DragonFly src repository

  Modified files:
    sys/bus/firewire     fwohci_pci.c 
  Log:
  Do not explicitly set PCIM_CMD_SERRESPEN or PCIM_CMD_PERRESPEN.  This was
  set in FreeBSD to try to catch device problems, but it looks like we actually
  found a device that blows up with an NMI during fwohci_init() so we no longer
  set these bits.  OpenBSD doesn't set it.
  
  My theory is that the device is not clearing its internal memory leaving
  some of it in a parity-adverse state, causing accesses to the uninitialized
  memory to fail.  Alternatively the hardware is just plain broken, but it
  seems to probe fine without the bit set so...
  
  Gabor's-hardware:
  AMD Athlon 64 3000+ based system.
  fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem
  0xd0000000-0xd0003fff,0xd0008000-0xd00087ff irq 11 at device 6.0 on pci0
  fwohci0: OHCI version 1.10 (ROM=1)
  fwohci0: No. of Isochronous channel is 4.
  fwohci0: EUI64 00:90:f5:00:00:32:10:37
  fwohci0: Phy 1394a available S400, 1 ports.
  fwohci0: Link S400, max_rec 2048 bytes.
  
  NMI-Reported-by: Gabor MICSKO <trey at xxxxxx>
  
  Revision  Changes    Path
  1.16      +15 -4     src/sys/bus/firewire/fwohci_pci.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwohci_pci.c.diff?r1=1.15&r2=1.16&f=u





More information about the Commits mailing list