diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-04-20 20:29:12 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-04-20 20:29:12 +0000 |
commit | 10098c91e5bdd14bc2176851696e3ffa7bec5287 (patch) | |
tree | d29461eefeab54e04108f355412a2503ea1492cd /sys/arch | |
parent | 2d836dab51454a1b91db4ca50e1186fe0f346a2f (diff) |
fixed style, no binary change
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/pci/amas.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/amd64/pci/amas.c b/sys/arch/amd64/pci/amas.c index 6e1d05fdf33..0dc07848d04 100644 --- a/sys/arch/amd64/pci/amas.c +++ b/sys/arch/amd64/pci/amas.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amas.c,v 1.1 2009/04/20 13:26:20 ariane Exp $ */ +/* $OpenBSD: amas.c,v 1.2 2009/04/20 20:29:11 ariane Exp $ */ /* * Copyright (c) 2009 Ariane van der Steldt <ariane@stack.nl> @@ -138,7 +138,7 @@ const struct pci_matchid amas_devices[] = { }; int -amas_match(struct device* parent, void* match, void* aux) +amas_match(struct device *parent, void *match, void *aux) { struct pci_attach_args* pa = aux; @@ -148,10 +148,10 @@ amas_match(struct device* parent, void* match, void* aux) } void -amas_attach(struct device* parent, struct device* self, void* aux) +amas_attach(struct device *parent, struct device *self, void *aux) { - struct pci_attach_args* pa = aux; - struct amas_softc* amas = (struct amas_softc*)self; + struct pci_attach_args *pa = aux; + struct amas_softc *amas = (struct amas_softc*)self; #ifdef DEBUG paddr_t start_pg, end_pg; int nodes, i; @@ -199,7 +199,7 @@ amas_attach(struct device* parent, struct device* self, void* aux) * Returns 0 if the memory is not interleaved. */ int -amas_intl_nodes(struct amas_softc* amas) +amas_intl_nodes(struct amas_softc *amas) { pcireg_t base_reg, limit_reg; int mask; @@ -230,8 +230,8 @@ amas_intl_nodes(struct amas_softc* amas) * This device supports at most 8 nodes. */ void -amas_get_pagerange(struct amas_softc* amas, int node, - paddr_t* start_pg_idx, paddr_t* end_pg_idx) +amas_get_pagerange(struct amas_softc *amas, int node, + paddr_t *start_pg_idx, paddr_t *end_pg_idx) { pcireg_t base, ebase, limit, elimit; paddr_t base_addr, ebase_addr, limit_addr, elimit_addr; |