diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
| commit | 9b2e535452929d6f2f798a2c01b23b1f547a0b0f (patch) | |
| tree | 176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/dev/pci | |
| parent | 44204187ec133a0ab7bd77c8d974ad5afd4d88b4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pci')
| -rw-r--r-- | sys/dev/pci/pci.c | 12 | ||||
| -rw-r--r-- | sys/dev/pci/pcivar.h | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index e12474009fd67..0d0c2f82d0fc0 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci.c,v 1.21 1995/03/23 06:14:44 davidg Exp $ +** $Id: pci.c,v 1.22 1995/05/04 06:57:11 davidg Exp $ ** ** General subroutines for the PCI bus. ** pci_configure () @@ -113,7 +113,7 @@ struct pcicb { static int pci_externalize (struct proc *, struct kern_devconf *, void *, size_t); - + static int pci_internalize (struct proc *, struct kern_devconf *, void *, size_t); @@ -234,7 +234,7 @@ pci_register_io (struct pcicb * cb, u_int base, u_int limit) cb->pcicb_pupto = limit; /* - ** XXX should set bridge io mapping here + ** XXX should set bridge io mapping here ** but it can be mapped in 4k blocks only, ** leading to conflicts with isa/eisa .. */ @@ -1097,8 +1097,8 @@ pci_externalize (struct proc *p, struct kern_devconf *kdcp, void *u, size_t l) return copyout(&buffer, u, sizeof buffer); } - - + + static int pci_internalize (struct proc *p, struct kern_devconf *kdcp, void *u, size_t s) { @@ -1476,7 +1476,7 @@ static struct vt VendorTable[] = { static const char *const majclasses[] = { "old", "storage", "network", "display", - "multimedia", "memory", "bridge" + "multimedia", "memory", "bridge" }; void not_supported (pcici_t tag, u_long type) diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 712c6705f3ace..207a7437d46f9 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcivar.h,v 1.4 1995/03/21 23:01:06 se Exp $ +** $Id: pcivar.h,v 1.5 1995/03/25 21:10:38 bde Exp $ ** ** Declarations for pci device drivers. ** @@ -159,8 +159,8 @@ extern unsigned pci_maxdevice; struct pci_info { u_short pi_bus; u_short pi_device; -}; - +}; + #define PCI_EXT_CONF_LEN (16) #define PCI_EXTERNAL_LEN (sizeof(struct pci_externalize_buffer)) |
