Commit Graph

167773 Commits

Author SHA1 Message Date
christos
5a9c754ab2 Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.
2008-03-05 02:29:51 +00:00
tnn
150b74d8b7 Include sys/device.h for device_t 2008-03-05 00:45:40 +00:00
cube
e567de2f43 Split device_t/softc and other related cosmetic changes. 2008-03-04 23:03:29 +00:00
dyoung
11e3712cc6 Check device_has_power() instead of device_is_active() in pccbbintr(),
since the driver must acknowledge some interrupts while it leaves
the suspended state.  This protects against an interrupt storm that
will hang the system while I resume rtw0 at cardbus1.
2008-03-04 22:15:16 +00:00
cube
7cad7e5ad3 Split device_t/softc, and other related cosmetic changes. 2008-03-04 22:12:55 +00:00
dyoung
be2348a67e Extract shutdown handlers from the detach methods of elanpar(4)
and elanpex(4).  Register them using pmf_device_register1().  This
ensures that neither comBIOS nor NetBSD will hang during boot,
after I reboot a Soekris net45xx.
2008-03-04 22:07:05 +00:00
cube
14218c181b Split device_t/softc for midi(4), and other related cosmetic changes. 2008-03-04 21:56:11 +00:00
christos
935753c811 sort options from anon ymous 2008-03-04 20:11:00 +00:00
christos
7d01361f62 do the -g -G swap for real. 2008-03-04 18:55:57 +00:00
cube
492d8b0d9e Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
christos
7ca37f5cdc PR/36817: Zafer Aydogan: Don't use -g to implement the same named option
in solaris to display statvfs output, use -G instead. I researched this
and all other implementations except Solaris (OS/X, FreeBSD, us before June
24, 2007) use -g to signify gigabytes. So revert to that.
PR/38154: YAMAMOTO Takashi: df -P doesn't work without -k. Fix from Anon Ymous
together with passing lint, and exiting with the right values.
2008-03-04 17:59:55 +00:00
dyoung
cee019495b The attimer (sc_timer) is not actually a child of pcppi, and pcppi
does do not hold references to any other device, so provide an
empty child-detachment method.
2008-03-04 17:11:03 +00:00
cube
926915cf40 - Split device_t and softc for pcppi(4) and attimer(4)
- Change the attimer <-> pcppi communication using device_t so that
  pcppi(4) doesn't have to know about the contents of struct attimer_softc.

XXX pcppi's childdet function is completely wrong.  This has to be
XXX revisited later.
2008-03-04 16:35:18 +00:00
cube
0204653a11 Split device_t/softc and other related cosmetic changes. 2008-03-04 15:33:06 +00:00
cube
83be932a21 Split device_t/softc. 2008-03-04 15:24:02 +00:00
cube
521d00a805 Convert the Xen attachment for npx(4), too. 2008-03-04 15:02:52 +00:00
cube
263facc4c0 Use CFATTACH_DECL_NEW and other related cosmetic changes. 2008-03-04 14:59:35 +00:00
cube
0e763ef11c Split device_t and softc for npx(4). 2008-03-04 14:53:38 +00:00
tsutsui
50698ab6af Print "NetBSD/cobalt Starting up... " to LCD panel on boot, and also
print "NetBSD/cobalt Shutting donw..." on halt via shutdown hook.
This would be useful for users who don't have serial console.

No objection on port-cobalt.
2008-03-04 14:40:16 +00:00
cube
e42e7941c2 sysbeep has no softc, use CFATTACH_DECL_NEW. 2008-03-04 14:38:05 +00:00
cube
50d653b010 Use CFATTACH_DECL2_NEW, as mainbus has no softc anyway. 2008-03-04 13:59:11 +00:00
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