he
1c6c843936
Adapt to const-ification of first arg of open function in fs_ops.
2003-08-21 23:28:27 +00:00
he
09c6022868
Add memcmp, memmove and bcmp to handle the new ufs.c.
2003-08-21 23:24:36 +00:00
he
b6643fd4d3
Adapt to const-ification of first arg of open function in fs_ops.
2003-08-21 23:15:18 +00:00
he
25d9b10ee9
Add casts of LINUX_USRSTACK and USRSTACK to handle the cases
...
where these are not constants.
2003-08-21 23:00:07 +00:00
he
241ad00001
Adapt to const'ing of the first argument of the open function in fs_ops.
2003-08-21 22:34:48 +00:00
jonathan
9dbddd495b
Remove #ifdef _OpenBSD__ code which sets the softc pointer `sc' by
...
passing an index into ubsec_cd.cd_devs[]: that causes too much
confusion with the checks that sc is non-null.
2003-08-21 20:00:15 +00:00
jonathan
6f179aea24
Pull in FreeBSD sys/opencrypto/cryptodev.h, revision 1.2.2.5 -> 1.2.2.6.
...
Sam Leffler's FreeBSD commit message was
``to eliminate context switch when returning results from the
software crypto driver''
but the patch also contains the CRYPTO_SESID*() macros used in newer
ubsec and hifn drivers.
2003-08-21 19:44:14 +00:00
jonathan
412d30185b
Pull up `done' flag for crypto operations from FreeBSD. FreeBSD deltas:
...
cryptodev.c: 1.4.2.3 -> 1.4.2.4
cryptodev.h: 1.4.2.4 -> 1.4.2.5
2003-08-21 16:08:05 +00:00
yamt
a7f9b1d8e0
don't make zero-sized mappings.
2003-08-21 15:17:03 +00:00
dsl
dc46f864d1
Hide prototype of linux_exec_setup_stack() inside #ifdef _KERNEL so
...
that sbin/sysctl will compile.
2003-08-21 15:08:25 +00:00
jonathan
6196bbe72d
Honour the M_CSUM_NO_PSEUDOHDR, if set on inbound TCP and UDP packets.
...
Tested against bcm5700 with patched if_bge.c.
2003-08-21 14:49:49 +00:00
dsl
92c5eba410
Split CGSIZE definition so it can be used with 64bit fpg values.
...
Split cg_start so magic can be done in libsa when it is known that the
filesystem isn't UFS2.
2003-08-21 14:41:00 +00:00
he
395b0c6682
Now that ufsboot / ufs.c uses memmove(), we need to include it here.
2003-08-21 13:12:32 +00:00
pk
84ab67f557
sun4/sun4c DIAGNOSTIC: fix tally of locked down pmegs.
...
pmap_page_protect: DIAGNOSTIC: show `pg' argument in panic.
pmap_unwire: for now, only used for sun4/sun4c MMUs.
2003-08-21 09:36:28 +00:00
hannken
1a2d1be737
Fix syscall_vm86 argument:
...
struct trapframe -> struct trapframe *
2003-08-21 08:36:56 +00:00
elric
72e3ec4b0c
Should call ufs_close() if it isn't being built in.
2003-08-21 00:01:28 +00:00
elric
2a56d40c5c
make 'path' argument to cd9660_open 'const char *' and fix the fallout.
2003-08-21 00:00:52 +00:00
itojun
109461480a
expose CBQ_MAXPRI to userland
2003-08-20 23:32:25 +00:00
jonathan
65d419641b
regen from pcidevs 1.567 with fix for typo in bcm5823 product-id.
2003-08-20 22:58:22 +00:00
jonathan
fcc087c11d
Fix typo (s/5822/5823/) in line for bcm5823 device.
2003-08-20 22:56:13 +00:00
jonathan
c23a2c9c86
opt_inet6.h is FreeBSD-specific, so wrap it with #ifdef __FreeBSD__/#endif.
2003-08-20 22:33:40 +00:00
fvdl
c43b35423e
Pass pointers to frames from assembly, do not use the 'frame on stack
...
as argument passed by value' trick, as gcc 3.3.x makes (valid) assumptions
about the stack that will not be true. Costs 2 instructions per trap/syscall
on i386, 4 per interrupt for MP. One instruction per trap/syscall on amd64,
2 per interrupt for MP. I expect gcc 3.3.1 to make up for this by better
optimization (it'd better..)
While here, make amd64 compile again by using subr_mbr_disk.c
2003-08-20 21:48:35 +00:00
drochner
544307ba64
make the vlan stuff work
2003-08-20 17:41:38 +00:00
matt
a1bba8f344
Relax things so that OFW implementations that don't conform to the OFW PCI
...
bindings will work.
2003-08-20 14:41:56 +00:00
yamt
7847549d35
use LSDEAD instead of SDEAD for lwp state.
2003-08-20 14:04:00 +00:00
yamt
611b0b9f15
don't use a space char in wmesg.
...
it makes outputs of SIGINFO confusing.
2003-08-20 13:54:48 +00:00
yamt
be09ed029e
fix indent.
2003-08-20 13:50:53 +00:00
itojun
1403d9d920
KNF
2003-08-20 13:32:33 +00:00
ragge
e7bd9c8c0f
Add Makefile.
2003-08-20 12:29:08 +00:00
erh
a22558465d
Add entry for Intel 82801EB AC-97 audio. Audio sounds fine with this,
...
although the mixer settings are a bit odd: outputs.master doesn't do anything,
but outputs.surround does.
2003-08-19 21:04:22 +00:00
dsl
40bac1084c
When writing the disklabel:
...
- Write label to all netbsd (type 169) mbr partitions (even if they don't
already have a label).
- Update any label found in sector LABELSECTOR and sector 0.
Latter change makes DIOCWDINFO (etc) work on raidframe (fixing bin/22529).
2003-08-19 11:49:24 +00:00
ragge
a9e5513c6b
Kerner library files for pdp10.
2003-08-19 10:59:26 +00:00
ragge
7ea6b903f5
Basic machine-dependent code for pdp10.
...
Lots of stuff here not yet finished.
2003-08-19 10:54:59 +00:00
ragge
a08c4b9e22
Header files for pdp10.
2003-08-19 10:53:04 +00:00
ragge
7a599d2c3e
Simple ebus, Massbus adapter and Massbus disk drivers.
...
The Massbus disk drivers should be merged with the vax Massbus disk drivers
when the 4.4BSD Massbus code gets free.
2003-08-19 10:51:57 +00:00
ragge
ab103e8af7
Configuration files for pdp10.
2003-08-19 10:49:57 +00:00
itojun
b83dd2f98b
remove unneeded #ifdef __NetBSD__
2003-08-19 08:00:54 +00:00
itojun
ade8129bdc
make ip_fragment public (it is for coming PF integration)
2003-08-19 01:20:03 +00:00
christos
ae572737ba
make ip_fragment static and add prototype.
2003-08-19 00:54:41 +00:00
itojun
4f8ba921cd
correct ip_multicast_if fix to always set ifp (tnx Shiva)
2003-08-19 00:17:38 +00:00
eeh
677644de4b
Increase the size for the symbol table so we don't overflow anymore.
2003-08-18 23:20:06 +00:00
itojun
449b5c43d4
since we cope with packets with addess on !IFF_UP interface in ip_input()
...
properly, IFF_UP check in INADDR_TO_IA is obsolete (or too much).
2003-08-18 22:28:51 +00:00
itojun
122edbc337
fix problem we can't drop membership on !IFF_UP interface.
...
reported by Shiva Shenoy
while we're here, fix another problem when the same interface address is
assigned to !IFF_MULTICAST and IFF_MULTICAST interface. if ip_multicast_if()
returns the first one, join/leave will fail, which is not an desired effect.
2003-08-18 22:23:22 +00:00
matt
121c8942a6
Not all PPC ports (e.g. macppc) equate IPL_NONE with 0.
2003-08-18 22:10:33 +00:00
eeh
26ed6e652b
Do not rely on an address from one particular firmware version.
2003-08-18 21:34:11 +00:00
eeh
e898bed96b
Use the only documented method to get the board data from the firmware.
2003-08-18 21:30:51 +00:00
he
6d211e7dbf
Re-balance parens.
2003-08-18 20:34:18 +00:00
dsl
fc94061686
Further fallout from making 'path' arg to 'ufs_open' 'constchar *'.
...
There may be fallout in other builds....
2003-08-18 15:47:41 +00:00
dsl
8453fb0040
make 'path' argument to ufs_open 'const char *' and fix the fallout.
2003-08-18 15:45:27 +00:00
taca
88b2ae484d
make ahc(4) to recognize Adaptec 2915LP Ultra160 SCSI adapter.
2003-08-18 09:16:22 +00:00