Commit Graph

116171 Commits

Author SHA1 Message Date
martin 17e3c1d4f1 Add sparc64 support.
XXX - lint does not yet work - it undefines __GNUC__ and this breaks bfd.h.
2003-08-18 00:28:11 +00:00
martin 0fffc3d101 Move bfd.h to arch dependend directory - the generated bfd.h differs
slightly between 64bit and 32bit archs.
2003-08-18 00:25:23 +00:00
mrg ef0f504703 allow DEBUG to be set to "-gstabs" or "-gstabs+", to enable building
netbsd.gdb.  (you need "-gstabs" for gcc3.3 and old gdb.)
2003-08-18 00:15:41 +00:00
martin 8f6cdf024b Remove accidently commited (generated) files that "make distclean" fails
to remove.
2003-08-17 23:51:12 +00:00
christos f399648bb7 forgot to add this one too. 2003-08-17 23:00:20 +00:00
christos a550ab6960 forgot to commit this. 2003-08-17 22:54:56 +00:00
itojun 916585ff14 SIOCGIFCONF->getifaddrs conversion 2003-08-17 22:34:17 +00:00
martin f4d6f4dfb8 Rumors say there are archs where int != long. 2003-08-17 22:17:03 +00:00
itojun cdf8146ccf SIOCGIFCONF->getifaddrs conversion 2003-08-17 22:12:43 +00:00
itojun f4c0491af5 one more SIOCGIFCONF->getifaddrs conversion 2003-08-17 21:43:29 +00:00
itojun 0f6ff2de74 rewrite SIOCGIFCONF into getifaddrs(3) 2003-08-17 21:36:56 +00:00
hannken d56baf4735 Add a placeholder for lpt, char 20.
Requested by: Matt Thomas
2003-08-17 19:15:50 +00:00
chs e02e4ecc2b lots-o-stuff:
- fix opcodes_base[10] to allow us to find "cmpli".
 - fix "cmp" definition.
 - add various missing SPRs.
 - use the right bits for the "BI" operand.
 - fix operand calculation for "rlwinm" and friends, and display
   the operands in the same order as the manuals do.
 - make the buffer bigger to avoid overflow.
2003-08-17 18:23:17 +00:00
chs f96eebf908 use the value of the "soft-reset" property (if it exists) to locate
the reset vector (needed on my shiny new G4).  from tsubai.
2003-08-17 18:12:34 +00:00
chs 86bd9c4a5e recognize the product ID used on the latest G4s. 2003-08-17 18:10:09 +00:00
chs 4ba6255f14 add some 745x-specific MSSCR0 bits. 2003-08-17 18:08:17 +00:00
chs f19809f0fa remove an unused proto. 2003-08-17 18:07:11 +00:00
chs 0e431087e5 regen 2003-08-17 18:06:22 +00:00
chs b27931b073 add the uninorth ATA found in the latest G4s, and a highpoint IDE. 2003-08-17 18:03:29 +00:00
christos 83a51582a8 try to commit again 2003-08-17 18:03:25 +00:00
pk dd51ebce3f sun4/sun4c MMU: keep `wired' status per page, implemented by defining a bit
in the PTE word that is not used by the hardware. Use it to unlock a `pmeg'
if the wired count in a segment drops to zero.
2003-08-17 18:00:51 +00:00
bouyer 1f8e327374 Add support for VIA VT8237 (KT600) IDE controller. From Stephen Degler in
PR port-i386/22453.
2003-08-17 15:52:06 +00:00
bouyer 104faa2485 Regen: Add 3com 3c940 Gigabit Ethernet, and VIA KT600 PCI devices. 2003-08-17 15:48:41 +00:00
bouyer 1a1c011785 Add 3com 3c940 Gigabit Ethernet, and VIA KT600 PCI devices. From Stephen Degler
in PR port-i386/22453
2003-08-17 15:47:11 +00:00
kochi 35312b5efa make shutdown error messages clearer (idea from Christoph Egger) 2003-08-17 14:23:16 +00:00
kochi 1cc19c34e0 Try shutdown with ACPI only when ACPI is enabled.
Patch from Masanori Kanaoka (with a little modification by me).
2003-08-17 14:15:43 +00:00
hannken efc0a23c7d Add lpt (for explora) as char 20.
This major number is unused in macppc.
2003-08-17 11:06:46 +00:00
kochi 42ade8383d check return value of AcpiEnterSleepStatePrep() to catch
any failure
2003-08-17 03:45:19 +00:00
christos 2e12e80a85 avoid PARAMS redefinition. 2003-08-16 21:57:20 +00:00
christos 1cfd40eacc remove generated files. 2003-08-16 21:56:36 +00:00
christos f068e22a9f fix lint errors. 2003-08-16 21:56:23 +00:00
christos 03a450b1a6 update for multiple dir build. 2003-08-16 21:53:58 +00:00
fvdl 6f517be9eb Return the right value for modf(). Fixes PR 22503. 2003-08-16 21:45:50 +00:00
pk fda797e0a4 sun4/sun4c MMU: keep `wired' status per page, implemented by defining a bit
in the PTE word that is not used by the hardware. Use it to unlock a `pmeg'
if the wired count in a segment drops to zero.
2003-08-16 19:21:21 +00:00
martin b1fbf8b8ca Add an example for creating a bootable i386 floppy. 2003-08-16 18:42:53 +00:00
yamt 1877d60129 use sizeof() instead of a hardcorded constant. 2003-08-16 18:09:14 +00:00
yamt 3fcbf88d41 current trylater/jukebox retry delay is way too long and
it has a bug in the backoff calculation. so,
- clip it to 1-60 sec. (suggested by Rick Macklem)
- use a constant multiplier instead of nfs_backoff, which
  is already exponential.
- move some related constant definations to nfs.h from nqnfs.h and
  prefix with NFS_ instead of NQ_ because they are not nqnfs-specific.
2003-08-16 18:08:27 +00:00
christos baa8a63141 Remove unused lines. 2003-08-16 16:03:05 +00:00
drochner 4063218cee add vm86 2003-08-16 15:43:00 +00:00
hannken af69915880 Add bus_dmamap_sync as dma regions are no longer uncached. 2003-08-16 15:40:41 +00:00
drochner 1aa623b237 some basic vm86 tests, with and without separate signal stack 2003-08-16 15:02:35 +00:00
agc 94c84c33c4 add an item to the small projects list - POSIX async IO 2003-08-16 12:27:54 +00:00
lukem 58cb3cd0a2 in getkernelconf(), remove check for non-empty $makeobjdir, as it's not
performed elsewhere in similar code, and causes problems if you run "kernel="
without an operation that performs "make obj" in sys/ beforehand.
2003-08-16 11:46:44 +00:00
itojun 3bcba4f62b do not disconnect L4 connections on IP address removal. the behavior
is too extreme (consider DHCP/PPP-based fixed address allocation).
see tech-net for more info.
2003-08-16 11:30:35 +00:00
dsl 72fa43211e gcc for sparc seems to barf at 'int_var * 0x100000000ull' so do
'(uint64_t)(uint)int_var << 32' even though it generates twice as many
instructions on i386!
2003-08-16 07:04:17 +00:00
itojun 8fb8c94387 regen 2003-08-16 06:39:12 +00:00
itojun 9a9c255e39 Corega USB-TXC (uses Davicom DM9601E, does not work with existing driver) 2003-08-16 06:36:29 +00:00
jonathan f4c2260f8a Make if_loop MTU settable via SIOCSFMTU/ifconfig. Useful for testing,
and for regression-testing performance at various MTUs.

NB: route MTU may not track MTU changes, which may cause problems for
AF_ISO if loopback MTU is decreased. I've never seen problems with IP,
in various tests going back to around NetBSD 1.3.
2003-08-15 19:22:08 +00:00
kochi e7df232658 'struct acpi_resources' will have references to malloc'ed memory.
So it's better to not to allocate on stack.
2003-08-15 17:22:23 +00:00
jonathan 2ea4c76684 Fix bug with IP_DF handling which was breaking TCP: on FreeBSD, ip_off
is assumed to be in host byteorder during the input(?) path.  NetBSD
keeps ip_off and ip_len in network order.  Add (or remove) byteswaps
accordingly.  TCP over fast_ipsec now works with PMTU, as well as without.
2003-08-15 17:14:31 +00:00