diff options
author | dfr <dfr@FreeBSD.org> | 2000-05-13 15:40:46 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-05-13 15:40:46 +0000 |
commit | 714d84ab03c8c8383adeeb9f52034dada073bd3b (patch) | |
tree | eac49649668cf08da47dc3f2c73e35402fa9a26b | |
parent | 655e64b32d746e8c7257c4d1a28a809e719c8b4d (diff) | |
download | FreeBSD-src-714d84ab03c8c8383adeeb9f52034dada073bd3b.zip FreeBSD-src-714d84ab03c8c8383adeeb9f52034dada073bd3b.tar.gz |
Only probe network settings on the first open of the network device.
The alpha firmware takes a seriously long time to open the network device
the first time.
-rw-r--r-- | sys/boot/common/dev_net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/common/dev_net.c b/sys/boot/common/dev_net.c index c944e59..619fff8 100644 --- a/sys/boot/common/dev_net.c +++ b/sys/boot/common/dev_net.c @@ -139,6 +139,7 @@ net_open(struct open_file *f, ...) return (error); } } + netdev_opens++; } netdev_opens++; f->f_devdata = &netdev_sock; |