Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 1998 19:47:35 -0600
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/pci if_xl.c 
Message-ID:  <199809090153.TAA02512@pluto.plutotech.com>
In-Reply-To: Your message of "Tue, 08 Sep 1998 16:42:10 PDT." <199809082342.QAA27283@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>wpaul       1998/09/08 16:42:10 PDT
>
>  Modified files:
>    sys/pci              if_xl.c 
>  Log:

...

>  - Disable the 'background' autonegotiation performed during bootstrap.
>    What happens currently is that the driver starts an autoneg session,
>    the sets a timeout in the ifnet structure and returns. Later, when the
>    timer expires, the watchdog routine calls the autoneg handler to check
>    the results of the session. The problem with this is that the session
>    may not complete until some point after we have started to mount NFS
>    filesystems, which can cause the mounts to fail. This is especially
>    troublesome if booting with an NFS rootfs: we need the interface up
>    and running before reaching the mountroot() code.

This is what the interrupt driven config hook mechanism is designed to 
address.  It fires your hook once interrupt and timeout services are 
available and prevents the system boot from continuing until you remove
your hook.  See kern/subr_autoconf.c for details.

--
Justin





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