Commit Graph

162890 Commits

Author SHA1 Message Date
simonb 916b0a21f9 Some space-to-tab changes.
XXX: All the recently added ich8 support functions use 4-space indent,
     not touching that...
2007-10-30 07:49:40 +00:00
nisimura 9169c01b13 correct to have PCN32 init_block. add it to the driver list to use. 2007-10-30 05:05:19 +00:00
nisimura 9cc69ec81f make this less dependent to the rest of NetBSD kernel. 2007-10-30 04:29:51 +00:00
christos e988ecba95 bump date 2007-10-30 02:29:22 +00:00
christos 349d978117 From Anon Ymous:
- Add a "forward" command as requested by garbled@.
  From the manpage:

  forward
	  Takes a list of messages and prompts for an address (or
	  addresses) to forward each message to.  If no message list is
	  specified, the current message is used.  The mail editor is run
	  for each message allowing the user to enter a message that will
	  precede the forward message.  The message is sent as a multi-
	  part/mixed MIME encoded message.

- Add the ability to match messages that do (or do not) contain a
  header field.  E.g., the command "f ! /Subject:" will display the
  list of messages that are missing a "Subject" field.

- Teach savemail() to prefix fake headlines so the mbox doesn't get
  broken.

- Fixed a couple of "bugs" in the attachment editing routine.
2007-10-30 02:28:30 +00:00
nisimura d1fea0c157 major PCI rework to make possible NIC autoconf. now bootloader
can have multiple network interface device drivers and choose one
by PCI_ID_REG matching.
2007-10-30 00:30:13 +00:00
xtraeme c9ebd528c1 options<space><tab>FOO 2007-10-30 00:03:50 +00:00
christos 2283d346cb From Anon Ymous:
knf changes:
- s/sizeof x/sizeof(x)/.
- remove unnecessary malloc typecasts.
- whitespace nits.
2007-10-29 23:20:37 +00:00
peter 9bc22ed904 wsdisplay has been converted to device_t/softc separation so we can't cast
the wsdisplay device to the wsdisplay_softc anymore.  Use device_private()
instead to get the softc.
2007-10-29 20:45:57 +00:00
christos ed1a8fea8d build stack protector locally so that we don't call syslog_ss that results
in 1/2 of libc dragged in.
2007-10-29 20:36:31 +00:00
pavel 273be3c5e5 bump date. 2007-10-29 20:28:26 +00:00
pavel 03c46b4379 regen the list of changes from
htdocs/releases/formal-4/NetBSD-4.0.xml#major-changes, rev. 1.28.
2007-10-29 20:25:08 +00:00
pooka f7de032584 lock massage, although I don't think there's a happy ending here 2007-10-29 17:47:33 +00:00
dyoung 6709ce7762 The IPv6 stack labels incoming packets with an m_tag whose payload
is a struct ip6aux.  A struct ip6aux used to contain a pointer to
an in6_ifaddr, but that pointer could become a dangling reference
in the lifetime of the m_tag, because ip6_setdstifaddr() did not
increase the in6_ifaddr's reference count.  I have removed the
pointer from ip6aux.  I load it with the interesting fields from
the in6_ifaddr (an IPv6 address, a scope ID, and some flags),
instead.
2007-10-29 16:54:42 +00:00
pooka 40ffc8b91f Sprinkle some hackish locks here and there, just enough to allow
libp2k & rump to run multithreaded.
2007-10-29 15:52:44 +00:00
yamt 94c0a71eb1 reduce dependencies on opt_sched.h. 2007-10-29 12:16:54 +00:00
jnemeth e942f6d60e PR/37243 - Joerg Niendorf -- fixup botched addition of -i option 2007-10-29 11:22:59 +00:00
rjs b641aac5c9 The kernel config has been renamed to GENERIC. 2007-10-29 09:45:31 +00:00
itohy d3de8bec66 Fix problem where targets with ID 0, 1, or 2 couldn't be reconnected.
It seems I have always tested with targets those ID >= 3,
and that I am the only user of this driver.
2007-10-29 03:17:24 +00:00
ad e7976c8a86 Mark cpu_info::ci_tlbstate volatile to ensure that the compiler doesn't
reorder accesses to it. It's updated from the TLB IPI handlers and we don't
block those, so the order in which things are read/updated is important.
2007-10-29 01:35:36 +00:00
xtraeme b1afa665db Mention coretemp(4). 2007-10-29 01:00:52 +00:00
xtraeme cc39c5b4b9 Add coretemp(4). 2007-10-29 00:54:18 +00:00
xtraeme 1d390936f8 Enable "options INTEL_CORETEMP". 2007-10-29 00:47:16 +00:00
xtraeme e3b08fdabe Add coretemp(4). A new driver for Intel Core's on-die thermal sensor,
available on Intel Core or newer CPUs.

Ported from FreeBSD. Tested by rmind on i386 and joerg on amd64.

Enabled with "options INTEL_CORETEMP".
2007-10-29 00:42:28 +00:00
yamt 79606bd6fa make NFS_ATTRTIMEO a function. 2007-10-28 22:24:28 +00:00
rjs 08f1734743 Fix typo. s/conat/const 2007-10-28 21:33:23 +00:00
pooka cb11cd8fde In uvm_estimatepageable() "estimate" pageable. 2007-10-28 18:54:17 +00:00
plunky baebd7699a remove unnecessary cast (shortens long line) 2007-10-28 18:49:52 +00:00
pooka 9038ffc17c Use puffs prepost ops for setting pid/lwpid instead of separate
calls in all methods.
2007-10-28 18:41:54 +00:00
pooka b40b63f077 Add possibility to set pre- and post callbacks which will be called
for all operations before or after executing the specific callback
(the api is not be final yet, though).
2007-10-28 18:40:30 +00:00
dsl 9b2fcb3d05 Add (commented out) SYSCALL_COUNTS and SYSCALL_TIMES. 2007-10-28 18:39:38 +00:00
dsl 121ee101f7 Add support for the SYSCALL_STATS and SYSCALL_TIMES options. 2007-10-28 18:35:49 +00:00
jmmv b86dc43816 Note the removal of pccons(4) from NetBSD/shark. 2007-10-28 18:13:38 +00:00
jmmv 894e7dfa00 Note removal of pccons in NetBSD/shark. 2007-10-28 18:03:31 +00:00
jmmv d749362b97 Drop pccons. Obsoleted by wscons, now fully supported in NetBSD/shark.
OK'ed by thorpej@ and tsutsui@ a while ago.
2007-10-28 18:01:54 +00:00
adrianp aaf8e048ae The function ipsec4_get_ulp assumes that ip_off is in host order. This results
in IPsec processing that is dependent on protocol and/or port can be bypassed.

Bug report, analysis and initial fix from Karl Knutsson.
Final patch and ok from degroote@
2007-10-28 15:48:23 +00:00
joerg b6c45f0dfa More debugging reveals that the U7600 really wants to use the same
voltage for different frequencies. The fake table can be computed as
driven by the frequency here as well, but don't recompute the voltage as
it would result in an underflow.

Fix argument order in a debug message to match the format string.
2007-10-28 15:15:35 +00:00
isaki 4553314da2 Stop installing inst.fs.gz (and kern.fs).
inst.fs of 1200KB is too small to contain a recent image.
2007-10-28 13:59:53 +00:00
rjs 04a1aa35a4 Move prototype for kd_later() before first use. 2007-10-28 13:29:21 +00:00
ragge 1990d3d4ad x86 -> i386.
Fix include paths, now compiles.
2007-10-28 10:06:41 +00:00
tsutsui b682074ae4 Don't print Drive serial number if -S (setting shell variables) is specified. 2007-10-28 10:02:08 +00:00
skrll f1273d89a6 Set up the tail of the instruction address queue so that
we don't have to rely on luck for swapcontext(3) to work.

This fixes a problem pointed out to me by Chuck Silvers.
2007-10-28 09:38:06 +00:00
jnemeth 62ce053780 no such user as _authpf, just a group 2007-10-28 09:36:01 +00:00
jnemeth 2fa555aeb3 group rwhod -> _rwhod and add user _rwhod 2007-10-28 09:31:15 +00:00
nisimura ae8068f5f7 still remain crude, work in progress. 2007-10-28 03:15:04 +00:00
dsl b279dc62eb Instead of having 2 copies of the sycall entry code, reprocess the file
to generate syscall_plain() with #defines to remove the trace calls.
Join the club of making micro-optimisations to this code to speed up
benchmarks of empty system calls (eg getpid()):
- Use __predict_false() to get fewer branches in the 'normal' path.
- Just copy all the arguments from the stack frame to 'args', since the
  jump indirect for the switch statement is basically unpredicatable.
- Keep the (rather pointless) test for 0 arguments - just for higher
  benchmark scores.
NB system call timing are dominated by other factors! I measured getppid()
  as faster than getpid(), sometimes open("foo", -1) was also faster.
I also suspect that if trace_is_enabled(p) were a simple bit test (that
could be inlined), then the cost of the tests would be unmeasurable and
the syscall_plain/fancy fiasco could be expunged completely.
2007-10-27 22:56:41 +00:00
jnemeth e5922f73c9 sort users/groups to be manually created 2007-10-27 19:55:35 +00:00
plunky 60822ed9d3 When no estimate of battery minutes_left can be made, apm should
return a value of 0.
2007-10-27 19:51:29 +00:00
pooka eff8fdc9d1 Prevent recursion in INACTIVE -> vrecycle -> inactive -> ... 2007-10-27 19:36:34 +00:00
christos b4403619e0 bump date. 2007-10-27 18:43:37 +00:00