Commit Graph

156294 Commits

Author SHA1 Message Date
dsl 6209b5bbf3 The pre-kauth 'struct ucread' and 'struct pcred' are now only used in the
(depracted some time ago) 'struct kinfo_proc' returned by sysctl.
Move the definitions to sys/syctl.h and rename in order to ensure all the
users are located.
2007-02-18 15:20:34 +00:00
cube c7565916df Regen (missing lwp syscalls). 2007-02-18 15:00:14 +00:00
degroote 5bf3692f91 Fix the {ah,esp}4_ctlinput code 2007-02-18 14:28:25 +00:00
ad d266042a07 Release ufs_hashlock before calling ungetnewvnode(). 2007-02-18 14:26:52 +00:00
degroote b7fbb86788 Forgot to remove two useless extern 2007-02-18 14:13:52 +00:00
degroote b0339b36b0 Constify the code following the dyoung change ( the "bug" was hidden by the
extern declaration ).
While here, remove a Kame ifdef which is useless in netipsec code
2007-02-18 13:55:25 +00:00
martin c545f935c5 Make EMPTY expand to nop with gas, as it is used to mark empty branch
delay slots.
2007-02-18 13:28:28 +00:00
degroote 0a648e9c8b Remove __P
Remove useless extern
Use ansi declaration
2007-02-18 13:27:31 +00:00
wiz 784ece2d87 Improve wording, from Joerg Niendorf in PR 35660. 2007-02-18 12:33:47 +00:00
wiz 5c18c23b92 gcc-4.1.2 is out. 2007-02-18 12:29:24 +00:00
tsutsui 1359adc400 No need to specify BUS_DMA_ALLOCNOW for sglist map
since it will never be unloaded anyway.
2007-02-18 12:26:13 +00:00
tsutsui a632ff6d41 According to info from Byron Servies on port-cobalt,
the interrupt line from the primary (and only) tulip Ethernet
on Qube2700 is connected to CPU INT2, so handle it properly
in pci_intr_map(9).
2007-02-18 12:22:16 +00:00
tsutsui 14dfb0043c - KNF, ANSIfy, TAB/space cleanup
- unwrap some lines
- u_intNN_t -> uintNN_t
2007-02-18 12:16:14 +00:00
tsutsui bd2568487a KNF a bit. 2007-02-18 11:52:18 +00:00
dsl 923424a8c0 Keep proclist_lock held across p_find and use of result proc. 2007-02-18 11:45:35 +00:00
dsl 1564fa5d82 ANSI prototypes 2007-02-18 11:38:15 +00:00
dsl c7907fd992 Factor out the replicated code that verifies that the caller is allowed
to acces the required process into a separate function (hi cut and paste).
Acquire the proclist_lock across p_find().
2007-02-18 09:45:39 +00:00
cube c376ba15d1 Add missing lwp syscalls. Put them all together into a new file,
netbsd32_lwp.c, and remove remaining traces of SA.

This still needs some MD (and possibly MI, depending on the chosen
solution) changes to actually work.
2007-02-18 09:03:54 +00:00
macallan e8e145b6d9 fix typo - softintr.c is in arch/arm/arm/ not arch/arm/ 2007-02-18 08:10:41 +00:00
cube 061b57d684 Fix a couple missed occurrences of P_32 -> PK_32. 2007-02-18 08:08:41 +00:00
matt 981ae6645d Don't export spl_smasks or soft_interrupts. They are local to intr.c
Make sure that softintr_init() is called when needed.
Assume __HAVE_GENERIC_SOFT_INTERRUPTS is defined (since newlock2 requires it).
2007-02-18 07:48:20 +00:00
matt c51fe0708a Changes for newlock2. 2007-02-18 07:25:34 +00:00
matt 3a0eef4ed3 Add <arm/mutex.h> and <arm/rwlock.h>
Add atomic_cas to <arm/atomic.h> for use by <rwlock.h>
2007-02-18 07:24:42 +00:00
matt 37f7079751 Call softintr_init() 2007-02-18 07:20:40 +00:00
matt 6aa56b9197 Compile in arm/arm/softintr.c 2007-02-18 07:17:57 +00:00
dyoung 3365b046ad Use satocsin to cast to const struct sockaddr_in *. 2007-02-18 07:17:48 +00:00
matt d44aac9ad3 Map IPL_SOFTxxx to SI_SOFTxxx. 2007-02-18 07:17:18 +00:00
matt 39cadbf356 Add __HAVE_GENERIC_SOFT_INTERRUPTS support for shark. This was done by
extenting the current arm generic intrs to support softintrs.  Add
IPL_SOFTCLOCK, IPL_SOFTNET, IPL_SOFTSERIAL.
2007-02-18 07:13:17 +00:00
dogcow 27a0c93811 constify struct sockaddr. 2007-02-18 06:20:10 +00:00
dyoung 2d212326ef Use the new ifnet->if_output signature, the one with a const
argument, when __NetBSD__Version >= 499001100.
2007-02-18 04:01:27 +00:00
dyoung c0e346c1a9 Hello, NetBSD 4.99.11. (For ifnet change.) 2007-02-18 03:54:34 +00:00
dogcow 51701d90f7 constify struct sockaddr for no_output and write_output, due to if.h 1.122 2007-02-18 03:22:03 +00:00
tsutsui dbc219b5ff Add a missing break, which causes bogus debug messages on
check condition during device probe.
2007-02-18 02:46:44 +00:00
tsutsui 6b5f49046d Install mutex.h and rwlock.h. 2007-02-18 02:45:31 +00:00
hubertf 96ed6e7862 Make this compile after TSEL() const poisoning
OK'd by dyoung@
2007-02-18 01:56:17 +00:00
pooka 7b63f0de5d Don't check for validity of p in lookup for root nodes, since it
will always be NULL.  Rather, just call pt_valid with NULL directly
and let it decide if we're a linux mount or not.
2007-02-18 01:55:26 +00:00
hubertf 6eb43c8c6d TSEL() is const char* now 2007-02-18 01:48:37 +00:00
pavel 11f19508fd Accept the old ABI versions of signal trampolines for 32-bit
compatibility. Unbreaks the i386 cvsup binary on amd64.

Problem reported by Blair Sadewitz and Viktor Holmlund, fix tested by
Viktor Holmlund.
2007-02-18 01:45:37 +00:00
hubertf d823788fde Make TSEL() return char* instead of void*
Doing this as remote hands for dyoung@.
This gets ifconfig compiled again.
2007-02-18 00:56:53 +00:00
wiz 216334ea2c Bump date for previous. 2007-02-18 00:46:47 +00:00
hubertf 002621f0bc Try to tell what this really does.
Including a BUGS section on why it doesn't.

*roff code by wiz@, with some input from
Slava Semushin <slava.semushin@gmail.com>
2007-02-18 00:38:22 +00:00
pooka 6f8e93a61f support some more fuse interfaces required for setattr:
utimens, utime, truncate and ftruncate
2007-02-18 00:01:18 +00:00
jmcneill e9a5822887 Add example config file for Netgear WGT624 v3 wireless router. 2007-02-17 23:26:03 +00:00
jmcneill 692a0ae545 Only define COM_ARBUS_BAUD if not already defined elsewhere. 2007-02-17 23:25:26 +00:00
jmcneill 2b24c5c8d5 Regen. 2007-02-17 23:24:44 +00:00
jmcneill bc130a3a9b Add Marvell 88E6060 10/100 5-port PHY switch 2007-02-17 23:24:32 +00:00
jmcneill 737605ff0b Enable mvphy(4) 2007-02-17 23:24:01 +00:00
jmcneill 046f6fb760 Add a default "dumb" mode, that adds all ports to the same interface. 2007-02-17 23:23:38 +00:00
pooka 29d5922025 #include <ucontext.h> 2007-02-17 23:00:16 +00:00
pavel f5e7ca2447 Revert the changes done after newlock2 merge, except for the removal of
the now unused LSDEAD state. The current kernel headers are now
source-compatible with pre-newlock2 kernel headers again.

Approved by Andrew Doran.
2007-02-17 22:49:56 +00:00