Commit Graph

146159 Commits

Author SHA1 Message Date
pooka 37c14369ab Define the dcache size so that we can run our own homegrown cache
flush routine during startup.  XXX: I have absolutely no idea where
this managed to pick up DCACHE_SIZE from before.

closes port-evbarm/33276 by Peter Postma
2006-04-17 20:44:30 +00:00
perseant 0268059112 Introduce two fcntl calls that freeze the filesystem right at the point
where segment 0 is being considered for writing.  This allows for automated
checkpoint vailidity scanning, and could be used (in conjunction with the
existing LFCNREWIND) for e.g. snapshot dumps as well.

Include a regression test that does such scanning.

When writing the Ifile, loop through the dirty block list three times to
make sure that the checkpoint is always consistent (the first and second
times the Ifile blocks can cross a segment boundary; not so the third time
unless the segments are very small).  Discovered by using the aforementioned
regression test.
2006-04-17 20:02:34 +00:00
christos 2aa11212e6 Remove qmqpd again. perry will fix postfix set-permissions 2006-04-17 19:18:59 +00:00
christos 22b7f8f567 Perry says we don't want qmqpd and that he'll be responsible for fixing
postfix set-permissions.
2006-04-17 19:07:45 +00:00
rpaulo 3f57889bb2 Oops, 16 is not enough to store the firmware filenames, use 24. 2006-04-17 19:06:51 +00:00
perseant 7700866e01 Remove the free list ordering/disordering code, since the kernel now keeps
the list in order (ordering it on mount).

Regularize error messages: these are now all in ALL CAPS, with all hex
numbers (not reported in caps) prefixed by 0x.  (The non-fsck-specific
messages are an exception to this all-caps rule.)
2006-04-17 19:05:16 +00:00
rpaulo 6e7b39c917 ipwctl is no longer used to load the firmware. 2006-04-17 17:50:51 +00:00
rpaulo d9a55567aa Pull firmload on ipw. 2006-04-17 17:31:43 +00:00
rpaulo 82029f5699 Add /usr/pkg/libdata to the list of FIRMWARE_PATHS in order to be
compatible with pkgsrc firmware packages (ipw, iwi, etc).
2006-04-17 17:30:32 +00:00
rpaulo f32518359d Use the firmload API to retrive the firmware from the filesystem. 2006-04-17 17:29:08 +00:00
thorpej e82413c3cf disk_read() / disk_write(): Make the temporary pointer a uint8_t *, rather
than a char *.  Eliminates a GCC4 warning.
2006-04-17 16:58:31 +00:00
thorpej 0c7787e9ae Let MD5Update() take a void *, rather than a uint8_t *. Gets rid of a
GCC 4 warning.
2006-04-17 16:49:16 +00:00
thorpej 01de58d459 Test HAVE_STDINT_H and bring in <stdint.h> if defined. 2006-04-17 16:45:02 +00:00
thorpej 57de6c70c3 Pull in config.h to get the definition of HAVE_STDINT_H 2006-04-17 16:44:42 +00:00
thorpej 7dd6393f48 Check for <libkern/OSByteOrder.h>. If it exists, use it to get the
OSSwapBigToHostInt64() definition for HTOBE64().  This now builds on
Mac OS X 10.4.6.
2006-04-17 16:30:00 +00:00
christos 862fe20f05 GC old signal handling and merge it in 4 places:
1. Immediately ignore all the signals we want to ignore and set the alarm.
    2. Before we exit on error, restore all signals we modified
    3. Before we exec a shell, restore all signals we modified and ignore TSTP.
       Job control aware shells know how to deal with this.
    4. Temporarily handle SIGINT while we read motd.
2006-04-17 16:29:44 +00:00
christos f24c5c7519 Add qmqpd 2006-04-17 16:15:40 +00:00
christos 2ab3510195 Add qmqpd. 2006-04-17 16:11:20 +00:00
he f563f92980 It's NULLFS, not NULL. 2006-04-17 16:08:05 +00:00
jmmv 4208ccaafa Properly pass down the 'vs' cookie to pxa2x0_lcd_ioctl calls. Pointed out
by he@.
2006-04-17 15:59:47 +00:00
nathanw 611b39a8f6 In scsipi_done(), bail out early if the scsipi_xfer has already been
marked as done. Works around one problem with detaching in-use sd
devices, as described on tech-kern:

http://mail-index.netbsd.org/tech-kern/2005/09/22/0002.html
2006-04-17 14:30:40 +00:00
tsutsui 936c3743c7 Switch macepci to use MI pci_configure_bus(9) rather than its own fixup code.
Tested on my O2 with several devices, and ok'ed by sekiya.
2006-04-17 14:01:08 +00:00
jmcneill 8dec918f9f Redraw the screen immediately after initialization if SPLASHSCREEN is not
defined. From jmmv@
2006-04-17 13:59:01 +00:00
elad 00b7ea1b74 Fix typos. 2006-04-17 13:31:02 +00:00
christos b42fa2b7b2 Fix typo. Pointed out by brad. 2006-04-17 13:02:01 +00:00
uwe e34bcd0c5a netwinder uses loadable server modules.
(Oops, forgot to commit this change along with other netwinder
X server commits.  Unbreaks builds.)
2006-04-17 12:50:51 +00:00
tsutsui bf7d106360 Add adv at pci. Tested on my O2. 2006-04-17 12:46:35 +00:00
veego f43a65b85e Don't try to backup a 'nfs' disklabel, which will happen because of the
recent iostat changes.
Patch supplied in pr# 33274 by Geoff C. Wing.
2006-04-17 07:38:53 +00:00
skrll c0d9bc63a5 Check that a .rodata section description has been provided before putting
orphan sections in it.

Closes PR/33129.
2006-04-17 07:05:17 +00:00
skrll 683ccd8e40 Add RCSId. 2006-04-17 06:53:06 +00:00
elad ae87f36cbf Ensure creation of kern node. 2006-04-17 03:45:19 +00:00
elad 7ee081e4bd Move securelevel-specific stuff to its own file. 2006-04-17 03:39:39 +00:00
macallan 237baf7523 add entries for ATI drivers and man pages 2006-04-17 00:43:23 +00:00
chris 35c6b9f8a4 Simplify delay loop by moving the maths to before the loop.
There is minimal risk of overflow unless something delays >134s.
2006-04-17 00:03:17 +00:00
chris c75aeaa653 Use __insn_barrier() to prevent the compiler reordering splx/splraise
relative to the code they're supposed to protect.
2006-04-16 23:31:54 +00:00
rpaulo 94c889ba30 Add dict port numbers. 2006-04-16 23:29:29 +00:00
jmcneill ab7dc1d38d Use AC97_HOST_INVERTED_EAMP on the Sony VAIO VGN-B1XP. From PR#33272 by
Dieter Roelants.
2006-04-16 23:07:16 +00:00
agc f27a3c2c6b Commit regenerated config.h so that the correct version strings are picked
up for NetBSD.
2006-04-16 17:19:50 +00:00
christos 2c277d7a8d namespace protect wcstod too, and fix the protection in wcstold and wcstof. 2006-04-16 17:03:32 +00:00
tsutsui 35a607184b Mising -> Mixing 2006-04-16 16:39:36 +00:00
tnozaki 2771536f25 for compiling problems, remove wcstod -> wcstold weak ref.
noticed by Mr, Matt Fleming and Tsutsui-san, thanks.
2006-04-16 16:34:20 +00:00
tsutsui f5c7cb6a8d Fix function names in panic messages. 2006-04-16 16:29:34 +00:00
simonb 972aec407b Make this regression test work with objdirs. 2006-04-16 16:21:05 +00:00
christos c5d25686e0 PR/22995: Sergey Svishchev: If we are cd'ing around and we have directories
with relative paths, convert the directories to absolute paths, so that
restoring timestamps does not fail.
2006-04-16 16:20:21 +00:00
macallan 348d57e66a build ATI drivers - useful for running a 32bit userland on sparc64 2006-04-16 15:47:35 +00:00
macallan 8c1e0d461d correct a cast to avoid a warning. Pointed out by he. 2006-04-16 15:41:52 +00:00
he 06d42ba224 Make this build again (replace indirection with field access). 2006-04-16 09:34:56 +00:00
tsutsui c40d1f2d22 - make _ds_vaddr member vaddr_t instead of bus_addr_t
- use appropriate cache ops in bus_dmamap_sync() like other mips3 ports
2006-04-16 08:57:20 +00:00
tsutsui cd453227e1 _ds_vaddr member in struct sgimips_bus_dma_segment is a virtual address,
so it should be vaddr_t rather than bus_addr_t.
2006-04-16 08:26:41 +00:00
tsutsui c1842c746c _ds_vaddr member in struct cobalt_bus_dma_segment is a virtual address,
so it should be vaddr_t rather than bus_addr_t.
2006-04-16 08:10:09 +00:00