create pci_mapreg_info() which simply gets mapping register information.
It's used by pci_mapreg_map() and can be used directly by drivers with special needs (e.g. those being attached as console devices).
This commit is contained in:
parent
36949596f0
commit
78b378b2bc
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pcivar.h,v 1.21 1997/04/13 20:14:39 cgd Exp $ */
|
||||
/* $NetBSD: pcivar.h,v 1.22 1997/04/13 22:05:10 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
|
||||
|
@ -139,6 +139,8 @@ struct pci_attach_args {
|
|||
* Configuration space access and utility functions. (Note that most,
|
||||
* e.g. make_tag, conf_read, conf_write are declared by pci_machdep.h.)
|
||||
*/
|
||||
int pci_mapreg_info __P((pci_chipset_tag_t, pcitag_t, int, pcireg_t,
|
||||
bus_addr_t *, bus_size_t *, int *));
|
||||
int pci_mapreg_map __P((struct pci_attach_args *, int, pcireg_t, int,
|
||||
bus_space_tag_t *, bus_space_handle_t *, bus_addr_t *,
|
||||
bus_size_t *));
|
||||
|
|
Loading…
Reference in New Issue