167520 Commits

Author SHA1 Message Date
dholland
65900038ce Add a comment noting that the definition of __errno is now replicated in
signal.h. Per request of joerg@
2008-03-03 06:57:48 +00:00
lukem
ba936e32d4 Set linker warnings to be fatal if ${WARNS} > 0. 2008-03-03 06:33:17 +00:00
lukem
57d60ef891 Use mkstemp(3) (in a hokey manner) instead of mktemp(3).
XXX: still not 100% "safe", except that we're in a protected directory.
XXX: arguably we should keep the fds open and fdopen(3) dup()s,
XXX: but we're in a protected directory so it shouldn't matter.
2008-03-03 05:07:43 +00:00
dyoung
dadd24f2b8 Fix a typo that could lead to a panic when I suspend elanpar(4). 2008-03-03 04:16:26 +00:00
mrg
9240578f89 use BUILDSYMLINKS to not have to rename bozohttpd.8 while still
having this manual installed as httpd.8.  now updates from my
repo to bozohttpd.8 will appear in this file.
2008-03-03 03:10:53 +00:00
martin
54c5277e8e Make ddb's "mach cpu" command do the right thing: run ddb on the requested
cpu. There is a tiny bit of cheating involved, but I assume we won't run
parallel + recursive ddb scripts to play towers of hanoi.

This fixes the wrong prompt, and (more importantly) makes things like
"mach dtlb" display the registers of the right MMU.
2008-03-02 22:01:38 +00:00
dsl
1b00238d8c When printing non-random integers, add 0.5 to get 'schoolboy' rounding.
This makes 'jot - 9 - -.5' generate 9 9 8 8 etc again.
When printing random numbers generate a sane range when ender < begin.
For random integers we must use random()/2^31 since we don't want the
value above generated should random() return 2^31-1.
2008-03-02 21:33:42 +00:00
tron
634457e76e Print out a message explaining why the system is rebooting if the root
filesystem is modified by fsck(8).
2008-03-02 21:31:30 +00:00
dholland
b3c3a0fd7d CFV (call for votes), RFD (request for discussion) 2008-03-02 19:59:46 +00:00
plunky
7296c96ad8 NVM never mind 2008-03-02 17:42:08 +00:00
elad
fb57fc51da Forgot this file in the previous commit.
Backend for the newly added KAUTH_NETWORK_NFS action.

Spotted by Paul Goyette on current-users@, thanks!
2008-03-02 16:16:34 +00:00
jwise
6d94a6eac7 Don't try to build these tests as part of a MKPIC=no build, they won't build. 2008-03-02 16:01:14 +00:00
nakayama
7817256e3e Fix previous.
sc_rsel and sc_wsel are in bpp_softc, not in lsi64854_softc.
2008-03-02 15:54:58 +00:00
nakayama
29dbeb72e1 - make interrupt pending list per-CPU.
- make tickintr() MP-safe.
- remove unused port-sparc derived interrupt code.

Ok by martin@.
2008-03-02 15:28:26 +00:00
nakayama
9543ae7d83 Correct TSTATE_KERN and TSTATE_USER macros. 2008-03-02 15:07:02 +00:00
lukem
1f09f2e309 Use mkstemp() instead of mktemp().
Use snprintf() instead of sprintf().
Improve error reporting.
2008-03-02 12:51:59 +00:00
yamt
59a00111af pool_do_put: remove pa_starved_p check for now as it seems to cause
more problems than it solves.  PR/37993 from Greg A. Woods.
2008-03-02 12:19:58 +00:00
nakayama
7cf297723e Don't get IPI handler argument (from bogus address), and ack IRQ twice. 2008-03-02 12:19:00 +00:00
jmmv
f51186f572 Fix build of tests when USETOOLS=no. Reported by veego@ in current-users
and notified to me by martin@.
2008-03-02 11:31:42 +00:00
jmmv
a099cd28dc Add the new t_modload test program. 2008-03-02 11:23:49 +00:00
jmmv
256b5bd1a9 Add tests for load-time parameter passing to modules, both at the syscall
level through modctl(2) and at the user level through the modload(8)
utility.
2008-03-02 11:22:10 +00:00
jmmv
9e8fd365e9 Add the ability to specify load-time properties for modules. This adds
three new flags to the new modload utility: -b, -i and -s, which are used
to pass boolean, integer and string parameters respectively.
2008-03-02 11:20:59 +00:00
jmmv
c062e07376 Add an example on how to handle the incoming properties during module load. 2008-03-02 11:19:30 +00:00
jmmv
3fd8e29a11 Add support for load-time parameters for modules, which are passed through
a dictionary.  As discussed in tech-kern@.
2008-03-02 11:18:43 +00:00
bjs
9edaf4a46f Fix bus_dmamem_free() call to provide 'segs' as the second argument.
While here, add DRM_PCI_DMAADDR macro so that we set handle->busaddr
in a portable way.
Next is the more difficult [annoying] part: use bus_dma(9) with
scatter/gather buffers.
2008-03-02 07:12:15 +00:00
tsutsui
590ed564a8 WARNSfy 2008-03-02 06:17:41 +00:00
macallan
b14b0caf09 allow userland to map all video memory, not just the visible part 2008-03-02 00:54:25 +00:00
rmind
2fd89ef88a Rename selrecord(9) man page to select(9). Sync selnotify() with reality,
remove selwakeup(), add and explain the usage of selinit() and seldestroy().

Reviewed by <ad>.
2008-03-02 00:30:21 +00:00
tnn
fee0071881 Note that wpa_supplicant/hostapd 0.6.3 are available. 2008-03-01 23:47:28 +00:00
xtraeme
5bbe544447 Fix the mb(9) xref. 2008-03-01 22:28:46 +00:00
tsutsui
069af26195 Misc fixes to support 21041 on Qube2700:
- prepare two TX descriptors to avoid race and also use chaind mode
- use a recently added pcicfgread() function to get tulip I/O address
- use cobalt model id to see if we have 21041 or 21143
  (XXX maybe it's better to see PCI product ID)
- add code to reset SIA on 21041
- prepare and send filter setup packet on init
- reduce delay in RX polling
- bump version again

Now netboot works fine on Qube 2700 (even without console). Yay.
2008-03-01 20:39:25 +00:00
skrll
55edbc2411 Add hppa to the list of platforms that need help with branches.
Sort the list while I'm here.
2008-03-01 20:29:43 +00:00
tsutsui
7c2a00cd44 Rename some variables to sync with original sandpoint's one. 2008-03-01 20:24:25 +00:00
veego
26aed7b552 Add missing ';' to fix a compile error, which was introduced in the
previous revision.
2008-03-01 18:59:45 +00:00
bouyer
8e663aa43f Add wscons options, pointed out by Jonathan A. Kollasch on port-xen@ 2008-03-01 18:39:07 +00:00
rmind
85fcf08240 Fix my previous confuse of the code: use selinit/seldestroy in correct
places, and fix missed selnotify call.
2008-03-01 18:32:48 +00:00
tsutsui
8b1c40bc08 Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
2008-03-01 18:13:02 +00:00
tsutsui
c85e5be217 - print cobalt model names in boot banner
- bump version.
2008-03-01 17:45:11 +00:00
plunky
6e030479a6 remove some unnecessary casting 2008-03-01 17:26:07 +00:00
macallan
4750dcc2e0 allocate a linear buffer, don't smoke crack when setting up the engine's TLBs 2008-03-01 16:56:39 +00:00
xtraeme
a9191491be RAID 1/1+0 volumes may only be created with foreground initialization,
use the quick_init member in the ARC_FW_CREATE_VOLUME command code.

You can now create RAID 1/1+0 volumes through bioctl(8), but only one
volume will be initialized; the other ones that need initialization will
wait until the first is done.
2008-03-01 16:33:29 +00:00
chris
f033288a91 Fix acorn32 console beep to actually beep, rather than the kernel say:
aurateconv_fetch_to: internal error: unsupported encoding: enc=1 prec=8

The issue was that the playback filters for audio were being added to the
list in the wrong order.  The first entry in the list is closest to the
hardware, the last is closest to the audio buffer.  The code thought it
the other way around, so the incorrect formats were being passed down the
filter list.
2008-03-01 16:17:47 +00:00
xtraeme
fd6e8571e1 On RAID 1 volumes and when bv_stripe_size is 0 make it print 'N/A', like:
$ sudo bioctl arcmsr0 show volumes
Volume Status       Size         Device/Label    Level Stripe
=============================================================
     0 Building     234G  sd0 ARC-1210-VOL#00   RAID 1    N/A  97.40% done
     1 Offline      234G  sd1 ARC-1210-VOL#01   RAID 1    N/A
$

Make it prettier the output of "bioctl foo0 show [volumes]" too.
2008-03-01 16:08:41 +00:00
joerg
4e9584ed3b mem*.S needs assym.h. 2008-03-01 16:02:46 +00:00
joerg
7dd5d0a660 Derive the Xen install kernels from the normal runtime kernels. 2008-03-01 15:09:14 +00:00
joerg
249f2745aa Derive Xen3 domu install kernel from XEN3_DOMU. 2008-03-01 15:06:47 +00:00
joerg
3ebb96aede m88k is an empty directory in the repo, don't mention it here. 2008-03-01 14:37:02 +00:00
rmind
c6186face4 Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
2008-03-01 14:16:49 +00:00
joerg
0d7b4c40bf Missing assym.h dependencies. 2008-03-01 14:00:30 +00:00
joerg
ab9987d535 Missing assym.h dependency. 2008-03-01 13:59:26 +00:00