diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-06-01 19:04:23 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-06-01 19:04:23 +0000 |
commit | 562681fec0867c961d9c9aaf1465f0a2c8038829 (patch) | |
tree | 78690a153cbfbbf0f90960b9bc2150613318c890 /sys | |
parent | a6b150ee302f4f0c2992587f09851072b40aaa39 (diff) | |
download | FreeBSD-src-562681fec0867c961d9c9aaf1465f0a2c8038829.zip FreeBSD-src-562681fec0867c961d9c9aaf1465f0a2c8038829.tar.gz |
Change the warning message issued if pci_map_port() fails. I think this
happens if you have a BIOS with a 'Plug & Play OS' setting and you leave
it set to 'Yes.' This is wrong for FreeBSD (and LoseNT): it should be set
to 'No.' Apparently it's still possible to map the iobase of the NIC and
have the card work by reading the config space manually (which is what
the driver does if pci_map_port() fails) but we need to warn the user to
do fix their machine anyway. Anyway, warn the user to check the 'Plug &
Play OS' setting in their BIOS if mapping the io space fails.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_xl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index b146e9f..25ffed7 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.38 1999/05/30 18:09:16 wpaul Exp $ + * $Id: if_xl.c,v 1.39 1999/05/30 18:11:47 wpaul Exp $ */ /* @@ -160,7 +160,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.38 1999/05/30 18:09:16 wpaul Exp $"; + "$Id: if_xl.c,v 1.39 1999/05/30 18:11:47 wpaul Exp $"; #endif /* @@ -1466,9 +1466,9 @@ xl_attach(config_id, unit) if (!pci_map_port(config_id, XL_PCI_LOIO, (u_short *)&(sc->xl_bhandle))) { printf ("xl%d: couldn't map port\n", unit); - printf ("xl%d: WARNING: this shouldn't happen! " - "Possible PCI support code bug!", unit); - printf ("xl%d: attempting to map iobase manually", unit); + printf ("xl%d: WARNING: check your BIOS and " + "set 'Plug & Play OS' to 'no'\n", unit); + printf ("xl%d: attempting to map iobase manually\n", unit); sc->xl_bhandle = pci_conf_read(config_id, XL_PCI_LOIO) & 0xFFFFFFE0; /*goto fail;*/ |