Subject: AW: AW: UltraDMA confusion?!
To: 'Chris Gilbert' <chris@dokein.co.uk>
From: Dennis den Brok <roole@gmx.net>
List: current-users
Date: 09/10/2003 21:35:31
> > As far as I can see, I have the right cable. ;)
> > Further, both Windows XP Professional and NetBSD 1.6.1 tell=20
> they are=20
> > actually using UDMA100, so I guess it's not a problem with=20
> > pre-operating system configuration. The only obvious difference=20
> > between the boot messages is that 1.6.1 calls the=20
> ide-controller "SiS=20
> > 5597/5598" while 1.6Z tells about a "SiS 650", but any numbers are=20
> > identical (revision etc), so I suppose that's not the point.
>=20
> You might want to try using pcictl to get a list of the pci=20
> devices, and then dump the errant looking device in both=20
> -current and 1.6.1 see what the differences are between the=20
> lists, something like pcictl pci0 list, followed by pcictl=20
> pci0 list -d devicenum

Well, at least there is a difference, but I'm afraid I do not have a =
clue
how to interpret it. Maybe anyone on these lists has got an idea? Here's =
the
difference, the first line being from 1.6Z pcictl-output, the latter =
from
1.6.1 (I hope this is not just version information ;)):

69c69
<     0x40: 0x00008731 0x00008731 0x11e60158 0x02000200
---
>     0x40: 0x00008301 0x00008301 0x11e60158 0x02000200



The complete output from the flawlessly-working 1.6.1 looks like that:

PCI configuration registers:
  Common header:
    0x00: 0x55131039 0x00000005 0x010180d0 0x00808000

    Vendor Name: Silicon Integrated System (0x1039)
    Device Name: 5597/5598 IDE controller (0x5513)
    Command register: 0x0005
      I/O space accesses: on
      Memory space accesses: off
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0000
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: fast (0x0)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: IDE (0x01)
    Interface: 0x80
    Revision ID: 0xd0
    BIST: 0x00
    Header Type: 0x00+multifunction (0x80)
    Latency Timer: 0x80
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x0000ff01 0x00000000 0x00000000 0x55131039
    0x30: 0x00000000 0x00000000 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      type: i/o
      base: 0x0000ff00, not sized
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x1039
    Subsystem ID: 0x5513
    Expansion ROM Base Address: 0x00000000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Device-dependent header:
    0x40: 0x00008301 0x00008301 0x11e60158 0x02000200
    0x50: 0x06010001 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000