167780 Commits

Author SHA1 Message Date
xtraeme
89550ec143 Improve usage() and manpage commands/args. 2008-03-03 16:10:48 +00:00
xtraeme
1ab13cc1f4 Add some notes for RAID 1/1+0 volumes and scsictl(8). 2008-03-03 15:35:22 +00:00
tsutsui
a9ae1f2955 Use xlat_mbr_fstype() so that we can mount FAT removable media properly. 2008-03-03 15:22:01 +00:00
xtraeme
0dd978c139 Detect and initialize correctly RAID 1+0 levels. 2008-03-03 14:57:22 +00:00
xtraeme
e54494308e - Fix total user specified and free disk size based on the RAID level.
- Adapt for BIOC_SVOL_RAID01 and BIOC_SVOL_RAID10 levels.
2008-03-03 14:55:39 +00:00
xtraeme
0be3e346a7 Add definitions to specify RAID 0+1/1+0 levels. 2008-03-03 13:43:19 +00:00
tsutsui
54de16529a Explicitly include <sys/device.h> for device_t. 2008-03-03 12:30:57 +00:00
drochner
fce349e672 update for pmf_device_register1() and the "boothowto" argument to
shutdown handlers
2008-03-03 11:43:18 +00:00
xtraeme
81b07a3d7a Set D_OTHER | D_MPSAFE to d_flag for the cdevsw methods. 2008-03-03 09:48:28 +00:00
xtraeme
b1700faaf8 Pass D_MPSAFE to d_flag in the cdevsw struct, so that the kernel_lock
is not taken in the driver methods.

I've been running with this for some days without any effect.
2008-03-03 09:38:49 +00:00
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