Commit Graph

42258 Commits

Author SHA1 Message Date
cherry
7056f5194b Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 16:23:08 +00:00
cherry
ba7cbe760f Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 13:57:43 +00:00
gdamore
1afeab4d6d Add unified AR531X_REVISION_WMAC. 2006-04-07 04:58:31 +00:00
gdamore
e1c0ebdcf7 Use PCI vendor ID for Atheros. 2006-04-07 04:57:05 +00:00
gdamore
c985773db1 Remove rtc, as we don't have one. 2006-04-07 04:56:00 +00:00
gdamore
e6f1df1eba Fix to allow macppc to crossbuild when host is not NetBSD.
Fixes PR macppc 33196.  Reviewed by macallan@
2006-04-07 02:34:55 +00:00
bjh21
147be7c1d5 Fix a couple of typos. 2006-04-06 21:39:16 +00:00
bjh21
5d0813e0c9 Use more manifest constants. 2006-04-06 20:41:38 +00:00
he
7d6535cfe2 Since this port has its own db_interface.c, we need to declare ddb_regs
here as well, after it moved out of db_machdep.h.
2006-04-06 17:29:49 +00:00
tsutsui
bc4a0707e8 Use bus_space_map(9) to get bus_space_handle_t on each driver
and remove bogus bus_space_handle_t member from mainbus_attach_args.
2006-04-06 11:50:19 +00:00
simonb
aab1062e1b Remove "return" at the end of a void function. 2006-04-06 06:20:37 +00:00
simonb
b015b6a9f1 Use "#define<TAB>". 2006-04-06 06:17:32 +00:00
bjh21
bb2de9ff3d Very rough initial attempt at a RISC OS filing system based on libsa, to
allow the loading of kernels from a NetBSD file system by a RISC-OS-based
bootloader.  Currently, there's just about enough functionality to allow
BtNetBSD (and hence presumably boot32 on systems where it works) to load
a kernel.  This code has the great advantages over our existing UnixFS
that we actually have the source and can compile it under NetBSD.
2006-04-05 21:33:26 +00:00
bjh21
9a26703601 Use ctype macros. 2006-04-05 21:30:29 +00:00
tsutsui
f8b2282138 ANSIfy, KNF 2006-04-05 15:50:48 +00:00
tsutsui
d8a85de05c ANSIfy. 2006-04-05 15:46:58 +00:00
tsutsui
7011c71999 - ANSIfy
- KNF
- u_intNN_t -> uintNN_t
- include "ioconf.h" for struct cfdriver panel_cd
2006-04-05 15:14:49 +00:00
tsutsui
194935a114 ANSIfy, KNF 2006-04-05 15:14:10 +00:00
tsutsui
a7c19b0c1a Include "ioconf.h" for struct cfdriver cpu_cd (though it's currently unused). 2006-04-05 15:07:17 +00:00
tsutsui
da447cc3ab - ANSIfy
- KNF
- u_intXX_t -> uintXX_t
2006-04-05 15:03:27 +00:00
tsutsui
076b3a81c7 Fix function name in panic messages. 2006-04-05 14:03:04 +00:00
gdamore
ca7d761296 Rename AH_DEBUG, AH_ASSERT, and AH_DEBUG_ALQ to ATH_XXX.
Use the opt_ah.h for the provided HAL to get options like AH_REGOPS_FUNC.
Add AH_REGOPS_FUNC to a few opt_ah.h that don't have it in this version
of the HAL but need it.  (The next version from Sam should have this fixed
in it.  If it doesn't, then we'll have to take care at import time.)

Ultimately, this should make future imports even easier, and individual ports
should not have to worry about whether AH_REGOPS_FUNC is properly defined or
not, since the opt_ah.h will just take care of it automatically.

Ok'd by dyoung@.
2006-04-05 06:54:26 +00:00
uwe
54826c03de Define ddb_regs in db_interface.c.
Change its definion in db_machdep.h into a declaration.
2006-04-05 00:38:51 +00:00
uwe
aa1af65e56 kernelstack and proc0paddr are defined in arm32_machdep.c
Change local definions into declations.
2006-04-05 00:37:11 +00:00
uwe
c29aeed86e Don't define, just declare want_resched here. 2006-04-05 00:15:25 +00:00
jld
00f39ded1b Change diagnostic assertions to DEBUG-conditionalized printfs.
(Alternately, XEN_CLOCK_DEBUG may be defined to enable just the
checks in this module.)
2006-04-04 21:08:47 +00:00
bouyer
65b5449cc4 Add NetBSD CVS Id. 2006-04-04 20:30:30 +00:00
gdamore
daaee9c532 Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
2006-04-04 04:30:28 +00:00
gdamore
75670ddc44 Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.
2006-04-04 03:13:12 +00:00
scw
bd13d3ce50 Add utoppy* at uhub? 2006-04-03 16:08:49 +00:00
uebayasi
71f939eb25 Oops; put back -ffreestanding to avoid function prototype mismatch. 2006-04-03 09:08:03 +00:00
uebayasi
c00933e927 Comment about what this is like to prevent future mistake... 2006-04-03 06:22:45 +00:00
uebayasi
979db3a4b2 Fix build of this mysterious boot program; a userlevel bootloader run on
NetBSD and boot NetBSD (!).

The program was run from within boot-only, NetBSD-as-bootloader as a userlevel
program, then in-kernel boot code loads another NetBSD image and jumps to
it.
2006-04-03 06:15:00 +00:00
uwe
3cd02a3c5e Add WSDISPLAY_CUSTOM_OUTPUT &co. 2006-04-02 23:14:42 +00:00
bjh21
24b605d41f Circular references are almost inevitable between libsa and libriscos.
Solve them the easy way, using --start-group and --end-group.
2006-04-02 22:13:32 +00:00
kiyohara
38e42c3d76 Support aupcmcia on OMSAL400. 2006-04-02 17:32:57 +00:00
bouyer
fb009d1ad3 Properly update output counters. 2006-04-02 17:11:12 +00:00
kiyohara
b8c71b3650 Reorder. 2006-04-02 17:04:24 +00:00
bouyer
e3393ee971 xbd_xenbus_detach(): wait for the backed to release grant reference to the
ring before trying to revoke it, otherwise the kernel may panic in
xengnt_revoke_access.
2006-04-02 15:36:10 +00:00
bouyer
e35565d1d4 Add proper detach support for Xen3 xennet. 2006-04-02 15:32:41 +00:00
bouyer
02e9db01de unregister_xenbus_watch(): Ops, correct code to remove pending watch events
so that it's not an infinite loop.
2006-04-02 15:32:10 +00:00
bouyer
eb7b686214 Ops, better include bpfilter.h if we're going to use NBPFILTER > 0.
Should make bpf work on Xen3 domU, problem reported by Stephane Bortzmeyer
on port-xen.
2006-04-02 13:56:12 +00:00
tsutsui
27ec859c0e Add some delay() on asserting MEC_MAC_CORE_RESET. 2006-04-02 11:20:46 +00:00
gdamore
9a2b9dd63b Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@, this is the proper version we should be using.
2006-04-02 05:52:14 +00:00
gdamore
0b8fc35579 Change to use new HAL layout. (Not in HEAD yet, but since this device
isn't built by default yet, it is harmless to change now.)

Pass DMA tag.  Do not register shutdown hooks if attach fails.
Use SYSREG_REVISION for ath device ids.

if_ath_arbus isn't operational yet, but it is much closer now.
2006-04-02 05:44:28 +00:00
gdamore
9f8c8a9908 Interrupt values (aa_irq) can be zero, and represent a real interrupt.
Please display them.
2006-04-02 05:41:32 +00:00
thorpej
b2bea1ed90 Static'ify. 2006-04-02 03:41:32 +00:00
bjh21
bc24b5d85b Add code to support access to RISC OS disk devices from libsa. This is
sufficient to allow a small wrapper program to access files on the NetBSD
partition of a shared disk.  NetBSD-only disks don't work (FileCore objects
to the lack of a boot block), and there's no code to actually use this
facility yet.
2006-04-01 19:08:07 +00:00
oster
6b45384deb We don't need (or want!) to include cpuframe.h or have sigstate
visible to userland on m68k.  Fixes numerous pkgsrc build issues where
"struct frame" as defined in cpuframe.h pollutes the local namespace.

Compile-tested full builds for hp300, mac68k, amiga, sun3, and next68k.

OK'ed by matt@.
2006-04-01 18:03:55 +00:00
oster
82818fa5ca Explicitly include <m68k/frame.h> here, rather than relying on it getting
pulled in via signal.h by accident.
2006-04-01 18:02:04 +00:00