Re: Two I/O memory regions in /proc/iomem for a NIC

2006-07-03 Thread Lennert Buytenhek
On Sun, Jul 02, 2006 at 06:37:18PM +0300, John Que wrote: > Could a single call to > pci_request_regions(pdev, driver_name) > result in that we see 2 regions afterwards when running > cat /proc/iomem? Sure. Take a look at the output of 'lspci -v' some time. On my machine, for example, I have:

Re: Two I/O memory regions in /proc/iomem for a NIC

2006-07-02 Thread John Que
Hello, Thanks for your answers. I checked again: On the machine with e1000 driver, it was in fact a machine with 2 e1000 NICs. However, if I am not wrong, it happened I also saw 2 I/O regions on a machine with one NIC (RealTek 8139too) when typing cat /proc/iomem. I am not sure though. Let me

Re: Two I/O memory regions in /proc/iomem for a NIC

2006-07-02 Thread Jeff Garzik
On Sun, Jul 02, 2006 at 10:24:10AM +0300, John Que wrote: > Hello, > > I had noticed that there are machines where > if I ran cat /proc/iomem I see one I/O memory region for the NIC > I am using; while there are other machines where > I see 2 regions for the NIC I/O memory. > > For example, on a

Re: Two I/O memory regions in /proc/iomem for a NIC

2006-07-02 Thread Lennert Buytenhek
On Sun, Jul 02, 2006 at 10:24:10AM +0300, John Que wrote: > I had noticed that there are machines where > if I ran cat /proc/iomem I see one I/O memory region for the NIC > I am using; while there are other machines where > I see 2 regions for the NIC I/O memory. > > For example, on a machine wit

Two I/O memory regions in /proc/iomem for a NIC

2006-07-02 Thread John Que
Hello, I had noticed that there are machines where if I ran cat /proc/iomem I see one I/O memory region for the NIC I am using; while there are other machines where I see 2 regions for the NIC I/O memory. For example, on a machine with e1000 NIC adapter, I see the following 2 I/O memory regions