thorpej
c17876b1d2
Use the elf64alpha_nbsd linker emulation.
2001-12-16 04:26:17 +00:00
tsutsui
7d563fd40e
malloc() + memset() -> malloc() with M_ZERO flag
2001-12-16 04:17:02 +00:00
thorpej
7a362db4f3
After discussing the entry point issue w/ rth@redhat.com, add an
...
elf64alpha_nbsd linker emulation that sets the entry point correctly
for NetBSD.
2001-12-16 04:06:51 +00:00
thorpej
e3e5021be2
We need the versions of ASM_DECLARE_FUNCTION_NAME and
...
ASM_DECLARE_FUNCTION_SIZE from <alpha/alpha.h>, but <netbsd.h>
re-defines them. So, re-define them again here to what
we need.
2001-12-16 04:02:48 +00:00
tsutsui
20d126a5b4
Fix comments for ref-count of PT pages.
2001-12-16 03:53:21 +00:00
tsutsui
f7312c690f
cosmetics (typo, KNF etc.)
2001-12-16 03:41:57 +00:00
thorpej
72a263b8f7
Catch up with other Alpha-ELF changes. This will get cleaned up
...
even more somtime soon.
2001-12-16 03:09:19 +00:00
thorpej
80ed7d6a42
Clean up a bunch of the ELF support (looks like there was some sort
...
of merge error), and make the function/object type/size macros work
with the Alpha.
2001-12-16 03:07:59 +00:00
gmcgarry
ac1f9fcc8c
When attaching as console, unmap the device on failure.
2001-12-16 02:02:05 +00:00
martin
c8006a73d3
Remove some spurious (debug?) output.
2001-12-16 00:55:40 +00:00
bjh21
b17e1abb0f
Use the MI DP83905 support for media selection on those cards that use it.
2001-12-16 00:23:59 +00:00
bjh21
7f32875295
if_media support for the DP83905 AT/LANTIC (a souped-up DP8390).
2001-12-16 00:22:43 +00:00
bjh21
2ca506c0ca
if_ne_pbus needs the "mx98905" attribute.
2001-12-15 23:48:38 +00:00
fredette
d3a28a576e
Rather than using nlist(3), use a magic structure with a magic
...
number that installboot(8) can search for. Suggested by cgd@netbsd.org .
2001-12-15 23:09:50 +00:00
fredette
c9e7d7b7ba
On the sun2, added support for loading larger kernels,
...
and pull objects from the libgcc in DESTDIR.
2001-12-15 23:02:34 +00:00
bjh21
7bc474a92b
mod() was unused. g/c it. New code should use abs() anyway.
2001-12-15 22:41:44 +00:00
fredette
175ee0ab88
Fixed a bug where we weren't checking for required or
...
forbidden locators correctly, especially physical addresses.
2001-12-15 22:39:17 +00:00
fredette
9976af904a
Remove some devices that aren't needed in INSTALL or RAMDISK
...
kernels, reenable NFS v3, and enable kernfs in INSTALL.
2001-12-15 22:22:13 +00:00
bjh21
eefdf030c9
Simplify the pixel-clock-rate-setting code, so it always works out the
...
parameters from first principles rather than using a static table for some
rates. This makes it work correctly on ARM7500, for which the table was
bogus (ARM7500 has a different refclk from VIDC20).
2001-12-15 22:21:46 +00:00
fredette
74e4ac42de
Be sure to mark in the prototype attach args
...
that a physical address is required for each
device on this bus.
2001-12-15 22:13:11 +00:00
jhawk
521fae39bb
.Nm punct => .Nm "" punct
...
minor markup fixes.
2001-12-15 21:21:00 +00:00
martin
7801c694b0
Enable additional error messages for the discovery phase, clarify some
...
others. Change one timeout slightly - we need to make all others user
settable.
2001-12-15 20:43:31 +00:00
martin
f19c69323c
Make reconnects after LCP keepalive detected an error actually work.
2001-12-15 20:40:37 +00:00
bjh21
7de3bbbbe3
Use the MX98905 bug workaround for EtherN and EtherI cards.
2001-12-15 20:30:06 +00:00
thorpej
85d454e712
Reset ENTRY to __start (this was changed to _start in rev 1.5
...
of this file in the master FSF sources; I obviously disagree
with the change, since it was apparently made to appease one
particular OS, even though previous binutils releases had been
made with ENTRY=__start, and have brought it up on
binutils@sources.redhat.com ).
2001-12-15 17:55:39 +00:00
bjh21
c72d5d40dd
Add code to support the bugged Macronix MX98905 chip, as used in several
...
podulebus Ethernet cards. This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.
This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
thorpej
f589c8c881
Make sure SET_ASM_OP is undefined; the Alpha assembler uses .set
...
for assembler options.
2001-12-15 16:49:57 +00:00
soren
8918a1ba7f
Reflect pcmcia_mem_map(9) interface change.
2001-12-15 13:23:29 +00:00
soren
875bff0962
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
3514260fd4
Regen.
2001-12-15 13:18:10 +00:00
soren
c425f6ea72
Add Cologne Chip Designs ISDN controller.
2001-12-15 13:17:49 +00:00
soren
171d50ebca
By analogy with cardbus.9, call it 'PCMCIA PC-Card'.
2001-12-15 12:43:36 +00:00
soren
6a76b36417
Use regular read/writes for stream variant calls.
2001-12-15 12:39:55 +00:00
soren
e324e87ca8
Fix typo in comment.
2001-12-15 12:01:55 +00:00
soren
3022b71f80
Correct copyright header.
2001-12-15 11:45:24 +00:00
soren
df984ecc52
Use bus_size_t's for bus space read/write offsets.
2001-12-15 11:41:09 +00:00
wdk
505a7027b6
Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
...
during BUS_DMASYNC_PREREAD.
Fixes problem where SCSI bus probe didn't read meaningful identity data.
Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem. Some thought needs to be given to whether there is a performace
difference between these two cases.
2001-12-15 11:33:13 +00:00
wdk
c49454c890
Declare KGDB hook functions.
2001-12-15 11:17:03 +00:00
wdk
b697919ea7
Add bus_dmamap_sync for pre-read and pre-write case. This was previously
...
left out as it was a no-op on the R3000 processor. However, recent changes
to the Mips cache ops highlighted we should DTRT in case the MI/MD layer
choses to invalidate the cache ahead of the DMA instead of after it.
2001-12-15 11:11:49 +00:00
wiz
e5c73347f0
Add /usr/include/dev/ir.
2001-12-15 09:09:51 +00:00
chs
ae5b4093b5
when counting PTEs, look at all the segments in a region, not just the first.
2001-12-15 09:00:50 +00:00
thorpej
846f87dbb9
Use __sh__ instead of __sh3__.
2001-12-15 03:39:53 +00:00
thorpej
3faae759ba
Allow a new-toolchain build to be done without actually building
...
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.
This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00
thorpej
9b744bba67
Descend into dbsym.
2001-12-15 03:23:39 +00:00
thorpej
e54cc793b1
Only build dbsym if not USE_NEW_TOOLCHAIN.
2001-12-15 03:23:11 +00:00
thorpej
6ed87749ed
Add support for building sh-*-netbsdelf (elf32-sh-big) and
...
shle-*-netbsdelf (elf32-sh-little).
2001-12-15 02:18:24 +00:00
thorpej
a676fd1679
Err, after consulting FSF's config.sub, shl -> shle.
2001-12-15 01:50:33 +00:00
explorer
59c1bf35cc
/usr/include/dev/ir{,/irdaio.h} to distrib sets
2001-12-15 01:07:15 +00:00
explorer
6b9f60a2db
install into /usr/include/dev/ir, since Jason made irdaattach look here.
2001-12-15 01:03:28 +00:00
thorpej
a78b7669d7
MACHINE_GNU_ARCH for sh3el is "shl". sh3eb and sh3el ELF targets
...
are also named "netbsdelf".
2001-12-15 00:39:08 +00:00