From: Roy Dragseth <Roy.Dragseth@cc.uit.no>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] disabling nics using boot options.
Date: Thu, 09 Jan 2003 08:30:55 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805655@msgid-missing> (raw)
Hello again.
Thanks for all the nice answers to my previous question about disabling
interfaces with efi.
As it seems to be impossible to disable the NICs in hardware, I want to try to
make the linux kernel avoid probing the devices by using the reserve= boot
option. The problem is that I am unable to figure out the right parameters
for the Gbit NIC because /proc/pci doesn't contain any iobase information for
this device.
I found an example in the BOOTPROMPT-HOWTO,
http://www.ibiblio.org/mdw/HOWTO/BootPrompt-HOWTO-3.html#ss3.4
and it works for the 10/100Mbit interface using the eepro100 module.
Here are what /proc/pci and /proc/iomem says about the relevant devices:
/proc/pci:
Bus 0, device 3, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 13).
IRQ 53.
Master Capable. Latency=128. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0x80020000 [0x80020fff].
I/O at 0xd00 [0xd3f].
Non-prefetchable 32 bit memory at 0x80000000 [0x8001ffff].
Bus 32, device 2, function 0:
Ethernet controller: BROADCOM Corporation NetXtreme BCM5701 Gigabit
Ethernet (rev 21).
IRQ 56.
Master Capable. Latency=192. Min Gnt=64.
Non-prefetchable 64 bit memory at 0x90800000 [0x9080ffff].
Bus 128, device 1, function 0:
Ethernet controller: BROADCOM Corporation NetXtreme BCM5701 Gigabit
Ethernet (#2) (rev 21).
IRQ 65.
Master Capable. Latency=192. Min Gnt=64.
Non-prefetchable 64 bit memory at 0xc0000000 [0xc000ffff].
As one can see, the entry for the Ethernet Pro 100 nic has a line
I/O at 0xd00 [0xd3f].
so the the reserve entry becomes 0xd00,64. This works as expected, the device
doesn't show up when I boot with
reserve=0xd00,64
However, the entries for the Gbit interfaces don't have this information, do
anyone know where I should look for the parameters for these devices?
r.
--
The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
phone:+47 77 64 41 07, fax:+47 77 64 41 00
Roy Dragseth, High Performance Computing System Administrator
Direct call: +47 77 64 62 56. email: royd@cc.uit.no
next reply other threads:[~2003-01-09 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 8:30 Roy Dragseth [this message]
2003-01-09 15:16 ` [Linux-ia64] disabling nics using boot options Roy Dragseth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590709805655@msgid-missing \
--to=roy.dragseth@cc.uit.no \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.