diff options
author | tijl <tijl@FreeBSD.org> | 2010-12-20 16:39:43 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2010-12-20 16:39:43 +0000 |
commit | 0f810ef0a25b4d64ffe05b47b5dfd30d73167b71 (patch) | |
tree | 1dae55b03b0d7f2f5c78986fe19e42d381f09774 /sys/dev/lmc/if_lmc.c | |
parent | 17886985855b2679e5479ecc5effa42d979bd3ac (diff) | |
download | FreeBSD-src-0f810ef0a25b4d64ffe05b47b5dfd30d73167b71.zip FreeBSD-src-0f810ef0a25b4d64ffe05b47b5dfd30d73167b71.tar.gz |
Merge amd64 and i386 bus.h and move the resulting header to x86. Replace
the original amd64 and i386 headers with stubs.
Rename (AMD64|I386)_BUS_SPACE_* to X86_BUS_SPACE_* everywhere.
Reviewed by: imp (previous version), jhb
Approved by: kib (mentor)
Diffstat (limited to 'sys/dev/lmc/if_lmc.c')
-rw-r--r-- | sys/dev/lmc/if_lmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index a2cb24e..604e8df 100644 --- a/sys/dev/lmc/if_lmc.c +++ b/sys/dev/lmc/if_lmc.c @@ -6261,8 +6261,8 @@ int if_lmc_lkmentry(struct lkm_table *lkmtp, int cmd, int ver) /* XXX Why isn't there an LKM network interface module? XXX */ pa.pa_pc = NULL; /* XXX */ pa.pa_bus = 0; /* XXX */ - pa.pa_iot = I386_BUS_SPACE_IO; /* XXX */ - pa.pa_memt = I386_BUS_SPACE_MEM; /* XXX */ + pa.pa_iot = X86_BUS_SPACE_IO; /* XXX */ + pa.pa_memt = X86_BUS_SPACE_MEM; /* XXX */ pa.pa_dmat = &pci_bus_dma_tag; /* XXX */ for (pa.pa_device=0; pa.pa_device<32; pa.pa_device++) /* XXX */ { |