Commit Graph

167552 Commits

Author SHA1 Message Date
cube
5e306eb1c9 Split device_t/softc. Well, there's not much to split there, as the
device_t didn't contain the softc anyway.

This driver should be re-structured so it doesn't have to manage its own
set of softcs.
2008-03-04 13:51:18 +00:00
cube
44f2cef6db Split device_t/softc, and other related cosmetic changes. 2008-03-04 13:25:05 +00:00
he
f056ee1258 Fix reference to sc_dev so that this builds again. 2008-03-04 13:17:35 +00:00
drochner
1f41b0e499 -map 64-bit PCI BARs
-integrate some bits from upstream to support i965
from Yorick Hardy per PM
2008-03-04 11:52:38 +00:00
cube
88566e4bc8 Report a change from the cube-autoconf branch to allow
device_private(NULL).  That will ease the conversion of drivers to splitted
softc/device_t which is mandatory for cube-autoconf and will be done in
HEAD.
2008-03-04 11:52:37 +00:00
xtraeme
35d705abea Change my email adress to the netbsd one. 2008-03-04 11:31:57 +00:00
xtraeme
61c10fc48e Change my email address to the netbsd one. 2008-03-04 11:31:16 +00:00
yamt
5f4f3b8ca8 fix "stale map" assertions. PR/38153 from Sarton O'Brien. 2008-03-04 09:32:01 +00:00
yamt
a9b7c5b63a restore whitespace between 'Filesystem' and 'blocks'. 2008-03-04 09:03:28 +00:00
mrg
3b5f349b34 insert a .WAIT between include and include/foo subdirs, so that
include/ is created before include/foo.

fixes -j builds on ofppc for me.
2008-03-04 08:12:12 +00:00
dholland
6e8d2b936b y2038 fixes: time_t != long. 2008-03-04 03:05:00 +00:00
dholland
c6b9477692 'struct timezone' belongs in the dustbin of history. 2008-03-04 02:57:33 +00:00
dholland
769bcbf94c fix typo in comment 2008-03-04 02:45:01 +00:00
christos
a23f0e5f81 PR/38142: YAMAMOTO Takashi: lint -S complains on variable length arrays 2008-03-04 02:41:46 +00:00
dholland
6c41aa55b8 Sort includes, removing duplicate <time.h>. 2008-03-04 02:34:27 +00:00
mrg
2e2c24f48c merge bozohttpd 20080303 2008-03-03 22:30:34 +00:00
mrg
707281a285 merge bozohttpd 20080303 2008-03-03 22:15:08 +00:00
mrg
e1e74f372d import latest bozohttpd. changes include:
o  fix some cgi header processing, from <thelsdj@gmail.com>
	o  add simple Range: header processing, from <bad@bsd.de>
	o  man page fixes, from NetBSD
	o  clean up various parts, from NetBSD
	o  prefix some function names with "bozo"
	o  align directory indexing <hr> markers
	o  clean up some code GCC4 grumbled about
2008-03-03 22:03:08 +00:00
christos
cc8760f4cb fix example (from anon ymous) 2008-03-03 19:11:45 +00:00
matt
a2ce1f327a Make kernlib depend on assym.h 2008-03-03 18:48:26 +00:00
phx
50ea3aad0b Removed the check for device_type==display in rascons_cnattach(). It is not
required, because this function will be called for display-consoles only,
and it allows SmartFirmware to attach a rascons console.
Approved by garbled.
2008-03-03 17:15:57 +00:00
xtraeme
133f451fc4 Typo in previous. 2008-03-03 16:13:34 +00:00
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