Commit Graph

162915 Commits

Author SHA1 Message Date
pooka 6cc957f067 "Support" splhigh(), requested by reinoud. But the spl emulation
code needs to be actually written soon ...
2007-10-31 16:00:26 +00:00
pooka 87f9ee4c42 Make it possible to run rumps multithreaded. This brings real
locking and makes it possible to run file systems which create
threads.  It also makes rump file system behaviour better match
file system behaviour in the kernel.
2007-10-31 15:57:19 +00:00
reinoud ed2d3954ca Fix panic when the VAT couldn't be found. It would refer an stale
udf_node->vnode.
2007-10-31 15:42:13 +00:00
pooka 38bc08f047 Wrap parts dealing with kernel_lock behind #ifndef _RUMPKERNEL.
I don't like doing this, but there's too much pain to get this file
to compile clean due to how SPINLOCK_{BACKOFF,SPIN}_HOOK and
mb_write() are spread out in weird weird places throughout MD code.
2007-10-31 15:36:07 +00:00
gdt e6599a52d6 Change buffer for SIOCGIFCONF usage from 2048 to 32768. Because the
code to retry on SIOCGIFCONF not returning all interfaces is broken,
this unreasonably large buffer should handle the case of a machine
with lots of (usually virtual) interfaces.  dhcpd 4 uses a different
method to get interface configuration, so this kludge should go away
on upgrade.

Fix based on understanding of the code, but has been compile-tested
only, to address failure report received from Michael Graff.
2007-10-31 15:26:51 +00:00
tsutsui a0220d0607 - use chaned mode for RX descs and allocate only one desc per each cacheline
to avoid possible race condition between CPU writeback vs DMA write
- remove unnecessary FS and LS bits from RxD->xd0
  (sys/dev/ic/tulipvar.h sets them but maybe they are ignored?)
2007-10-31 13:30:46 +00:00
jnemeth a04503ddd4 PR/37251 - Brian Buhrow -- FORCE_LBA48 on seagate drives larger then 1TB 2007-10-31 09:51:20 +00:00
njoly 99e027abbb Remove extra return 2007-10-31 09:16:55 +00:00
xtraeme decb1bb096 regen 2007-10-30 20:58:57 +00:00
xtraeme 7de6799988 Erm fix previous, it's Intel IOP333 not 332. 2007-10-30 20:58:38 +00:00
christos 2ea9efab12 sort models, and better reflect reality on the model numbers. From Anon Ymous 2007-10-30 20:56:00 +00:00
xtraeme bd180c262f regen 2007-10-30 20:44:31 +00:00
xtraeme 2f4ec3ec94 Add Intel IOP332 A/B Segments. 2007-10-30 20:44:12 +00:00
tls 918f0e5e02 Try to address mess with user_from_uid and friends by ensuring we always
get our versions if any of the functions aren't present on the host system.

Still assumes if the functions are all there, they work like ours, which
may be a problem too.
2007-10-30 20:23:35 +00:00
christos dc2d7f4fa6 don't use u_long because it is present only with _NETBSD_SOURCE 2007-10-30 20:02:48 +00:00
joerg 2cdafd23af Add another Dell machine where the head phone event needs to be handled. 2007-10-30 19:36:10 +00:00
skrll 29353f93e2 Build a local copy of exit that doesn't call __cxa_finalize. It's not
needed and drags in a lot of libc via free.
2007-10-30 17:19:59 +00:00
tsutsui 4501e92c93 Fix my stupid bug in cache flush code and remove one kludge for it. 2007-10-30 16:38:54 +00:00
christos fef32d862e From Anon Ymous: Make this compile without MIME_SUPPORT. 2007-10-30 16:08:11 +00:00
tsutsui 33b1553ffb Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.
2007-10-30 15:07:07 +00:00
xtraeme 4fb0cdd56b regen 2007-10-30 12:39:48 +00:00
xtraeme 97f9e12807 Areca ARC SATA RAID Controllers, from OpenBSD. 2007-10-30 12:39:24 +00:00
jnemeth d7d1da9b0d PR/37201 - Yasushi Oshima -- Intel 82965G chipset support 2007-10-30 12:20:03 +00:00
jnemeth 5afd2ed88c regen 2007-10-30 12:13:48 +00:00
jnemeth e8e599a0e3 PR/37201 - Yasushi Oshima -- Intel 82965G chipset support 2007-10-30 12:13:06 +00:00
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