Commit Graph

161513 Commits

Author SHA1 Message Date
jmmv
ebcc6a8e1a Fix typo in comment. 2007-08-30 11:37:53 +00:00
ad
68ee7ce6f5 amd64 doesn't have opt_noredzone.h. Just test DIAGNOSTIC instead. 2007-08-30 11:32:09 +00:00
ad
2697627d02 Grr. Add a couple more #ifdef MULTIPROCESSOR. 2007-08-30 11:30:29 +00:00
jnemeth
dbb24a617e update for iso-image-source 2007-08-30 10:45:03 +00:00
jnemeth
1f84965eb7 describe new iso-image-source target 2007-08-30 10:29:02 +00:00
dyoung
e44b703953 Move sc_fp & sc_newfp from struct gre_softc to struct gre_soparm. 2007-08-30 05:54:07 +00:00
msaitoh
a4237aa2b7 Add more work for the EEPROM reaload sequence.
Fix typo.
2007-08-30 05:48:50 +00:00
jnemeth
be5ca07182 mention new build.sh iso-image-source option 2007-08-30 05:32:26 +00:00
jnemeth
a186842ea2 Add an iso-image-source option which does the same thing as iso-image but
includes source sets as well.  The infrastructure for this was already
there, although it needed a bug fix.  Will look at adding arbitrary
directories next.
2007-08-30 05:30:02 +00:00
dyoung
7ac92eed2a Remove out-of-date debug message and comment. 2007-08-30 05:14:32 +00:00
dyoung
f562a76244 Cosmetic: remove an out-of-place comma in a comment. 2007-08-30 05:01:30 +00:00
dyoung
17038010cb Do not hold the mutex as much in gre_thread1(). Move initial mutex
acquisition and final release out into gre_thread().  This will
fix a locking bug that LOCKDEBUG exposed: holding a spinlock over
an sosend() call is a no-no.

Cosmetic: join some lines, remove some unnecessary curly braces.
2007-08-30 04:58:25 +00:00
macallan
c5a1329aa9 mention the ag10e driver 2007-08-30 04:47:13 +00:00
macallan
eb432e069e let build.sh build the ag10e driver 2007-08-30 04:45:02 +00:00
jnemeth
44f91e0e38 cd to previous directory after copying files so subsequent copies won't fail 2007-08-30 04:27:04 +00:00
macallan
2be61cb9fc attach a /dev/fb* so X can talk to the board 2007-08-30 04:18:18 +00:00
msaitoh
b7d1c5d613 EECD_EE_AUTORD is only for 8257{123},80003,ICH{89}.
Will fix "auto read from eeprom failed to complete" problem.
2007-08-30 03:02:23 +00:00
dyoung
c19a489b88 Cosmetic: use a name instead of a number for BAR0. 2007-08-30 02:39:11 +00:00
dyoung
a7ae782635 Make rtcache() and rtflush() block IPL_NET while they add/remove
a route from the cached routes list, so that the list won't change
out from under them.
2007-08-30 02:22:29 +00:00
dyoung
b3fc296326 Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool
and dom_sa_len members from struct domain.  Pools of fixed-size
objects are too rigid for sockaddr_dls, whose size can vary over
a wide range.

Return sockaddr_dl to its "historical" size.  Now that I'm using
malloc(9) instead of pool(9) to allocate sockaddr_dl, I can create
a sockaddr_dl of any size in the kernel, so expanding sockaddr_dl
is useless.

Avoid using sizeof(struct sockaddr_dl) in the kernel.

Introduce sockaddr_dl_alloc() for allocating & initializing an
arbitrary sockaddr_dl on the heap.

Add an argument, the sockaddr length, to sockaddr_alloc(),
sockaddr_copy(), and sockaddr_dl_setaddr().

Constify: LLADDR() -> CLLADDR().

Where the kernel overwrites LLADDR(), use sockaddr_dl_setaddr(),
instead.  Used properly, sockaddr_dl_setaddr() will not overrun
the end of the sockaddr.
2007-08-30 02:17:34 +00:00
ad
559e70d141 Remove STATUS paragraph which makes it sound like the build system is
half baked.
2007-08-30 00:35:11 +00:00
ad
fbb58ada61 Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.
2007-08-29 23:38:01 +00:00
dyoung
1751c5101f Constify: LLADDR() -> CLLADDR(). 2007-08-29 22:53:35 +00:00
dyoung
f59a11881a Constify: LLADDR() -> CLLADDR(). 2007-08-29 22:33:42 +00:00
agc
a577a06f30 Modify the NetBSD emulation of the FreeBSD __DECONST macro to include
the cast as well. From Dag-Erling Co\xEFdan Sm\xF8rgrav.
2007-08-29 22:28:23 +00:00
dyoung
cdffb92c2f Add interrupt stack "red zones". Reserve and unmap the virtual
pages immediately above and below the x86 interrupt stack so that
both an overgrown interrupt stack and other faults produce a page
fault trap.  Condition this on the historical option NOREDZONE,
for now.
2007-08-29 22:21:51 +00:00
dyoung
ecfdd24019 Use __arraycount(). 2007-08-29 22:14:00 +00:00
hira
02972af57d Use /libexec/ld.elf_so instead of /usr/libexec/ld.elf_so for the
programs which are located in /libexec.
2007-08-29 21:34:17 +00:00
xtraeme
769bd9886e In temperature sensors, do not convert to degC or degF if there's
no value returned.
2007-08-29 16:55:17 +00:00
jmmv
8583ef1822 Pack all global video-related variables into a structure for clarity.
A comment said that they weren't in a struct for speed reasons but...
this should not affect performance because these variables are mostly
used to set other variables (hence they are read few times).
2007-08-29 16:09:31 +00:00
pooka
09a4bf893f bump date
Wrath of wizd avoided because of quick tip from Juan RP.
2007-08-29 13:57:02 +00:00
pooka
94e818b264 Add table which summarizes operations supported by each queue type.
from Stathis Kamperis in PR misc/36857
2007-08-29 13:43:18 +00:00
jmmv
9220353379 Move the definition of multiple video-related variables into a new
header file (machine/video.h) so that we can kill all the "manual"
externs spread around the code (which were inconsistent among them).
2007-08-29 13:02:41 +00:00
xtraeme
ef90294f8c Attach to the ICH9 LPC Interface Bridges. The datasheet doesn't mention
any difference in the TCO part (compared to ICH[678]).
2007-08-29 12:54:05 +00:00
jmmv
2b47cc7981 Split the global videosize variable into videowidth and videoheight:
makes the code clearer and avoids multiple parts of it having to know
how videosize was encoded.
2007-08-29 12:39:31 +00:00
martin
b2d2477c73 Remove unused stuff 2007-08-29 11:34:14 +00:00
pooka
e268264882 u_short -> unsigned short 2007-08-29 10:32:01 +00:00
xtraeme
a71f5a7e9b Add cdce(4). 2007-08-29 09:44:56 +00:00
xtraeme
4ef83b5649 Bump date for previous (ICH9 support). 2007-08-29 09:04:04 +00:00
msaitoh
9d645794b3 add ICH9 2007-08-29 03:17:37 +00:00
dogcow
566517a891 add a flag, -p, that only prints public (i.e. non-encrypted) nodes. 2007-08-29 02:27:55 +00:00
cube
2eca33e853 Fix ipv4 multicast that could sometimes send packets with the wrong
Ethernet multicast address.

Reported by jmcneill@, fix discussed with dyoung@, _very_ light testing by
myself, some more money for my dealer of anxiolytics after reading
ip_output()'s twisted code maze.
2007-08-28 23:45:39 +00:00
agc
0920b4f20b Add a new refuse-based file system called ian - the Internet Access Node.
This utility uses FreeBSD's libfetch (updated for NetBSD, and to quieten
lint) to provide a BSD-licensed ftp/http/https file system similar to the
old alex utility. The full URL is used as the path underneath the "/ian"
mountpoint.

Sample use as follows:

	[19:09:38] agc@inspiron1300 ...examples/refuse/ian 126 > priv ian/obj/ian /ian
	[19:09:55] agc@inspiron1300 ...examples/refuse/ian 127 > cat /ian/ftp://localhost/motd
	NetBSD 4.99.27 (INSPIRON) #4: Tue Aug 7 13:04:33 BST 2007

	Welcome to NetBSD!

	This system is running a development snapshot of the NetBSD operating system,
	also known as NetBSD-current.  It is highly possible for it to contain serious
	bugs, regressions, broken features or other problems.  Please bear this in mind
	and use the system with care.

	You are encouraged to test this version as thoroughly as possible.  Should you
	encounter any problem, please report it back to the development team using the
	send-pr(1) utility (requires a working MTA).  If yours is not properly set up,
	use the web interface at: http://www.netbsd.org/support/send-pr.html

	Thank you for helping us test and improve NetBSD.

	[19:10:17] agc@inspiron1300 ...examples/refuse/ian 128 > df
	Filesystem   1K-blocks       Used      Avail %Cap Mounted on
	/dev/dk0      28101396   19491972    7204356  73% /
	kernfs               1          1          0 100% /kern
	procfs               4          4          0 100% /proc
	ptyfs                1          1          0 100% /dev/pts
	/dev/puffs           0          0          0 100% /ian
	[19:10:21] agc@inspiron1300 ...examples/refuse/ian 129 > ls -al /ian/ftp://localhost/motd
	-rw-------  1 root  wheel  705 Aug 28 19:10 /ian/ftp://localhost/motd
	[19:10:42] agc@inspiron1300 ...examples/refuse/ian 130 > ls -al ~ftp/motd
	-rw-r--r--  1 ftp  ftp  705 Aug 27 21:33 /home/ftp/motd
	[19:10:53] agc@inspiron1300 ...examples/refuse/ian 131 >
2007-08-28 19:45:02 +00:00
agc
5a236e395c Makefile for new ian file system 2007-08-28 19:39:30 +00:00
apb
22d0439909 In setfval(), ensure that arithmetic never yields a negative zero
result.  Now {echo | awk '{print -1 * 0}'} prints "0" instead of "-0".

Fixes PR 36831.  Discussed in tech-userlevel.
2007-08-28 15:23:13 +00:00
blymn
2b4f2c9caf Fix a crash caused by having a single NULL character as a string capability.
This fix is about the best we can do given the current interfaces. We
could extend the cgetcap(3) interfaces with a function that would return
a character count and handle this in libterm which would provide a more
complete fix and allow a NULL character in a string capability.
2007-08-28 12:28:18 +00:00
pooka
6ae9cab127 In quotactl, move vrele() to after the VFS call: protects the
mountpoint from being wiped under us better.

from David Holland
2007-08-28 09:28:10 +00:00
xtraeme
8972430efc - Remove reference to unexistent sysmon_power(9). (I will work on this
manpage, but no ETA yet).
- Xref envstat(8).
2007-08-28 08:36:18 +00:00
xtraeme
d4dc22f1aa The buffer returned by prop_dictionary_externalize() must be freed
by the caller, so update the example.

Also remove all refs to the envsys drivers, they all will be Xref-ed
from envstat(8) (a single source).
2007-08-28 08:22:58 +00:00
msaitoh
7c88b47eff add I82566 2007-08-28 01:11:50 +00:00