Date: Tue, 16 Sep 2025 16:25:56 +0000 From: orbit <ordinarybit@proton.me> To: "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: PCI port I/O and memory-mapped I/O Message-ID: <_vtzKU0gKbXoYKLmXTU9y_ynlAk6DVRzKKzPlNVAsUMxMzm94uw6o34WU5rQGxlrVMS5VXm-Sm0fnB6L0O94gkd-nWbpDXXJN_vaw0dhuLs=@proton.me>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi,
I am exploring PCI device driver at the moment were I could see my FreeBSD system having this Intel gigabit NIC detected as shown in the dmesg.
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 9 at device 3.0 on pci0
Can someone confirm if the "port 0xd010-0xd017" and "mem 0xf0000000-0xf001ffff" pertains respectively to the PCI port I/O space and the PCI memory space being allocated to this Intel network driver upon attachment? If yes, does the Intel network controller chip use these ranges of memory addresses to map its control and status registers? If not, what are the usage of these port and memory address ranges?
BR,
orbit
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I am exploring PCI device driver at the moment were I could see my FreeBSD system having this Intel gigabit NIC detected as shown in the dmesg.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 9 at device 3.0 on pci0</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block">
<div class="protonmail_signature_block-user protonmail_signature_block-empty">
</div>
<div class="protonmail_signature_block-proton">Can someone confirm if the <span>"port 0xd010-0xd017" and "<span>mem 0xf0000000-0xf001ffff</span>" pertains respectively to the PCI port I/O space and the PCI memory space being allocated to this Intel network driver upon attachment? If yes, does the Intel network controller chip use these ranges of memory addresses to map its control and status registers? If not, what are the usage of these port and memory address ranges?<br></span></div><div class="protonmail_signature_block-proton"><span><br></span></div><div class="protonmail_signature_block-proton"><span>BR,</span></div><div class="protonmail_signature_block-proton"><span>orbit </span><br></div>
</div>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?_vtzKU0gKbXoYKLmXTU9y_ynlAk6DVRzKKzPlNVAsUMxMzm94uw6o34WU5rQGxlrVMS5VXm-Sm0fnB6L0O94gkd-nWbpDXXJN_vaw0dhuLs=>
