173976 Commits

Author SHA1 Message Date
apb
d8a2ffd59a Try to improve documentation of the fact that the primary bootstrap is
specified using a file name on the running system, while the secondary
bootstrap is specified using a file name relative to the root of the
file systrem in which the installation is being performed.

Inspired by PR 39728 by der Mouse
2008-10-12 16:02:45 +00:00
plunky
1bd707dd19 ip6_pcbopts() is called with the socket lock held, use M_NOWAIT 2008-10-12 15:24:10 +00:00
plunky
452f1527b6 ip6_pcbopt() is in the ctloutput path, we should not
sleep here because socket lock is held. use M_NOWAIT
2008-10-12 15:12:17 +00:00
tls
383c324d74 Fix kernels without accf_data or accf_http. I'll modularize this better
on Monday, but this will get people building again while still removing
the silly dependency on INET.
2008-10-12 13:39:42 +00:00
pgoyette
eacec974a3 Add an i2c attachment for the LM78 family of temp sensor/fan control
Tested by Martin Husemann
2008-10-12 13:17:28 +00:00
pgoyette
a3cdedf605 Move the {read,write}reg() routine addresses into the dbcool_softc so
that we can use different routines for macppc's ki2c attachment.  Fixes
problems reported by Robert Fritzsche on current-users@ list.
2008-10-12 12:49:04 +00:00
plunky
76528ab801 convert ip6_[sg]etmoptions() to use sockopt(9) API
should be no functional change
2008-10-12 11:34:48 +00:00
bouyer
7940b74931 Fix reading MAC address from eeprom: don't forget to read the last
descriptor.
While there, white space fixes.
2008-10-12 11:27:12 +00:00
plunky
d2fcfe2b55 update ip_pcbopts() to use sockopt(9) API.
cleans up function and one small fix is that we now stop copying user
options to the mbuf when the _EOL is given, previously this function
would continue to copy options.
2008-10-12 11:15:54 +00:00
plunky
aa5a0c9b51 do not sleep while allocating memory, socket lock is held
(use ENOBUFS for failure)
2008-10-12 10:25:04 +00:00
plunky
dba87c3cd4 do not sleep while allocating memory here as socket lock is held 2008-10-12 10:23:18 +00:00
mrg
52f0cd9c9e switch to per-arch multilib.h since we now use them.
now, given a correctly populated /usr/lib/{i386,sparc} directory, you
can "cc -m32" on amd64/sparc64 and have it be useful.

note that a trivial copy of 32 bit /usr/lib will not work, since you
end up with symlinks to the 64 bit /lib.  work on that part is in
progress...
2008-10-12 10:08:13 +00:00
plunky
55e1b371a4 update to clarify that
sockopt_init() may sleep
	sockopt_set() will not sleep
2008-10-12 09:27:57 +00:00
plunky
c827b856f4 fix problem pointed out by ad where sockopt may end up sleeping
inappropriately with the socket lock held.

    sockopt_init() may sleep

    sockopt_set() will not sleep

    sockopt_getmbuf() for legacy code will not sleep
2008-10-12 09:26:50 +00:00
tsutsui
8659ab3851 Add sequencer and vcoda. 2008-10-12 04:36:36 +00:00
rtr
13a4fd13da add reachover build for xf86-video-nvxbox 2008-10-12 03:09:10 +00:00
tsutsui
4c08651b76 Put a workaround for PR toolchain/39528:
Adjust a definition of MKDIR_P to invoke $ac_install_sh script
via $(SHELL) so that it will work even if executable bits are not
preserved in the source archives.

No objection on tech-toolchain.
2008-10-12 02:56:23 +00:00
dholland
ba8d06c990 Fix mangled attach output. Noted by Jari Kuittinen. 2008-10-12 02:15:02 +00:00
dholland
30a1416240 output.c output.h: expose OUTPUT_ERR (flag for an exposed flags variable)
bltin.h: support ferror()
echo.c: use ferror() to fail on output write errors

Another piece of PR bin/39574.
2008-10-12 01:40:37 +00:00
bouyer
540cab1ec8 jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.
2008-10-11 21:54:11 +00:00
bouyer
9fac915750 Support 64bit DMA on PCI busses. 2008-10-11 21:11:11 +00:00
tsutsui
a371a94350 - use aprint_debug_dev(9) for debug info
- use aprint_normal_dev(9) rather than aprint_normal(9) + device_xname()
2008-10-11 20:36:40 +00:00
dholland
f446f1c471 Print a message on two previously silent error paths in auvia_attach. 2008-10-11 20:08:15 +00:00
christos
6536944397 eval arguments one more time so that quoting works. 2008-10-11 17:28:03 +00:00
bouyer
88948cf5d2 Make SIOCSIFCAP work again on vlan interfaces: first check that the
capability is enabled on parent, then call ifioctl_common().
2008-10-11 17:19:41 +00:00
tsutsui
1c80af48f5 Now the cobalt kernel can detect boot device properly by boot strings
passed from the firmware, so change root file system type from
explicit nfs to generic '?' so that the INSTALL kernel can also be used
as a rescue kernel on localdisk.
2008-10-11 16:54:48 +00:00
tls
cef30423d3 Address problems with accept filters noted by ad in his source-changes
mail: http://mail-index.netbsd.org/source-changes/2008/10/10/msg211109.html

	* Scary-looking socket locking stubs (changed to KASSERT of locked)

	* depends on INET inappropriately (though now you must add new
	  accept filter names to the uipc_accf.c line in conf/files if
	  you aren't using dataready or httpready)

	* New code uses MALLOC/FREE -- changed to kmem_alloc/kmem_free;
	  could be pool_cache, these are all fixed-size allocations.

We need to verify that this works as expected with protocols with per-socket
locking, like PF_LOCAL.  I'm a little concerned about the case where the
lock on the listen socket isn't the same lock as on the eventual connected
socket.
2008-10-11 16:39:07 +00:00
pooka
2027ca6b58 Include <machine/cpu> for the benefit of archs where it doesn't happen
accidentally automagically.

Pointed out by Havard.
2008-10-11 16:23:24 +00:00
pgoyette
5789563301 Update cross-references for addition of dbcool(4) and removal of adt7463c(4)
and adt7467c(4).
2008-10-11 16:00:41 +00:00
joerg
cb095a70b7 Mention multiboot support for Xen. 2008-10-11 15:53:07 +00:00
jmcneill
c93dbbaca8 Revert previous. 2008-10-11 13:56:51 +00:00
pooka
7e5aba5af0 Move uidinfo to its own module in kern_uidinfo.c and include in rump.
No functional change to uidinfo.
2008-10-11 13:40:57 +00:00
joerg
1c412f9948 Add example of booting Xen. 2008-10-11 13:20:29 +00:00
pooka
dc2ebb63b8 Put ui_lock back and use it to modify the socket buffer size.
Typecasting quad_t * to long * and using atomic_add_long can't
possibly be expected to work!

Another fine error caught by the gcc type-punning warning.  That
really really should be on by default in the kernel.
2008-10-11 13:04:39 +00:00
christos
5403426c2e we don't have the ldap headers if MKLDAP=no (from dyoung) 2008-10-11 12:56:31 +00:00
pooka
b1ff74bdb1 Remove #ifdef LKM. Even if the correct form ("_LKM") were to be
used, it would still be pointless - double pointless is still
pointless.
2008-10-11 12:03:20 +00:00
joerg
9bb39d02a6 Add "multiboot" command to boot multiboot compliant kernels like Xen.
Patch provided by Robert Swindell with fixes for the command line
parsing and addition of passing module options from me. The kernel now
always gets the full string for modules like for the command line,
everything before the first space/tab is the path name of the module.
2008-10-11 11:06:19 +00:00
jmcneill
55c0ca3b69 ehci_check_itd_intr: correct logic for checking for active itds 2008-10-11 05:17:12 +00:00
jmcneill
5b4aed5dc9 If we're not dealing with an interrupt endpoint, invoke the xfer's
callback after calling the xfer's done method to give the device driver
a change to reschedule the same xfer, from FreeBSD.
2008-10-11 05:07:20 +00:00
mrg
9917d709a8 - add a i386/t-netbsd64 makefile fragment to build 32/64 bit
libgcc/multilib on amd64
- enable the 32/64 bit libgcc/multilib support on sparc64
- adapt mknative-gcc to grab multilib.h
- use --enable-multilib on amd64 and sparc64

none of this affects the installed tools yet, just the src/tools one.
2008-10-11 05:03:43 +00:00
jakllsch
c53df256ca regen 2008-10-10 23:53:19 +00:00
jakllsch
aaa79600f5 add Pinnacle Systems, Inc. and their PCTV HD Pro Stick (800e)
ok jmcneill
2008-10-10 23:50:39 +00:00
skrll
af82972758 RCSID police. 2008-10-10 23:09:19 +00:00
jmcneill
14f8dc1c88 regen 2008-10-10 22:49:30 +00:00
jmcneill
13371a99c0 Add ATI/AMD TV Wonder 600 and Empia Technology EM2883 product IDs 2008-10-10 22:28:53 +00:00
jmcneill
c223922bd6 Make cirpoll work. 2008-10-10 21:50:09 +00:00
hans
193647776f fix compile with options TRAPDEBUG, ok by matt 2008-10-10 21:13:35 +00:00
jmcneill
73e5218b04 cirkqfilter is not implemented, so remove any references to it so this
file will compile again
2008-10-10 21:07:52 +00:00
pooka
be7784b146 Provide time_uptime and push it forward every now and then if we happen
to have the timer thread.  rump uptime - woohoo.
2008-10-10 21:00:30 +00:00
pooka
1fbd8b20a8 * implement uvm_km_alloc/free_poolpage()
* add silly stubs for uvm_lwp_hold/rele()
2008-10-10 20:51:44 +00:00