Commit Graph

153621 Commits

Author SHA1 Message Date
he
597433ec76 Add missing argument and correct name of __vsnprintf_chk() declaration. 2006-11-09 15:31:11 +00:00
jmmv
c484aa16e3 Note changes to vnd to make it work in file systems without bmap nor
strategy.
2006-11-09 15:28:46 +00:00
jmmv
b6714d04d8 Check if the underlying file system supports VOP_BMAP and VOP_STRATEGY and,
if not, fallback to VOP_READ and VOP_WRITE.  This makes vnd work with files
on, e.g. tmpfs and smbfs; all file systems should behave as before.
OK'ed by silence in tech-kern@.
2006-11-09 15:27:40 +00:00
jmmv
1befc83712 Add tests for vnd over tmpfs files. 2006-11-09 15:25:37 +00:00
tsutsui
36fcb0cbe4 Add rgephy at mii and rlphy at mii.
Tested on Ultra5 with RTL8139C (not plus) and RTL8169S.
2006-11-09 15:23:42 +00:00
tsutsui
2ae6e40c03 More cleanup of sparc64 clock stuff:
- split mkclock attachment from sparc64/clock.c into dev/mkclock.c
  (now clock.s only contains clock interrupt and timecounter stuff)
- rename match/attach functions of rtc at ebus to match the device name
- update some comments around clock devices in GENERIC

No objection on port-sparc64 for a month.
2006-11-09 15:08:04 +00:00
jmmv
f3e033579e Note audit of kqueue notifications in tmpfs. 2006-11-09 15:08:02 +00:00
jmmv
117b5f5104 Audit kqueue notifications. The reference behavior is taken from MFS and
is represented in the regression tests.
2006-11-09 15:06:03 +00:00
tsutsui
492fddeb4a Print device revision on attach. 2006-11-09 14:59:55 +00:00
tsutsui
8d3021b407 Add #include <sys/device.h> for struct device.
Fixes compile error on sparc64.
2006-11-09 14:43:10 +00:00
cube
3574e17e23 Regen (PR#34951 fixes). 2006-11-09 14:10:21 +00:00
cube
1277ee639e - Make better use of COMPAT_XX type in syscalls.master
- Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in
  syscalls.master
- Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter
  needs stuff from it.

Fixes Perry's PR#34951.
2006-11-09 14:09:37 +00:00
jmmv
e8467243ef Add several checks to see if tmpfs raises the proper kqueue events during
operation.  These all match the behavior exposed by MFS (except for a
corner case that is described in t_link).

Fixes to tmpfs itself to make these tests pass will come soon.
2006-11-09 13:51:49 +00:00
pooka
d666e1c0f4 play catchup with the rest of the world, i.e. shuffle stuff a bit 2006-11-09 13:11:52 +00:00
pooka
80ce20607e * catch up with kernel changes
* better error handling when mounting
2006-11-09 13:11:01 +00:00
pooka
098590e87e few renames to better differentiate between mount & start.. plus some
other renaming
2006-11-09 13:09:34 +00:00
rillig
9527a32b3d Added another test case and enabled it. 2006-11-09 12:17:35 +00:00
yamt
1de5b4994d vmem_xalloc: plug memory leak on error. 2006-11-09 10:08:53 +00:00
yamt
442aa98fcd remove nqnfs support.
namely,
	- make -q a synonym of -3.
	- ignore -L and -D.
2006-11-09 10:07:00 +00:00
yamt
c59a65e2fe add comments. 2006-11-09 10:04:40 +00:00
yamt
89682b24fe remove some __unused in function parameters. 2006-11-09 09:53:57 +00:00
christos
6367f77577 -Wno-stack-protector 2006-11-09 04:07:11 +00:00
christos
0dd539c2fc Add COPTS bypass in rules. 2006-11-09 04:06:51 +00:00
christos
0b1f5855c2 no stack protector warning for execvp 2006-11-09 04:00:11 +00:00
christos
4ba9b8cfbe undo the previous; we need alloca here, otherwise the parent will leak on
vfork.
2006-11-09 03:57:26 +00:00
christos
e0d6d71d76 use mmap instead of malloc because we may have vforked. pointed out by yamt. 2006-11-09 02:51:52 +00:00
pooka
644b5e87f7 puffs manual pages 2006-11-09 01:35:02 +00:00
pooka
ab2346c4b0 add libpuffs 2006-11-09 01:31:11 +00:00
pooka
b8a1eae019 initial documentation for the puffs library interface 2006-11-09 01:30:15 +00:00
pooka
095997aad1 initial documentation for the puffs message interface 2006-11-09 01:29:34 +00:00
scw
5a9e652d52 Build a gzboot image suitable for CP3100. 2006-11-09 00:35:32 +00:00
scw
0c2bb6eb97 Add CP3100 and CP3100_INSTALL to kernel/build sets. 2006-11-09 00:34:49 +00:00
scw
814254d821 Add an install kernel for CP3100. 2006-11-09 00:28:37 +00:00
scw
0d0c6d1a0c Note addition of Certance CP-3100 port (evbarm). 2006-11-08 23:51:03 +00:00
scw
5bfa580df1 Add support for the Certance CP-3100.
"The Certance CP3100 product family provides high-end disk-to-disk-to-tape
(D2D2T) functionality for small-to-medium businesses."

To software, the unit is very similar to the IQ80321 and IQ31244 eval
boards from Intel. As such, we share almost all of their code.

Onboard hardware:
 - IOP321 XScale CPU. Core clock is 600MHz.
 - 256MB SDRAM (not sure if that's true for all)
 - Four-port Intel i31244 SATA controller. One port is connected to the
   internal disk. The remaining three are available on the back-panel.
 - Dual GigE ports on the back panel, using an Intel i82546EB controller.
 - Two Symbios Logic 53c1010 SCSI controllers, one in host mode the other
   in target mode. Both SCSI busses are available on the back panel.
   Note that NetBSD does not support SCSI target mode.
 - 8MB of NOR Flash, containing a fairly vanilla Redboot together with
   a minimal compressed Linux image.
 - Some front-panel LEDS (not supported).
 - Serial console.

Contributed by Wasabi Systems, Inc.
2006-11-08 23:49:02 +00:00
scw
d3089a454e If I80321_HPI_ENABLED is defined, add support for handling interrupts from
devices hooked up to the HPI pin.

HPIs cannot be masked at the interrupt controller; they can only be masked
by disabling IRQs in the XScale core. To deal with this, we tweak the
interrupt frame so that IRQs are disabled when the interrupt dispatcher
returns due to a masked HPI interrupt. IRQs will be re-enabled by a
subsequent splx(9).

Fortunately the only instance where HPI is used is for the console UART
on a couple of boards, so this hack does not adversely affect performance.

Contributed by Wasabi Systems.
2006-11-08 23:45:41 +00:00
christos
249933b899 if we are using ssp, use malloc instead of alloca. 2006-11-08 23:27:32 +00:00
christos
7734d80e4d Add the threaded version. 2006-11-08 23:25:54 +00:00
ad
1279365222 Fix some minor bugs and improve output slightly. 2006-11-08 23:12:57 +00:00
christos
97be580a50 add /usr/include/ssp 2006-11-08 22:43:34 +00:00
christos
b9692a922e fix typo. 2006-11-08 22:07:23 +00:00
christos
5a7bf522f9 Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
christos
af0800f25f add a netbsd test for having stack protector in libc. 2006-11-08 22:01:36 +00:00
rpaulo
4081961b95 Backout half of previous by popular demand. 2006-11-08 21:18:13 +00:00
drochner
58bd20f660 if setcontext(2) returns, _exit(2) with a return code of -1 instead
of relying on a sensible return value
2006-11-08 21:16:40 +00:00
rpaulo
2313f534c1 regen 2006-11-08 21:03:35 +00:00
christos
3ad047d4fd descend into libssp 2006-11-08 21:02:10 +00:00
rpaulo
809c9d3540 Add AMD PCI-X IOAPIC. 2006-11-08 21:02:02 +00:00
christos
2da147ae0e add libssp regression tests. 2006-11-08 21:01:35 +00:00
christos
e1e30f287e bump libc for ssp stuff. 2006-11-08 20:59:18 +00:00