Commit Graph

161493 Commits

Author SHA1 Message Date
xtraeme 031bec6d2c Some changes for the ichlpcib driver:
- Moved to x86/pci, so that EM64T systems running NetBSD/amd64 can use it.
- Added support for the TCO on ICH6 or newer chipsets, adapted from
  FreeBSD.
- Added timecounter support for the power management timer, adapted from
  OpenBSD.
- Plus some misc/cosmetic changes.

Thanks to yukonbob on irc@freenode for testing the TCO part on ICH4-M.
Tested by me with ICH7 too.
2007-08-26 16:49:47 +00:00
manu 85bab9a8aa Document ipsec-tools integration and branches 2007-08-26 13:38:27 +00:00
manu 68fd000576 Add other ipsec-tools maintainers 2007-08-26 13:13:34 +00:00
xtraeme 51e9d204ec Check if the dictionary is empty and print a message if it's true. 2007-08-26 10:20:33 +00:00
macallan e44cd7ace2 add some comments 2007-08-26 07:24:58 +00:00
macallan 7863a2faed cleanup, fix some typos 2007-08-26 07:24:28 +00:00
xtraeme fc39e77a79 regen 2007-08-26 07:19:11 +00:00
xtraeme 401952b610 Add two ICH8 LPC Interface Bridges. 2007-08-26 07:18:53 +00:00
gdt 74e0db6ec7 Note that ipsec-tools is now maintained within the NetBSD repository. 2007-08-26 06:02:24 +00:00
matt cf57b7579b Move _ARM_ARCH_* from asm.h to cdefs.h so everyone can use them.
Add _END/END/ASEND which every port's asm.h should have.
Add GET_CPUFINO(rX).  Reserved for future use. :)
Use %foo instead of #foo
2007-08-26 04:02:39 +00:00
macallan 09a01aa602 add a driver for Fujitsu AG-10e graphics boards
Features so far:
- use the blitter for scrolling and solid fills
- the usual wscons stuff, virtual consoles etc.
Things missing:
- /dev/fb* support
- XFree86 support although wsfb in 8bit should work
- hardware cursor support for X
- character drawing in hardware so we can run the blitter completely
  asynchronous
2007-08-26 00:39:39 +00:00
macallan 740e56f356 register definitions and some drawing routines for Number Nine Imagine 128
graphics controllers
2007-08-26 00:34:34 +00:00
martin 782448944c Remove INITSTACK completely - at the time we used to switch to it, we
already have access to all of lwp0 and it's uarea - so we can switch
to the correct lwp0 stack easily before calling main.
2007-08-25 19:16:10 +00:00
martin 3f79b658b2 When exiting to OF, use the interrupt stack instead of INITSTACK 2007-08-25 15:52:41 +00:00
martin 9f1bca5c1d Rework cpu_mp_startup slightly:
- temporarily use the cpu's interrupt stack untill we are ready
   to access non-OF-based mappings, then directly switch to the cpu's
   idlelwp's uarea stack
 - disable interrupts untill we are ready to call C code
2007-08-25 15:50:24 +00:00
pooka ec5345d9bc Now that we don't dump operations by default, might as well detach
from the console by default also.  (but still would be nice if someone
provided options to toggle these using the fuse options framework)
2007-08-25 12:03:59 +00:00
pooka 1cf445da3e Don't play rename & typecast games with kauth_cred_t, but rather
declare the type in rump.h only if necessary with the help of ifdef
magic.
2007-08-25 10:22:31 +00:00
jnemeth ed8e813048 add HHOS -- ha ha, only serious 2007-08-25 10:13:50 +00:00
pooka b017aa6055 Pass usermount to errnotify, it might not be available there through
other structures.  CID 4496
2007-08-25 09:30:41 +00:00
pooka 485aeac15e error branch management. CID 4503 2007-08-25 09:22:39 +00:00
pooka c64b357f71 jump to correct error branch. CID 4500 2007-08-25 09:01:08 +00:00
apb e2832b6345 Back out previous (which worked but made the code harder to understand),
and implement a different method of avoiding a "-0" result.
2007-08-25 07:07:39 +00:00
tsutsui 6c35be946a Save/restore curlwp on calling ROM_GETC() and ROM_PUTC() functions,
which might break %s7 register.
2007-08-25 00:25:44 +00:00
ad 8b381466db The Atheros HAL on MIPS uses %s7 as a general purpose register, but the
rest of the kernel uses it to store the value of curlwp. Sam won't
recompile the HAL for us (fair enough), and we can't modify the HAL
to use another register because doing so could put us in breach of
the license (v. crappy). So, do a save/set/restore on %s7 in KernIntr()
and in the stubs that the HAL uses to call back into the kernel.
2007-08-24 23:52:10 +00:00
dyoung e7e5e02759 Overhaul gre(4), especially the GRE in UDP bits:
* Create the kernel thread in gre_clone_create() instead of trying
  to create it in gre_ioctl().  (Thanks ad@ for suggesting it, and
  pointing out that I can't kthread_create while I hold a spin
  lock.)  Run the thread always, but put it to sleep while the
  gre(4) is not in UDP mode.

* Use sockaddr_in_init().

* Move some thread state off of the stack and into the softc.

* Extract subroutines gre_do_recv(), gre_do_send(), and gre_reconf()
  from gre_thread1(), making the code more readable.
2007-08-24 23:38:31 +00:00
macallan a3b32b42df use bool with prop_dictionary_get_bool() 2007-08-24 19:12:21 +00:00
skd 1e30d70843 /libexec, not /usr/libexec. 2007-08-24 17:11:58 +00:00
martin fe7b5be8b0 Cosmetics: print 0 instead of -0.
From Zafer Aydogan in PR bin/36831.
2007-08-24 17:02:32 +00:00
reed 2680c8169c 3 typos/mispellings.
A lot more to do in here as many spellings are wrong or inconsistent.
2007-08-24 14:35:17 +00:00
reed 85a0c6744d Edit the "Women get the vote" entry to say "get the right to vote".
(Since "get the vote" doesn't tell much here about how a legislator
made the last vote to put this in effect.)
And so this calendar entry mentions U.S. also mention the 19th
Amendment to US Constitution.
2007-08-24 14:28:04 +00:00
nonaka be0c6c02e3 url(4) require urlphy(4). 2007-08-24 13:34:58 +00:00
pooka 73d7189c08 If a node is forcibly reclaimed, close can be called more times
than open (or less, for the particular fs).  So don't be uptight
about opencount.
2007-08-24 13:33:51 +00:00
pooka 1a9e88bd0f fix/clarify VOP_CLOSE 2007-08-24 09:57:03 +00:00
kiyohara 23c4e6ee8e Add some devices for Bluetooth, CardBus, PCMCIA, USB.
Remove white-spaces.
2007-08-24 03:21:09 +00:00
kiyohara ae871a0c2d The variable slhci_usbdebug is defined in '#ifdef SLHCI_DEBUG' and
'#ifdef USB_DEBUG'.
  Reported by Bernd Ernesti <netbsd@lists.veego.de>
2007-08-24 01:49:08 +00:00
ad 342557fb0f Update. 2007-08-23 19:21:40 +00:00
ad 0225b043d2 Acquire the correct lock in pthread_detach(). Spotted by Jan Kryl. 2007-08-23 19:13:23 +00:00
pooka 9b93e5ea2c Prevent crash in case there is more than one reader for the same
directory concurrently.  Might need to revisit the method used here
later, though.
2007-08-23 15:19:40 +00:00
joerg eeb69d2fa6 Import pkg_install-20070821. 2007-08-23 15:19:12 +00:00
pooka 8b0f2e2191 Support nfs exporting file systems. 2007-08-23 14:37:40 +00:00
pooka 05eae67bb1 Add a third type of fh option, passthrough, where the kernel does
not attempt to handle struct fid at all and passes it as such to
userspace.
2007-08-23 14:36:46 +00:00
he 582037c8a5 Add libexec to SRCDIRS so that the source of the newly added
lfs_cleanerd can be found.
2007-08-23 12:24:14 +00:00
tnn ca5c2e9bf5 apm emulation needs envsys. From Jukka Salmi on the current-users list. 2007-08-23 10:04:07 +00:00
skrll d0df193a7c Update the status of hppa and arm wrt yamt-idlelwp branch. 2007-08-23 08:30:57 +00:00
lukem f1fbb660ed Cast the field precision calculation to int.
Should fix the amd64 build problem noticed by Paul Goyette.
2007-08-22 23:47:13 +00:00
pooka 083b854262 Dump lookup/componentname specific info in opdump.
(sigh, I guess I guess I'll never do opdump properly at this rate)
2007-08-22 17:57:48 +00:00
pooka e6d6dce9bf Mimic namei structure changes for puffs. bump both kernel & lib version. 2007-08-22 17:54:30 +00:00
pooka dc6f853934 struct nameidata/componentname size changes
Welcome to 4.99.30, we wish you a pleasant stay.
2007-08-22 17:52:16 +00:00
pooka a42494ad5f regen:
Modernize struct nameidata types: long -> int32 or size_t,
depending on the case.
2007-08-22 17:50:26 +00:00
pooka ac90038baa Modernize struct nameidata types: long -> int32 or size_t,
depending on the case.
2007-08-22 17:49:40 +00:00