diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-04-17 08:36:07 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-04-17 08:36:07 +0000 |
| commit | e91896117bba50d067048e99659fd015b35322e9 (patch) | |
| tree | 75f9524a6f9013302b340beb1e1732968909291a /sys/dev | |
| parent | 6637b74945e98e818d4bbb7f163ce680761b31e8 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pcivar.h | 9 | ||||
| -rw-r--r-- | sys/dev/tx/if_tx.c | 8 |
2 files changed, 2 insertions, 15 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 55f72a16b875f..360713282b983 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcivar.h,v 1.25 1999/01/19 23:29:20 se Exp $ + * $Id: pcivar.h,v 1.26 1999/04/16 21:22:52 peter Exp $ * */ @@ -282,11 +282,6 @@ struct pci_device { int (*pd_shutdown) (int, int); }; -struct pci_lkm { - struct pci_device *dvp; - struct pci_lkm *next; -}; - #ifdef __i386__ typedef u_short pci_port_t; #else @@ -295,7 +290,6 @@ typedef u_int pci_port_t; u_long pci_conf_read (pcici_t tag, u_long reg); void pci_conf_write (pcici_t tag, u_long reg, u_long data); -void pci_configure (void); int pci_map_port (pcici_t tag, u_long reg, pci_port_t* pa); int pci_map_mem (pcici_t tag, u_long reg, vm_offset_t* va, vm_offset_t* pa); int pci_map_dense (pcici_t tag, u_long reg, vm_offset_t* va, vm_offset_t* pa); @@ -305,7 +299,6 @@ int pci_map_int (pcici_t tag, pci_inthand_t *handler, void *arg, int pci_map_int_right(pcici_t cfg, pci_inthand_t *handler, void *arg, intrmask_t *maskptr, u_int flags); int pci_unmap_int (pcici_t tag); -int pci_register_lkm (struct pci_device *dvp, int if_revision); #endif /* PCI_COMPAT */ #endif /* _PCIVAR_H_ */ diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index cd17237aafede..b58e44e897b29 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -1,5 +1,5 @@ /* $OpenBSD: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */ -/* $Id: if_tx.c,v 1.22 1999/03/14 08:30:23 semenu Exp $ */ +/* $Id: if_tx.c,v 1.23 1999/03/31 13:50:52 nsayer Exp $ */ /*- * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) @@ -2036,10 +2036,4 @@ epic_dump_state __P(( ); } } -#if 0 -static void epic_kldinit (void * a) { - pci_register_lkm (&txdevice, 0); -} -PSEUDO_SET(epic_kldinit,if_tx); -#endif #endif /* NPCI > 0 */ |
