Commit Graph

81947 Commits

Author SHA1 Message Date
tsutsui
e50565f96a No need to install autoconf.h. 2006-07-01 17:33:25 +00:00
tsutsui
3eb4d24002 No need to export autoconf.h to userland. 2006-07-01 17:24:19 +00:00
tsutsui
06801cfcf5 Remove obsolete display.h. 2006-07-01 17:19:39 +00:00
tsutsui
0b60e69029 Use MI <dev/ic/pcdisplay.h> rather than MD <machine/display.h>. 2006-07-01 17:15:46 +00:00
christos
5f5ceecc09 Revert previous change to bump the socket low watermark to sock_loan_thresh.
With sock_loan_thresh=4096, sb_lowat==sb_hiwat, and sowritable will never
be true (even if only a single byte is pending). Some programs (like screen)
expect select() to return that a socket is writable on a socket when there
is space to write to it. XXX: What is the right thing to do here?
2006-07-01 15:38:28 +00:00
chap
8576d4b377 Correct build failures when MIDI is not enabled (the idea!).
Specifically eap but no midi, which makes sense if you want sound,
and umidi but no midi, which makes little sense but shouldn't fail the
build.

Suggest changing the evbarm conf files containing umidi but #midi
to comment out umidi as well (even though this fix should let them build).
2006-07-01 15:22:06 +00:00
nakayama
401d23b252 Uncomment "midi* at midibus?" to make umidi work. 2006-07-01 15:19:32 +00:00
yamt
ce1a2b18c3 some comments taken from Jed Davis's patch. 2006-07-01 11:30:44 +00:00
yamt
e38f237e53 if a file is sillyrename'ed because it's a destination of rename,
make sillyrename (try to) use LINK operation rather than RENAME.
PR/33861 from Jed Davis.  he provided the almost same patch.
according to him, it also happen to be what opensolaris does in this case.

from the PR:
> In nfs_rename(), if the destination appears to exist and is "in use"
> (this check is apparently satisfied even if the file isn't in use by
> anything except the rename itself), it will sillyrename it, then delete
> the sillyrenamed file even if the rename fails -- for instance, because
> the "from" file no longer exists on the server.

> mkdir a b; touch a/x; perl -e 'fork(); rename("a/x","b/x") or die "$!\n"'
>
> Afterwards, neither a/x nor b/x will exist.

> 1) Lookup of b/x; fails with NOENT.
> 2) Rename from a/x to b/x; succeeds.
> 3) Lookup of b/x; fails with NOENT.
> 4) Rename from b/x to b/.nfsA23a3; succeeds.
> 5) Rename from a/x to b/x; fails with NOENT.
> 6) Remove of b/.nfsA23a3; succeeds.
2006-07-01 11:29:42 +00:00
martin
931985243c Redo previous differently - just use time_second.
Pointed out by Frank Kardel.
2006-07-01 10:12:36 +00:00
jmmv
ce9f9820ee Fix order of biosbasemem and biosextmem order in a comment to match reality.
Closes PR kern/32082 by Dave J. Barnes.
2006-07-01 09:21:28 +00:00
martin
c627e877cf Make it compile post time-counter merge 2006-07-01 08:42:39 +00:00
martin
2006fdaf3e Regen 2006-07-01 08:15:16 +00:00
martin
4b488fb5fa Add an ArkMicroChips serial adapter 2006-07-01 08:14:46 +00:00
mrg
5bf1ad3744 fix pointer signedness and build with GCC4. 2006-07-01 05:55:34 +00:00
kardel
6dc2fb00a7 L_CLR(time_adj) each round so adjtime() corrections don't
accumulate over time resulting in a constantly speeding/
slowing clock. found with wiz@ in a timecounter non NTP
kernel configuration.
2006-07-01 05:44:26 +00:00
kardel
596d823cde always call ntp initialisation for timecounter systems as
the ntp code degenerates to the adjtime implementation in the
non NTP case
2006-07-01 05:41:10 +00:00
ross
5a664ca53d Map powerpc64 to powerpc 2006-07-01 01:29:55 +00:00
xtraeme
8ad8d8401b Add __KERNEL_RCSID(). 2006-06-30 23:21:19 +00:00
xtraeme
1f14228ee9 Remove a debug printf. 2006-06-30 23:19:40 +00:00
freza
78037d3f6d Bring ibm4xx interrupt code up to date:
- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
  where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
2006-06-30 17:54:50 +00:00
nisimura
00ef0ad833 Refer to kse as an MI driver. 2006-06-30 17:21:00 +00:00
nisimura
28ad8aedac Regen after Micrel KSZ8842/8841 product addtion. 2006-06-30 17:19:32 +00:00
nisimura
9a76d77bfb Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller. 2006-06-30 17:17:09 +00:00
xtraeme
cc39aa8f95 Match IT8211 IDE Controller. 2006-06-30 17:01:32 +00:00
xtraeme
52905b27a4 regen 2006-06-30 17:01:09 +00:00
xtraeme
326252b4eb Add ITE IT8211 IDE Controller. 2006-06-30 17:00:18 +00:00
xtraeme
df1031319c Match ATI IXP SB600 IDE/SATA. 2006-06-30 16:28:40 +00:00
xtraeme
8edb097c79 regen 2006-06-30 16:23:27 +00:00
xtraeme
e11c4cc307 Add some missing ATI devices. 2006-06-30 16:22:54 +00:00
drochner
ad1ca09fb9 -fix for previous: don't malloc() with spinlock held
-wrap some long lines
2006-06-30 15:50:46 +00:00
chap
710af63468 Ankh-Morpork, we have a MIDI driver....
Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@
2006-06-30 13:56:25 +00:00
tsutsui
1c1d619cf7 Regen from GENERIC.in rev 1.53:
> Add CARP to further platforms
2006-06-30 10:54:09 +00:00
tsutsui
62040eebd7 Add (commented out) pseudo-device carp. 2006-06-30 10:51:46 +00:00
tsutsui
90c32d008c Sync with GENERIC (commented out UDF, carp, VND_COMPRESSION, and veriexec) 2006-06-30 10:48:57 +00:00
tsutsui
bc766890f7 Make GENERIC config really generic and change GENERIC32 config for 32 bit
compat kernel to include the GENERIC and use "no" keywords of config(1).
Also merge std.sparc64-64 into std.sparc64 and prepare std.sparc64-32
which uses "no" keywords for 32 bit kernels. OK'ed by mrg.
2006-06-30 10:27:48 +00:00
yamt
2246835eec wrap long lines and fix indents after kauth merge. 2006-06-30 09:56:03 +00:00
yamt
3333e8aa5c fix handling of NFSERR_NOTSUPP and NFSERR_BAD_COOKIE,
which have been broken since nfs_socket.c rev.1.115.
2006-06-30 09:55:34 +00:00
yamt
2a9a8246f0 nfs_request: don't bother to handle NFSERR_STALEWRITEVERF
because it isn't a real nfs error value.
2006-06-30 09:55:06 +00:00
he
68f1dc24e6 Convert from using the no-longer-existing sys_socket to using the
recently introduced compat_30_sys_socket.
2006-06-30 09:06:32 +00:00
tacha
3fb751b1b5 Make 802.11 devices to work with stealth AP even when scanning
channels marked passive.

From FreeBSD.
2006-06-30 06:17:10 +00:00
perseant
b99e4c8268 Don't wake up the cleaner if the filesystem is unwrappable, and fix the
compatibility fcntls.

Also includes one-line fixes for an MP locking bug and a zero-length FINFO
problem that manifested during testing.
2006-06-29 19:28:21 +00:00
garbled
793a3b26d8 Change how the MPIC/OpenPIC is configured at boot. Rather than scanning
for a magical PCI device location (that is sometimes wrong), we scan the
residual data for an MPIC, and if we find one, wire it up from there.
This will hopefully allow interrupts to work on the MPC750 and the
7025-F40. I suspect however the interrupt vector address on the 7025 will
still need some work.
2006-06-29 17:16:59 +00:00
liamjfoy
56054d1bbb Fix a minor printf found while reading the code 2006-06-29 16:56:31 +00:00
martin
e61efdcd34 Style nits from Christos. 2006-06-29 16:12:27 +00:00
martin
e7c025db82 The arguments to syscalls (struct args) need 64 bit alignment for some
syscalls (like mmap), and the same is true for return values (lseek).
Make both structs a union to force alignment. Thanks to uwe for helping
analyze this!
While there move the non syscall-related functions out of this file
(back to trap.c).

This makes kernels compiled with gcc4 and -Os work.
2006-06-29 15:05:06 +00:00
liamjfoy
d00a9ac91b Add CARP to further platforms
ok christos, julian coleman and matthew green
2006-06-29 14:00:55 +00:00
lukem
7a08c82b0b whitespace cleanup 2006-06-29 06:39:38 +00:00
lukem
e84a5a6bd9 Use BUILDSYMLINKS & DPSRCS to simplify the creation of includedir symlinks. 2006-06-29 06:37:19 +00:00
lukem
accbe31e2f support MAKEVERBOSE 2006-06-29 06:31:12 +00:00