diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-06-27 02:38:39 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-06-27 02:38:39 +0000 |
commit | 267f60c7d7949235ad9af05b2de0a9c9c35fdba5 (patch) | |
tree | 08e4b47fc2742b2ae27f3cae817437c4e7544d7d /sys/dev/pci/if_fxp_pci.c | |
parent | c585ebffd615ce5ca96e7b77a55098bc9298a713 (diff) |
stop passing an empty enaddr around since we figure out the
MAC address in the common attach code and not the PCI/CardBus
specific portions, this was a side effect of the code being
split to support CardBus.
ok beck@
Diffstat (limited to 'sys/dev/pci/if_fxp_pci.c')
-rw-r--r-- | sys/dev/pci/if_fxp_pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_fxp_pci.c b/sys/dev/pci/if_fxp_pci.c index e9832152c82..e8dda7f20c0 100644 --- a/sys/dev/pci/if_fxp_pci.c +++ b/sys/dev/pci/if_fxp_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp_pci.c,v 1.26 2004/05/18 22:37:25 beck Exp $ */ +/* $OpenBSD: if_fxp_pci.c,v 1.27 2004/06/27 02:38:38 brad Exp $ */ /* * Copyright (c) 1995, David Greenman @@ -134,7 +134,6 @@ fxp_pci_attach(parent, self, aux) pci_chipset_tag_t pc = pa->pa_pc; pci_intr_handle_t ih; const char *intrstr = NULL; - u_int8_t enaddr[6]; bus_size_t iosize; pcireg_t rev = PCI_REVISION(pa->pa_class); @@ -224,7 +223,7 @@ fxp_pci_attach(parent, self, aux) pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG)); /* Do generic parts of attach. */ - if (fxp_attach_common(sc, enaddr, intrstr)) { + if (fxp_attach_common(sc, intrstr)) { /* Failed! */ pci_intr_disestablish(pc, sc->sc_ih); bus_space_unmap(sc->sc_st, sc->sc_sh, iosize); |