On Sun, Jan 14, 2024 at 12:28:17PM -0800, Mike Larkin wrote:
> On Sun, Jan 14, 2024 at 09:13:54PM +0100, Mizsei Zoltán wrote:
> > Hi,
> >
> > I have messing with OpenBSD current on my LinkStar H68K ARM box, based on 
> > the Rockchip RK3568 SOC. Originally it had an unsupported Mediatek wlan 
> > card, which i have replaced it with an intel one i had lying around.
> > While OBSD recognizes the installed card, it categorically states it is 
> > not-configured, while it supposed to be supported by the iwn driver.
> >
> > Sadly i did not made any photo about the card i have installed, and the 
> > device is tricky to disassemble, but AFAIR the installed card is 0x8086, 
> > 0x088f, "Intel Centrino Advanced-N 6235. What could cause a device 
> > mis-recognition?
> >
> > Any idea what's going on here?
> >
> > Best Regards,
> > --Zoltan
> >
>
> iwn* at pci?     is not in arm64 GENERIC.
>
> You might try adding that line to /sys/arch/arm64/conf/GENERIC (look for iwx
> just toss it after that). It might work.
>
> -ml

also in case it wasn't obvious, you need to reconfigure the kernel and rebuild
after doing that.

>
> > OpenBSD 7.4-current (GENERIC.MP) #40: Wed Jan 10 02:01:40 MST 2024
> >     [email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
> > real mem  = 3959590912 (3776MB)
> > avail mem = 3755196416 (3581MB)
> > random: good seed from bootblocks
> > mainbus0 at root: HINLINK OPC-H68K Board
> > psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
> > efi0 at mainbus0: UEFI 2.7
> > efi0: EDK2 rev 0x10000
> > smbios0 at efi0: SMBIOS 3.3.0
> > smbios0: vendor EDK2 version "miq" date 12/16/2023
> > smbios0: Firefly Firefly ROC-RK3568-PC
> > cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0
> > cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> > cpu0: 512KB 64b/line 16-way L2 cache
> > cpu0: 
> > DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
> > cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0
> > cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> > cpu1: 512KB 64b/line 16-way L2 cache
> > cpu1: 
> > DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
> > cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0
> > cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> > cpu2: 512KB 64b/line 16-way L2 cache
> > cpu2: 
> > DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
> > cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0
> > cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> > cpu3: 512KB 64b/line 16-way L2 cache
> > cpu3: 
> > DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
> > scmi0 at mainbus0: SCMI 2.0
> > apm0 at mainbus0
> > agintc0 at mainbus0 mbi shift 4:4 nirq 352 nredist 4 ipi: 0, 1, 2: 
> > "interrupt-controller"
> > syscon0 at mainbus0: "syscon"
> > rkiovd0 at syscon0
> > syscon1 at mainbus0: "syscon"
> > syscon2 at mainbus0: "syscon"
> > syscon3 at mainbus0: "syscon"
> > syscon4 at mainbus0: "syscon"
> > syscon5 at mainbus0: "syscon"
> > syscon6 at mainbus0: "syscon"
> > rkclock0 at mainbus0: PMUCRU
> > rkclock1 at mainbus0: CRU
> > syscon7 at mainbus0: "power-management"
> > "power-controller" at syscon7 not configured
> > syscon8 at mainbus0: "qos"
> > syscon9 at mainbus0: "qos"
> > syscon10 at mainbus0: "qos"
> > syscon11 at mainbus0: "qos"
> > syscon12 at mainbus0: "qos"
> > syscon13 at mainbus0: "qos"
> > syscon14 at mainbus0: "qos"
> > syscon15 at mainbus0: "qos"
> > syscon16 at mainbus0: "qos"
> > syscon17 at mainbus0: "qos"
> > syscon18 at mainbus0: "qos"
> > syscon19 at mainbus0: "qos"
> > syscon20 at mainbus0: "qos"
> > syscon21 at mainbus0: "qos"
> > syscon22 at mainbus0: "qos"
> > syscon23 at mainbus0: "qos"
> > syscon24 at mainbus0: "qos"
> > syscon25 at mainbus0: "qos"
> > syscon26 at mainbus0: "qos"
> > syscon27 at mainbus0: "qos"
> > syscon28 at mainbus0: "qos"
> > syscon29 at mainbus0: "qos"
> > syscon30 at mainbus0: "qos"
> > syscon31 at mainbus0: "qos"
> > rkcomphy0 at mainbus0
> > rkcomphy1 at mainbus0
> > rkusbphy0 at mainbus0: phy 0
> > rkusbphy1 at mainbus0: phy 1
> > rkpinctrl0 at mainbus0: "pinctrl"
> > rkgpio0 at rkpinctrl0
> > rkgpio1 at rkpinctrl0
> > rkgpio2 at rkpinctrl0
> > rkgpio3 at rkpinctrl0
> > rkgpio4 at rkpinctrl0
> > syscon32 at mainbus0: "syscon"
> > syscon33 at mainbus0: "qos"
> > syscon34 at mainbus0: "qos"
> > syscon35 at mainbus0: "qos"
> > syscon36 at mainbus0: "syscon"
> > rkpciephy0 at mainbus0
> > rkcomphy2 at mainbus0
> > "fit-images" at mainbus0 not configured
> > "opp-table-0" at mainbus0 not configured
> > "display-subsystem" at mainbus0 not configured
> > "firmware" at mainbus0 not configured
> > "opp-table-1" at mainbus0 not configured
> > simpleaudio0 at mainbus0
> > "pmu" at mainbus0 not configured
> > agtimer0 at mainbus0: 24000 kHz
> > "xin24m" at mainbus0 not configured
> > "xin32k" at mainbus0 not configured
> > "sram" at mainbus0 not configured
> > xhci0 at mainbus0, xHCI 1.10
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 
> > 3.00/1.00 addr 1
> > ehci0 at mainbus0
> > usb1 at ehci0: USB revision 2.0
> > uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 
> > 2.00/1.00 addr 1
> > ohci0 at mainbus0: version 1.0
> > ehci1 at mainbus0
> > usb2 at ehci1: USB revision 2.0
> > uhub2 at usb2 configuration 1 interface 0 "Generic EHCI root hub" rev 
> > 2.00/1.00 addr 1
> > ohci1 at mainbus0: version 1.0
> > rkiic0 at mainbus0
> > iic0 at rkiic0
> > fanpwr0 at iic0 addr 0x1c: TCS4525, 1.15 VDC
> > rkpmic0 at iic0 addr 0x20: RK809
> > rkpwm0 at mainbus0rkclock_get_frequency(rkclock0, 13)
> > : no clock
> > "gpu" at mainbus0 not configured
> > "video-codec" at mainbus0 not configured
> > "iommu" at mainbus0 not configured
> > "rga" at mainbus0 not configured
> > "video-codec" at mainbus0 not configured
> > "iommu" at mainbus0 not configured
> > dwqe0 at mainbus0 gmac 1: rev 0x51, address 3e:68:a7:8e:7e:25
> > rgephy0 at dwqe0 phy 0: RTL8169S/8110S/8211 PHY, rev. 6
> > "vop" at mainbus0 not configured
> > "iommu" at mainbus0 not configured
> > "hdmi" at mainbus0 not configured
> > dwpcie0 at mainbus0
> > dwmmc0 at mainbus0: 50 MHz base clock
> > sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma
> > dwmshc0 at mainbus0
> > dwmshc0: SDHC 4.20, 200 MHz base clock
> > sdmmc1 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma
> > "i2s" at mainbus0 not configured
> > "i2s" at mainbus0 not configured
> > "dma-controller" at mainbus0 not configured
> > "dma-controller" at mainbus0 not configured
> > rkiic1 at mainbus0
> > iic1 at rkiic1
> > "watchdog" at mainbus0 not configured
> > com0 at mainbus0: dw16550, 64 byte fifo
> > rktemp0 at mainbus0
> > "saradc" at mainbus0 not configured
> > ahci0 at mainbus0: AHCI 1.3
> > scsibus0 at ahci0: 32 targets
> > dwpcie1 at mainbus0
> > dwpcie2 at mainbus0
> > dwqe1 at mainbus0 gmac 0: rev 0x51, address 3e:68:a7:8e:7e:24
> > rgephy1 at dwqe1 phy 0: RTL8169S/8110S/8211 PHY, rev. 6
> > rkrng0 at mainbus0: ver 2
> > "hdmi-con" at mainbus0 not configured
> > gpiokeys0 at mainbus0: "reset"
> > gpioleds0 at mainbus0: no LEDs
> > "vcc12v-dcin" at mainbus0 not configured
> > "vcc3v3-sys" at mainbus0 not configured
> > "vcc5v0-sys" at mainbus0 not configured
> > "vcc5v0-usb" at mainbus0 not configured
> > "vcc5v0-usb-host" at mainbus0 not configured
> > "vcc3v3-pcie" at mainbus0 not configured
> > simpleaudio1 at mainbus0
> > pwmfan0 at mainbus0
> > simplefb0 at mainbus0: 3840x2160, 32bpp
> > wsdisplay0 at simplefb0 mux 1: console (std, vt100 emulation)
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > usb3 at ohci0: USB revision 1.0
> > uhub3 at usb3 configuration 1 interface 0 "Generic OHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb4 at ohci1: USB revision 1.0
> > uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev 
> > 1.00/1.00 addr 1
> > pci0 at dwpcie0
> > ppb0 at pci0 dev 0 function 0 "Rockchip RK3566" rev 0x00
> > pci1 at ppb0 bus 1
> > "Intel WiFi Link 1030" rev 0x1a at pci1 dev 0 function 0 not configured
> > pci2 at dwpcie1
> > ppb1 at pci2 dev 0 function 0 "Rockchip RK3566" rev 0x00
> > pci3 at ppb1 bus 1
> > rge0 at pci3 dev 0 function 0 "Realtek RTL8125" rev 0x05: msi, address 
> > 00:00:00:00:00:00
> > pci4 at dwpcie2
> > ppb2 at pci4 dev 0 function 0 "Rockchip RK3566" rev 0x00
> > pci5 at ppb2 bus 1
> > rge1 at pci5 dev 0 function 0 "Realtek RTL8125" rev 0x05: msi, address 
> > 00:00:00:00:00:00
> > scsibus1 at sdmmc0: 2 targets, initiator 0
> > sd0 at scsibus1 targ 1 lun 0: <SD/MMC, NCard, 0010> removable
> > sd0: 14910MB, 512 bytes/sector, 30535680 sectors
> > sdmmc1: can't enable card
> > sdhc_sdclk_frequency_select: command in progress
> > umass0 at uhub0 port 2 configuration 1 interface 0 "USB SanDisk 3.2Gen1" 
> > rev 3.20/1.00 addr 2
> > umass0: using SCSI over Bulk-Only
> > scsibus2 at umass0: 2 targets, initiator 0
> > sd1 at scsibus2 targ 1 lun 0: <USB, SanDisk 3.2Gen1, 1.00> removable 
> > serial.0781558381075e2a041c
> > sd1: 29340MB, 512 bytes/sector, 60088320 sectors
> > uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Keyboard" 
> > rev 1.10/64.02 addr 2
> > uhidev0: iclass 3/1
> > ukbd0 at uhidev0: 8 variable keys, 6 key codes
> > wskbd0 at ukbd0: console keyboard, using wsdisplay0
> > uhidev1 at uhub4 port 1 configuration 1 interface 1 "Logitech USB Keyboard" 
> > rev 1.10/64.02 addr 2
> > uhidev1: iclass 3/0, 5 report ids
> > ucc0 at uhidev1 reportid 1: 2 usages, 3 keys, enum
> > wskbd1 at ucc0 mux 1
> > wskbd1: connecting to wsdisplay0
> > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> > ucc1 at uhidev1 reportid 3: 21 usages, 14 keys, enum
> > wskbd2 at ucc1 mux 1
> > wskbd2: connecting to wsdisplay0
> > uhid1 at uhidev1 reportid 5: input=0, output=0, feature=5
> > vscsi0 at root
> > scsibus3 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus4 at softraid0: 256 targets
> > root on sd1a (d9b3f31cd079d97e.a) swap on sd1b dump on sd1b
> > WARNING: bad clock chip time
> > WARNING: CHECK AND RESET THE DATE!
> > linkstar$
> > linkstar$
> > linkstar$
> > linkstar$ uname -a
> > OpenBSD linkstar.extrowerk.com 7.4 GENERIC.MP#40 arm64
> > linkstar$ doas pcidump -v
> > doas ([email protected]) password:
> > Domain /dev/pci0:
> >  0:0:0: Rockchip RK3566
> >         0x0000: Vendor ID: 1d87, Product ID: 3566
> >         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 empty (00000000)
> >         0x0014: BAR empty (00000000)
> >         0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 15,
> >                 Secondary Latency Timer: 00
> >         0x001c: I/O Base: 01, I/O Limit: f1, Secondary Status: 0000
> >         0x0020: Memory Base: f420, Memory Limit: f5f0
> >         0x0024: Prefetch Memory Base: 4001, Prefetch Memory Limit: 7ff1
> >         0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
> >         0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
> >         0x0030: I/O Base Upper 16 Bits: f410, I/O Limit Upper 16 Bits: f41f
> >         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
> >                 Max Payload Size: 128 / 128 bytes
> >                 Max Read Request Size: 512 bytes
> >                 Link Speed: 2.5 / 8.0 GT/s
> >                 Link Width: x1 / x1
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0148: Enhanced Capability 0x19: Secondary PCIe Capability
> >         0x0160: Enhanced Capability 0x1e: L1 PM
> >         0x0170: Enhanced Capability 0x0b: Vendor-Specific
> >         0x00b0: Capability 0x11: Extended Message Signalled Interrupts 
> > (MSI-X)
> >                 Enabled: no; table size 1 (BAR 0:0)
> >  1:0:0: Intel WiFi Link 1030
> >         0x0000: Vendor ID: 8086, Product ID: 008a
> >         0x0004: Command: 0000, Status: 0010
> >         0x0008: Class: 02 Network, Subclass: 80 Miscellaneous,
> >                 Interface: 00, Revision: 1a
> >         0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> >                 Cache Line Size: 00
> >         0x0010: BAR mem 64bit addr: 0x0000000000000000/0x00002000
> >         0x0018: BAR empty (00000000)
> >         0x001c: BAR empty (00000000)
> >         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
> >         0x00c8: Capability 0x01: Power Management
> >                 State: D0
> >         0x00d0: Capability 0x05: Message Signalled Interrupts (MSI)
> >                 Enabled: no
> >         0x00e0: Capability 0x10: PCI Express
> >                 Max Payload Size: 128 / 128 bytes
> >                 Max Read Request Size: 128 bytes
> >                 Link Speed: 2.5 / 2.5 GT/s
> >                 Link Width: x1 / x1
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0140: Enhanced Capability 0x03: Device Serial Number
> >                 Serial Number: 000000ffff000000
> > Domain /dev/pci1:
> >  0:0:0: Rockchip RK3566
> >         0x0000: Vendor ID: 1d87, Product ID: 3566
> >         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 empty (00000000)
> >         0x0014: BAR empty (00000000)
> >         0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 15,
> >                 Secondary Latency Timer: 00
> >         0x001c: I/O Base: 01, I/O Limit: f1, Secondary Status: 0000
> >         0x0020: Memory Base: f220, Memory Limit: f3f0
> >         0x0024: Prefetch Memory Base: 4001, Prefetch Memory Limit: 7ff1
> >         0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
> >         0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
> >         0x0030: I/O Base Upper 16 Bits: f210, I/O Limit Upper 16 Bits: f21f
> >         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
> >                 Max Payload Size: 128 / 256 bytes
> >                 Max Read Request Size: 512 bytes
> >                 Link Speed: 2.5 / 8.0 GT/s
> >                 Link Width: x1 / x1
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0148: Enhanced Capability 0x19: Secondary PCIe Capability
> >         0x0160: Enhanced Capability 0x1e: L1 PM
> >         0x0170: Enhanced Capability 0x0b: Vendor-Specific
> >         0x00b0: Capability 0x11: Extended Message Signalled Interrupts 
> > (MSI-X)
> >                 Enabled: no; table size 128 (BAR 4:131072)
> >  1:0:0: Realtek RTL8125
> >         0x0000: Vendor ID: 10ec, Product ID: 8125
> >         0x0004: Command: 0006, Status: 0010
> >         0x0008: Class: 02 Network, Subclass: 00 Ethernet,
> >                 Interface: 00, Revision: 05
> >         0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> >                 Cache Line Size: 00
> >         0x0010: BAR io addr: 0x00000000/0x0100
> >         0x0014: BAR empty (00000000)
> >         0x0018: BAR mem 64bit addr: 0x00000000f2200000/0x00010000
> >         0x0020: BAR mem 64bit addr: 0x0000000000000000/0x00004000
> >         0x0028: Cardbus CIS: 00000000
> >         0x002c: Subsystem Vendor ID: 10ec Product ID: 8125
> >         0x0030: Expansion ROM Base Address: 00000000
> >         0x0038: 00000000
> >         0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> >         0x0040: Capability 0x01: Power Management
> >                 State: D0
> >         0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
> >                 Enabled: yes
> >         0x0070: Capability 0x10: PCI Express
> >                 Max Payload Size: 128 / 256 bytes
> >                 Max Read Request Size: 512 bytes
> >                 Link Speed: 2.5 / 5.0 GT/s
> >                 Link Width: x1 / x1
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0148: Enhanced Capability 0x02: Virtual Channel Capability
> >         0x0168: Enhanced Capability 0x03: Device Serial Number
> >                 Serial Number: 0000000000000000
> >         0x0178: Enhanced Capability 0x17: TPH Requester
> >         0x0204: Enhanced Capability 0x18: Latency Tolerance Reporting
> >         0x020c: Enhanced Capability 0x1e: L1 PM
> >         0x021c: Enhanced Capability 0x0b: Vendor-Specific
> >         0x00b0: Capability 0x11: Extended Message Signalled Interrupts 
> > (MSI-X)
> >                 Enabled: no; table size 32 (BAR 4:0)
> >         0x00d0: Capability 0x03: Vital Product Data (VPD)
> > 7f: [|vpd]
> > Domain /dev/pci2:
> >  0:0:0: Rockchip RK3566
> >         0x0000: Vendor ID: 1d87, Product ID: 3566
> >         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/0x40000000
> >         0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 15,
> >                 Secondary Latency Timer: 00
> >         0x001c: I/O Base: 01, I/O Limit: f1, Secondary Status: 0000
> >         0x0020: Memory Base: f020, Memory Limit: f1f0
> >         0x0024: Prefetch Memory Base: 4001, Prefetch Memory Limit: 7ff1
> >         0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
> >         0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
> >         0x0030: I/O Base Upper 16 Bits: f010, I/O Limit Upper 16 Bits: f01f
> >         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
> >                 Max Payload Size: 128 / 256 bytes
> >                 Max Read Request Size: 512 bytes
> >                 Link Speed: 5.0 / 8.0 GT/s
> >                 Link Width: x1 / x2
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0148: Enhanced Capability 0x19: Secondary PCIe Capability
> >         0x0160: Enhanced Capability 0x1e: L1 PM
> >         0x01a0: Enhanced Capability 0x0b: Vendor-Specific
> >         0x02a0: Enhanced Capability 0x0b: Vendor-Specific
> >         0x00b0: Capability 0x11: Extended Message Signalled Interrupts 
> > (MSI-X)
> >                 Enabled: no; table size 128 (BAR 4:131072)
> >  1:0:0: Realtek RTL8125
> >         0x0000: Vendor ID: 10ec, Product ID: 8125
> >         0x0004: Command: 0006, Status: 0010
> >         0x0008: Class: 02 Network, Subclass: 00 Ethernet,
> >                 Interface: 00, Revision: 05
> >         0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
> >                 Cache Line Size: 00
> >         0x0010: BAR io addr: 0x00000000/0x0100
> >         0x0014: BAR empty (00000000)
> >         0x0018: BAR mem 64bit addr: 0x00000000f0200000/0x00010000
> >         0x0020: BAR mem 64bit addr: 0x0000000000000000/0x00004000
> >         0x0028: Cardbus CIS: 00000000
> >         0x002c: Subsystem Vendor ID: 10ec Product ID: 8125
> >         0x0030: Expansion ROM Base Address: 00000000
> >         0x0038: 00000000
> >         0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> >         0x0040: Capability 0x01: Power Management
> >                 State: D0
> >         0x0050: Capability 0x05: Message Signalled Interrupts (MSI)
> >                 Enabled: yes
> >         0x0070: Capability 0x10: PCI Express
> >                 Max Payload Size: 128 / 256 bytes
> >                 Max Read Request Size: 512 bytes
> >                 Link Speed: 5.0 / 5.0 GT/s
> >                 Link Width: x1 / x1
> >         0x0100: Enhanced Capability 0x01: Advanced Error Reporting
> >         0x0148: Enhanced Capability 0x02: Virtual Channel Capability
> >         0x0168: Enhanced Capability 0x03: Device Serial Number
> >                 Serial Number: 0000000000000000
> >         0x0178: Enhanced Capability 0x17: TPH Requester
> >         0x0204: Enhanced Capability 0x18: Latency Tolerance Reporting
> >         0x020c: Enhanced Capability 0x1e: L1 PM
> >         0x021c: Enhanced Capability 0x0b: Vendor-Specific
> >         0x00b0: Capability 0x11: Extended Message Signalled Interrupts 
> > (MSI-X)
> >                 Enabled: no; table size 32 (BAR 4:0)
> >         0x00d0: Capability 0x03: Vital Product Data (VPD)
> > 7f: [|vpd]
> > linkstar$ ifconfig
> > lo0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768
> >         index 6 priority 0 llprio 3
> >         groups: lo
> >         inet6 ::1 prefixlen 128
> >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
> >         inet 127.0.0.1 netmask 0xff000000
> > dwqe0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 
> > 1500
> >         lladdr 3e:68:a7:8e:7e:25
> >         index 1 priority 0 llprio 3
> >         media: Ethernet autoselect (none)
> >         status: no carrier
> > dwqe1: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 
> > 1500
> >         lladdr 3e:68:a7:8e:7e:24
> >         index 2 priority 0 llprio 3
> >         media: Ethernet autoselect (none)
> >         status: no carrier
> > rge0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 
> > 1500
> >         lladdr 3e:68:a7:8e:7e:23
> >         index 3 priority 0 llprio 3
> >         media: Ethernet autoselect
> >         status: no carrier
> > rge1: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 
> > 1500
> >         lladdr 3e:68:a7:8e:7e:22
> >         index 4 priority 0 llprio 3
> >         groups: egress
> >         media: Ethernet autoselect (1000baseT full-duplex)
> >         status: active
> >         inet 192.168.1.181 netmask 0xffffff00 broadcast 192.168.1.255
> > enc0: flags=0<>
> >         index 5 priority 0 llprio 3
> >         groups: enc
> >         status: active
> > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
> >         index 7 priority 0 llprio 3
> >         groups: pflog
> >
> > --Z--
> >

Reply via email to