Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 15:29:52 +0200
From:      Ferdinand Goldmann <ferdinand.goldmann@jku.at>
To:        freebsd-net@freebsd.org
Subject:   How to change order of NICs in FreeBSD?
Message-ID:  <444CD2D0.50800@jku.at>

next in thread | raw e-mail | index | archive | help
Hi there,

this might be an easy one, but I seem to be unable to come up with a google'd
solution. :(

I have a machine with four network cards using the em driver:

em0@pci2:12:0:  class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00
em1@pci3:11:0:  class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00
em2@pci6:7:0:   class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00
em3@pci7:8:0:   class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00

Two of the cards are onboard, namely em2 and em3, and the other two (em0, em1)
are sitting in expansion slots. I would like to change the order of the cards,
so that the onboard cards are recognized as em0 and em1.

I tried using the device.hints file, but without much success. Is there any
way how to do this?

Kind regards
-- 
>> Ferdinand Goldmann                                   ////  |          |
>>                                                     |--00  |    UNIX  |
>> Tel. : +43/732/2468/9398 Fax. : +43/732/2468/9397   C   ^  |          |
>> EMail:  Ferdinand.Goldmann@zid.uni-linz.ac.at        \ ~/  ~~~|~~~~~~~~
>> PGP D4CF 8AA4 4B2A 7B88 65CA  5EDC 0A9B FA9A 13EA B993| |-----3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444CD2D0.50800>