Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 16:52:19 +0700 (ICT)
From:      Olivier Nicole <>
Subject:   Re: howto determine network device unit number? device.hints?
Message-ID:  <>
In-Reply-To: <001601c976f5$c015f7a0$> (
References:  <>	<>	<000b01c9768e$745aa160$>	<> <000c01c976ec$87e040b0$> <> <001601c976f5$c015f7a0$>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Sorry to jump in but...

> Problem is, this unit number is not constant and changing arbitrarily every
> time I reload the driver (card A unit number=0 & card B un=1 or the other
> way around).

Since I have been using FreeBSD, the NIC had always been given the
same unit number (that is, unless I play and swap the hardware inside
the machine).

And that is the normal behaviour. Of course at each boot the interface
em0 remains interface em0 and ithe interface em1 remains interface
em1, else it would be a headache.

> Plus, I still don't understand why the unit number should change at all,
> instead of being determined according to the card PCI location or some other
> constant.

Not only it should not change, but you are the first person I ever see
mentioning that it change at each boot.



Want to link to this message? Use this URL: <>