> Date: Fri, 3 May 2019 01:38:06 -0700 (MST)
> From: Corsaire01 <stranche+open...@free.fr>
> 
> Since it cost only a few bucks and I could have same-day delivery I bought a
> Intel 82575EB based card.
> 
> This time it works !
> 
> here is the output:
> 
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel 82575EB" rev 0x01: msi, address
> 00:1b:21:23:08:0b
> em1 at pci1 dev 0 function 1 "Intel 82575EB" rev 0x01: msi, address
> 00:1b:21:23:08:0a

Right.  That suggests that "classic" INTx interrupts don'tr work
correctly (anymore).  I'll have a look to see if I can track this
down.

Was the other em(4) a dual port card as well?

> # pcidump -v
> Domain /dev/pci0:
>  0:0:0: Marvell ARMADA 7K/8K Root Complex
>         0x0000: Vendor ID: 11ab, Product ID: 0110
>         0x0004: Command: 0007, Status: 0010
>         0x0008: Class: 06 Bridge, Subclass: 04 PCI,
>                 Interface: 00, Revision: 00
>         0x000c: BIST: 00, Header Type: 01, Latency Timer: 00,
>                 Cache Line Size: 00
>         0x0010: BAR mem 64bit addr: 0x0000000000000000/0x00100000
>         0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 31,
>                 Secondary Latency Timer: 00
>         0x001c: I/O Base: 01, I/O Limit: f1, Secondary Status: 2000
>         0x0020: Memory Base: c000, Memory Limit: dff0
>         0x0024: Prefetch Memory Base: fff1, Prefetch Memory Limit: 0001
>         0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
>         0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
>         0x0030: I/O Base Upper 16 Bits: 0000, I/O Limit Upper 16 Bits: 0000
>         0x0038: Expansion ROM Base Address: 00000000
>         0x003c: Interrupt Pin: 01, Line: ff, Bridge Control: 0000
>         0x0040: Capability 0x01: Power Management
>                 State: D0
>         0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
>                 Enabled: no
>         0x0070: Capability 0x10: PCI Express
>                 Link Speed: 2.5 / 8.0 GT/s, Link Width: x1 / x4
>         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
>         0x0158: Enhanced Capability 0x19: Secondary PCIe Capability
>         0x01b8: Enhanced Capability 0x17: TPH Requester
>         0x024c: Enhanced Capability 0x1e: L1 PM
>         0x00b0: Capability 0x11: Extended Message Signalled Interrupts
> (MSI-X)
>                 Enabled: no; table size 1 (BAR 0:0)
>  1:0:0: Intel 82575EB
>         0x0000: Vendor ID: 8086, Product ID: 10a7
>         0x0004: Command: 0006, Status: 0010
>         0x0008: Class: 02 Network, Subclass: 00 Ethernet,
>                 Interface: 00, Revision: 01
>         0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
>                 Cache Line Size: 10
>         0x0010: BAR mem 32bit addr: 0xc0000000/0x00020000
>         0x0014: BAR mem 32bit addr: 0x00000000/0x00100000
>         0x0018: BAR empty (00000000)
>         0x001c: BAR mem 32bit addr: 0x00000000/0x00004000
>         0x0020: BAR empty (00000000)
>         0x0024: BAR empty (00000000)
>         0x0028: Cardbus CIS: 00000000
>         0x002c: Subsystem Vendor ID: 8086 Product ID: 0000
>         0x0030: Expansion ROM Base Address: 00000000
>         0x0038: 00000000
>         0x003c: Interrupt Pin: 01 Line: 00 Min Gnt: 00 Max Lat: 00
>         0x0040: Capability 0x01: Power Management
>                 State: D0
>         0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
>                 Enabled: yes
>         0x0070: Capability 0x11: Extended Message Signalled Interrupts
> (MSI-X)
>                 Enabled: no; table size 20 (BAR 3:0)
>         0x00a0: Capability 0x10: PCI Express
>                 Link Speed: 2.5 / 2.5 GT/s, Link Width: x1 / x4
>         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
>         0x0140: Enhanced Capability 0x03: Device Serial Number
>  1:0:1: Intel 82575EB
>         0x0000: Vendor ID: 8086, Product ID: 10a7
>         0x0004: Command: 0006, Status: 0010
>         0x0008: Class: 02 Network, Subclass: 00 Ethernet,
>                 Interface: 00, Revision: 01
>         0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
>                 Cache Line Size: 10
>         0x0010: BAR mem 32bit addr: 0xc0020000/0x00020000
>         0x0014: BAR mem 32bit addr: 0x00000000/0x00100000
>         0x0018: BAR empty (00000000)
>         0x001c: BAR mem 32bit addr: 0x00000000/0x00004000
>         0x0020: BAR empty (00000000)
>         0x0024: BAR empty (00000000)
>         0x0028: Cardbus CIS: 00000000
>         0x002c: Subsystem Vendor ID: 8086 Product ID: 0000
>         0x0030: Expansion ROM Base Address: 00000000
>         0x0038: 00000000
>         0x003c: Interrupt Pin: 02 Line: 00 Min Gnt: 00 Max Lat: 00
>         0x0040: Capability 0x01: Power Management
>                 State: D0
>         0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
>                 Enabled: yes
>         0x0070: Capability 0x11: Extended Message Signalled Interrupts
> (MSI-X)
>                 Enabled: no; table size 5 (BAR 3:0)
>         0x00a0: Capability 0x10: PCI Express
>                 Link Speed: 2.5 / 2.5 GT/s, Link Width: x1 / x4
>         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
>         0x0140: Enhanced Capability 0x03: Device Serial Number
> 
> # pcidump -x
> Domain /dev/pci0:
>  0:0:0: Marvell ARMADA 7K/8K Root Complex
>         0x0000: 011011ab 00100007 06040000 00010000
>         0x0010: 00000004 00000000 001f0100 2000f101
>         0x0020: dff0c000 0001fff1 00000000 00000000
>         0x0030: 00000000 00000040 00000000 000001ff
>  1:0:0: Intel 82575EB
>         0x0000: 10a78086 00100006 02000001 00800010
>         0x0010: c0000000 00000000 00000000 00000000
>         0x0020: 00000000 00000000 00000000 00008086
>         0x0030: 00000000 00000040 00000000 00000100
>  1:0:1: Intel 82575EB
>         0x0000: 10a78086 00100006 02000001 00800010
>         0x0010: c0020000 00000000 00000000 00000000
>         0x0020: 00000000 00000000 00000000 00008086
>         0x0030: 00000000 00000040 00000000 00000200
> 
> 
> 
> --
> Sent from: 
> http://openbsd-archive.7691.n7.nabble.com/openbsd-port-arm-f206279.html
> 
> 

Reply via email to