161821 Commits

Author SHA1 Message Date
xtraeme
1a5f765979 Use a rwlock(9) to protect access while refreshing data in
aiboost_get_value().
2007-08-30 18:29:11 +00:00
ad
f885d98970 Fix build failure in pmap_tlb_shootdown(). 2007-08-30 18:14:11 +00:00
xtraeme
cac66f76dd Some changes to improve locking on sysmon_envsys(9):
- Remove sme_mtx, a global lock (sme_list_mtx) is used to access to
  the sysmon envsys device.
- Allocate memory with KM_NOSLEEP rather than KM_SLEEP if there's a
  mutex held, to avoid sleeping.
- Remove sysmon_envsys_createplist() and add the logic into
  sysmon_envsys_register().
- sysmon_envsys_register: allocate the array and dictionaries required
  in advance for a device before the locking and adding the objects
  into the array happens.
- Rename sme_make_dictionary() to sme_add_sensor_dictionary() and pass
  to it the dictionary on which the objects will be stored for a sensor.
- Improve locking here and there.

Thanks to Mindaugas Rasiukevicius and Andrew Doran for comments.
2007-08-30 18:01:26 +00:00
jmmv
36188e7296 Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
jmmv
d2525db73d Clear the screen during initialization so that the first messages are not
printed over "unknown garbage" (e.g. the Mac OS desktop).  Agreed with
macallan@.
2007-08-30 15:40:41 +00:00
jmmv
088cadb7c3 Print some details of the framebuffer configuration during attach.
OK'ed by macallan@.
2007-08-30 13:36:27 +00:00
jmmv
90ad1537c2 Properly initialize the palette registers by calling the colormap callback
on all of them.  A typo made it only initialize half of them.  OK'ed by
macallan@.
2007-08-30 13:32:18 +00:00
joerg
4deb593145 Avoid using unbound amount of stack frames in prop_object_equal
by using a dynamic stack as well. Reorder arguments for the internalizer
as the iteration is always present and should go before possibly
NULL arguments.

Reviewed by mjf@ and adrianp@
2007-08-30 12:23:53 +00:00
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