Commit Graph

68448 Commits

Author SHA1 Message Date
simonb
c8ee7b6dd7 Add a WEAK_ALIAS macro.
While here, use #if instead of #ifdef for __STDC__ check.
2003-12-06 14:06:28 +00:00
simonb
5fc19197d5 Use crosscompile-friendly ${BINUTILSPROGRAMNAMES}.
Enable WARNS=2.
Don't use -z and update start address for binutils 2.14 ld.
2003-12-06 14:04:33 +00:00
simonb
b3d9f58082 Make WARNS=2 friendly. 2003-12-06 14:02:40 +00:00
simonb
717bd17cec KNF, ANSIfy, de-__P. 2003-12-06 13:09:01 +00:00
manu
8019168c34 Remove a useless debug printf 2003-12-06 11:43:56 +00:00
yamt
3b65e1745b - disable ipv4 checksum offloading as it seems to have a problem.
- add comments to describe it.
2003-12-06 11:27:28 +00:00
jdolecek
d9c37aa325 regen:
add NetMos NM9805 and NM9815
2003-12-06 11:20:55 +00:00
jdolecek
89d301d92d add NetMos NM9805 and NM9815 2003-12-06 11:19:17 +00:00
jdolecek
d8065a9e15 add entry for another NetMos card - NetMos NM9815 Dual 1284 Printer port 2003-12-06 11:18:08 +00:00
martin
fb5bbc3d78 We can not count CPUs at sysctl initialization time - so don't make
hw.ncpu an immediate value.
2003-12-06 09:36:34 +00:00
itohy
315a88c214 Back out the following commit and apply the real fix.
A variable was actually used in a wrong way.

> revision 1.20
> date: 2003/10/25 21:31:43;  author: christos;  state: Exp;  lines: +3 -3
> Fix uninitialized variable warnings.
2003-12-06 09:32:22 +00:00
atatat
936b72608c Don't need those any more 2003-12-06 04:25:57 +00:00
atatat
44f5f6b89b The missing pieces of PROC_PID_STOPEXIT/P_STOPEXIT, a sysctl tweakable
flag that makes a process stop as it exits.
2003-12-06 04:16:33 +00:00
atatat
23293f9bae Pick off a couple of cpu_sysctl() stragglers. 2003-12-06 03:16:48 +00:00
atatat
4673a65de6 #include "opt_multiprocessor.h"
This makes hw.ncpu and kern.cp_time work better on those platforms.
2003-12-06 02:52:29 +00:00
jonathan
47eb5abfab Commit message for previous revision to sys/nfs/nfs.h:
Increase NFS_MAXRAHEAD to 32. With 32k read or write requests, that
amounts to 1 Mbyte of read-ahead, enough to cover about 10 ms latency
at gigabit Ethernet speeds.  Increase the table of nfsiod kthreads
(NFS_MAXASYNCDAEMON) from 20 to 128, to match the raised value of
NFS_MAXRAHEAD. (Making the limit dynamic requires   replacing the
compile-time array with a dynamic structure.)

Add a comment explaining that each read-ahead requires an I/O thread.

Wrap both parameters with an #ifdef <parameter>/#endif, to allow
hand-tuned values or (later) a kernel config-file option override.
2003-12-06 02:48:35 +00:00
jonathan
8f814572a8 *** empty log message *** 2003-12-06 02:43:17 +00:00
simonb
efee714557 Wrap long line. 2003-12-06 01:53:14 +00:00
he
b2518d1259 Make sure buf_inorder() returns a value under all conditions. 2003-12-06 01:21:23 +00:00
he
b4d0601326 Follow through with the removal of cpu_sysctl() here as well,
on the tail of the dynamic sysctl reorganization.
2003-12-05 23:56:20 +00:00
bouyer
b42d959140 Add support for the Intel 82801ER Serial ATA/Raid Controller.
From Simas Mockevicius on current-users@.
2003-12-05 23:12:41 +00:00
cube
d8aa4bc899 Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead.  Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.
2003-12-05 22:34:44 +00:00
christos
0cc29b2a89 darwin_sysctl is no more. 2003-12-05 22:17:47 +00:00
jdolecek
43dfb7e7a8 add #ifdef DEBUG segnum sanity check in shm_delete_mapping() 2003-12-05 22:09:56 +00:00
petrov
bd2319422e Don't convert syscall args for tracing 32bit binaries on 64bit
kernel. Found and suggested by David Light. Fixes port-sparc64/23473.
2003-12-05 21:49:00 +00:00
jdolecek
cbff3c76c3 fix IPRINTF() code to compile if the printf()s are enabled; also print
lwp pointers rather than proc pointer
2003-12-05 21:24:57 +00:00
jdolecek
0e253cf5f5 back the sigfilter emulation hook change off 2003-12-05 21:12:42 +00:00
christos
f7e4c22afc Add a dummy darwin_slock 2003-12-05 20:34:45 +00:00
manu
c79cdf6650 struct darwin_slock is not undefined, it's just machine dependent. 2003-12-05 19:57:44 +00:00
scw
a9760a89e4 To cater for VLAN-aware layer 2 ethernet switches which may need to strip
the tag before forwarding the packet, make sure the packet+tag is at least
68 bytes long.

This is necessary because our parent will only pad to 64 bytes (ETHER_MIN_LEN)
and some switches will not pad by themselves after deleting a tag.
2003-12-05 19:35:43 +00:00
christos
6b364b0d7f Do the song and dance for the new indirect register mappings.
XXX: This driver's attach routine does not free resources on allocation
failure.
2003-12-05 19:00:07 +00:00
christos
91fec5ebba Make this compile.
- does darwin_sysctl() need to be gc'ed?
- does the darwin root node need to be in struct emul?
- does struct emul need a root sysctl node?
2003-12-05 17:34:56 +00:00
fvdl
9038f863f4 Resurrect include of opt_insecure.h to get the INSECURE definition.
From Kouichirou Hiratsuka on current-users.
2003-12-05 16:19:09 +00:00
hannken
8e29a1a664 Make it compile without PPC_OEA. 2003-12-05 11:00:57 +00:00
pk
5255e234b9 cac_cmd:
* don't let cac_ccb_alloc() sleep since it regularly runs in an
    interrupt context
  * return EAGAIN instead EBUSY (or -1), which is what the upper ld
    layer expects to get on transient resource shortages.
  * ignore error from cac_ccb_start(), since a `fifo full' condition is
    handled internally in the lower layer, i.e. the transaction started
    from ldstart() has been queued at the lower layer and must be taken
    off ld's disk queue.
2003-12-05 10:23:00 +00:00
yamt
a9133ee855 buf_inorder: deal with 64-bit daddr_t correctly. 2003-12-05 10:16:16 +00:00
gson
9798a7bc46 Make the chars in the umidi_endpoint buffer unsigned; this fixes at
least one sign extension bug which caused umidi input to not work.
2003-12-05 06:05:53 +00:00
gson
07bb045f57 Opening umidi read-only failed to increment ep->num_open because
open_in_jack() treated USBD_IN_PROGRESS as a failure return.
2003-12-05 06:01:59 +00:00
grant
0a49c48fe4 remove some extraneous \'s to shut up warning from gawk. 2003-12-05 04:33:27 +00:00
grant
a586448d86 regen 2003-12-05 04:28:47 +00:00
grant
efde88a60f add Adaptec AAR-1210SA Serial ATA RAID controller. 2003-12-05 04:28:04 +00:00
bjh21
a42f9e3038 Include <sys/sysctl.h> for sysctl stuff.
Also, create the vfs.filecore subtree, rather than vfs.union.
2003-12-05 00:51:08 +00:00
manu
6d6c56a0dc Add the kdebug_trace system call. It does nothing but dumping anything it
gets. dyd uses that feature when DYLD_TRACE is set.
2003-12-04 23:59:50 +00:00
manu
632ce64965 When wakeing up a process that was sleeping for a signal when we have a Mach
exception, don't temper with ps_sigwaited.
2003-12-04 22:00:03 +00:00
manu
8a670a0018 Fix newer compiler warning 2003-12-04 21:48:15 +00:00
atatat
2ad42c8121 Not a published interface...yet 2003-12-04 20:06:58 +00:00
atatat
ab1350caca Dynamic sysctl makes 1.6ZF into 1.6ZG 2003-12-04 19:39:57 +00:00
atatat
13f8d2ce5f Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 19:38:21 +00:00
drochner
0b653612f0 fix typo in comment 2003-12-04 19:23:00 +00:00
christos
0aac876eae fix unused variable warnings when LARGE_NAT is defined. 2003-12-04 15:32:01 +00:00