Commit Graph

164822 Commits

Author SHA1 Message Date
garbled e7da798e38 Add bebox mkbootimage stuff to the unified mkbootimage. It should work
in theory, assuming:

a) I didn't mess up
b) The original code in bebox/stand actually works
2007-12-20 22:59:59 +00:00
phx d2a9b2ff83 VT8231 IDE workaround for native mode with "compatibility" interrupts 14/15.
This time done right by calling pciide_machdep_compat_intr_establish() to
get a MD interrupt handler.
Verified that it compiles for XEN again.
2007-12-20 22:24:40 +00:00
dsl 0acba075bd Kill syscall fancy.
Optimise matching native code.
2007-12-20 22:16:50 +00:00
ad 8134491688 Use new style memory barriers. 2007-12-20 21:09:00 +00:00
dyoung 6f3852fab4 Constify struct ifnet->if_sadl and every use throughout the tree.
Add if_set_sadl() that both sets the link-layer address length and
replaces the current link-layer address with a new one, and use it
throughout the tree.
2007-12-20 21:08:17 +00:00
dyoung d0630858ad Add IEEE80211_NODE_UNLOCK() to match the IEEE80211_NODE_LOCK() . 2007-12-20 20:56:18 +00:00
dyoung 9f5c1f09f7 Use LIST_FOREACH(). 2007-12-20 20:48:24 +00:00
dyoung 396e67c2e6 Add definitions for several more registers on the AMD Elan SC520
System Controller.
2007-12-20 20:44:58 +00:00
christos 14002ac9c8 make sup-0.2 2007-12-20 20:25:08 +00:00
martin 7080c9db1e A few missing ifdefs to make non-INET6 kernels build again. 2007-12-20 20:24:49 +00:00
skrll f4ce2b2831 Fix typo that broke bt /a with curlwp 2007-12-20 20:24:47 +00:00
christos 8f6e6d108f include libc.h and c.h after all the headers, so that __unused is not defined
until the headers have been included.
2007-12-20 20:17:52 +00:00
christos fc5737cefd use setproctitle, so that we know which host we are serving. 2007-12-20 20:17:15 +00:00
christos 3791e7cc61 - add setproctitle
- add commented out DEFS for the layout I use.
2007-12-20 20:16:34 +00:00
christos d5abced1d5 If the filesystem where the scan file resides got full while the scanner is
running, you can end up with an incomplete scan file because there was no
error checking done. Then sup will happily delete all the files that are
missing from the scan file. Make sure we have written a good scan file before
renaming.
2007-12-20 20:15:59 +00:00
christos 55dfe21e44 more EE_XXX stuff for different layout. 2007-12-20 20:14:24 +00:00
christos 92376661d1 __unused for those who don't have it [linux] 2007-12-20 20:12:12 +00:00
pooka ce8249d73f Don't allocate DEV_BSIZE from the stack, use kmem instead. 2007-12-20 20:12:01 +00:00
christos 6ec6ec5548 setproctitle for those who don't have it [linux] 2007-12-20 20:11:24 +00:00
ad 4f4f294aa3 Decode cmpxchg8b correctly. 2007-12-20 19:53:47 +00:00
dyoung 72fa642a86 Poison struct route->ro_rt uses in the kernel by changing the name
to _ro_rt.  Use rtcache_getrt() to access a route cache's struct
rtentry *.

Introduce struct ifnet->if_dl that always points at the interface
identifier/link-layer address.  Make code that treated the first
ifaddr on struct ifnet->if_addrlist as the interface address use
if_dl, instead.

Remove stale debugging code from net/route.c.  Move the rtflush()
code into rtcache_clear() and delete rtflush().  Delete rtalloc(),
because nothing uses it any more.

Make ND6_HINT an inline, lowercase subroutine, nd6_hint.

I've done my best to convert IP Filter, the ISO stack, and the
AppleTalk stack to rtcache_getrt().  They compile, but I have not
tested them.  I have given the changes to PF, GRE, IPv4 and IPv6
stacks a lot of exercise.
2007-12-20 19:53:29 +00:00
dyoung 241d11997f Remove shutdown hooks. Use KASSERT(). 2007-12-20 18:47:23 +00:00
dyoung f2a1e06d0a Use __arraycount(). 2007-12-20 18:45:32 +00:00
dyoung a31aaaf8bb Use LIST_FOREACH(). 2007-12-20 18:13:26 +00:00
dyoung c669c33b43 Move more code in gre_clone_destroy() under splnet() protection,
in order to protect against gre_input() on a destroyed gre.
2007-12-20 18:12:11 +00:00
garbled 39fda4680b add verbose flag to usage statement. 2007-12-20 18:00:18 +00:00
garbled 690f8887fc Port over the code from rs6000/stand/mkbootimage. Now the unified
mkbootimage can build both prep and rs6000 images.
2007-12-20 17:58:49 +00:00
apb f228d2e41d Pass NETBSDSRCDIR in the environment to make. This is insurance against
Makefiles that should have an early .include <bsd.own.mk> but that fail
to do so.  It's also slightly more efficient.
2007-12-20 17:04:57 +00:00
apb 3501e2d554 .include <bsd.own.mk> early, otherwise the .PATH doesn't always work.
Now "etcupdate -s /path/to/src" should no longer complain about being
unable to make atf-run.hooks.  build.sh passes NETBSDSRCDIR in the
environment, so it used to work even without this include.
2007-12-20 16:53:59 +00:00
dyoung a3f7b0e7a0 Constify. 2007-12-20 16:19:38 +00:00
dyoung c9b4d7e0b1 Call genfs_node_init a little earlier to avoid a vput()ing an
uninitialized node, later, which leads to a kernel panic.  Patch
by Antti Kantee.
2007-12-20 16:18:57 +00:00
joerg 5b91827faa Document MP support for ACPI S3. 2007-12-20 16:08:51 +00:00
martin 53a105b083 Disable the umac-64 MAC for now, it needs to be rewritten from scractch.
Addresses PR bin/37562.
2007-12-20 14:14:04 +00:00
skrll f63ceafc74 typo in comment. 2007-12-20 08:11:31 +00:00
apb 2912d6fb40 Comment out an example, which was accidentally uncommented in my previous
change to this file.  This is where the mystery /dev/foo came from.
2007-12-20 07:30:25 +00:00
uebayasi bbd52a396e Use TAB in .Bd -literal. 2007-12-20 03:21:47 +00:00
ad 163e94a67e 64-bit atomic ops for i386. 2007-12-20 01:27:24 +00:00
joerg bc8d3e534e It seems like ACPICA can't deal with GPEs being handled before the GPE
handler is called, so clear the GPE bit in the callout as well.
This fixes the EC issues on T42 models.
2007-12-19 20:48:56 +00:00
dsl d975bc8ffa Remove all the __P 2007-12-19 20:31:35 +00:00
garbled f97bd8894f bring over bootrec.h from rs6000/stand/mkbootimage 2007-12-19 19:50:14 +00:00
garbled a3af60a95e s/prep_magic.h/magic.h/ 2007-12-19 19:47:08 +00:00
garbled 4fcef35aac Add rs6000 stuff in here now. 2007-12-19 19:46:31 +00:00
garbled ec9be1a886 Changed my mind on naming this prep_magic.h. Change it back to magic.h.
Sorry for the churn.
2007-12-19 19:45:32 +00:00
garbled 2f6e46a275 Change the prep bootloader to reach over into the
powerpc/stand/mkbootimage directory for the magic.h file.
2007-12-19 18:28:50 +00:00
macallan 6f048fd242 build the glint driver on sparc64 2007-12-19 17:33:55 +00:00
macallan 930f62ff15 -DGLINT_AVOID_INT10 on archs where we're seriously unlikely to encounter a
GLint in VGA legacy mode
2007-12-19 17:15:54 +00:00
joerg 358c956d05 Also recognize year-month as suggested by Alan Barrett. 2007-12-19 16:45:41 +00:00
joerg c98485db44 Make syntax checking more strict and recognize year/month.
One Finish and German developer agree that month year is a stupid
order, the French and British guys disagree and the only natural
choice left is to make it understand ISO style.
2007-12-19 15:52:50 +00:00
rillig 5adf6fa315 Added myself. I must have forgotten to do this some years ago. 2007-12-19 15:03:26 +00:00
pooka 4d243cfc9d use generic getattr 2007-12-19 14:01:30 +00:00