Commit Graph

56043 Commits

Author SHA1 Message Date
itojun
7410ea60ca in in*_pcbrtentry(), check if route is still valid (RTF_UP),
and address family is still valid.
2002-05-28 10:07:51 +00:00
haya
de6fbd495c Bugfix: add character device #62 in chrtoblktbl[]. 2002-05-28 10:01:23 +00:00
itojun
10c5914022 limit number of IPv6 fragments (not the fragment queue size) to
fight against lots-of-frags DoS attacks.  sync w/kame
2002-05-28 03:04:05 +00:00
lukem
9d8552460f add puc, and com & lpt at puc 2002-05-27 23:58:52 +00:00
lukem
a0336432b3 add lpt_puc support (from files.i386) 2002-05-27 23:41:33 +00:00
bjh21
1d76b4db4b 1.4: get_page() abstracted. 2002-05-27 20:18:56 +00:00
bjh21
c489f6804b Add a function, get_page(), whose job is to find which logical page should
be used to load a given physical page.  At the moment, this just returns
the page's current logical mapping, but in future it might handle returning
bounce pages for physical pages which are in use, and copying to the correct
page just before loading the kernel.
2002-05-27 20:17:11 +00:00
ragge
bb2b3afc9a Read correct Ethernet address on VXT2000. 2002-05-27 17:32:01 +00:00
gson
910011f658 When audio recording was paused or dropping samples, the "outp" of the
recording ring buffer could overrun the end of the buffer.  When
recording resumed, memory after the end of the buffer would be read,
sometimes causing a system crash.
2002-05-27 17:13:14 +00:00
ragge
97b3433515 Use correct ethernet address address on VXT2000. 2002-05-27 16:54:18 +00:00
drochner
f5b492e186 use CD session offset from the disklabel, if present 2002-05-27 16:44:37 +00:00
drochner
259cb04e6f put multisession offset code into a separate function and initialize
the p_cdsession field of partition 'a' in the default disklabel
2002-05-27 16:42:30 +00:00
drochner
3963e95b9b turn p_fsize into a union { p_fsize, p_cdsession }; the latter member
is used to store the session offset on multi-session CDs
2002-05-27 16:36:37 +00:00
itojun
ae5a9e211d re-scan all ifnet after domaininit() for if_afdata initialization. 2002-05-27 13:46:45 +00:00
drochner
9936deaa92 regen 2002-05-27 08:52:36 +00:00
drochner
67d163e234 add one more of our own products 2002-05-27 08:52:13 +00:00
itojun
e5aa199677 framework to add af-dependent data structure to struct ifnet.
as discussed at bsd-api-discuss.  sync w/kame
2002-05-27 02:53:49 +00:00
manu
e8f2e051a3 - When requested a semamphore count, the userlands expects the kernel to
return the number of processes waiting on the semaphore. We now maintiain
a count of waiting processes.
- Blocked processes are unblocked "first in, first out". We now have a
queue of waiting processes on a asemaphores, so that we can wakeup the
first blocked process.

Problems:
- We now have a lot of dynamic memory allocation, it may be a bit slow.
- Nothing is SMP safe for now. We need to add locks.
- On close, we forget about a semaphore, which is incorrect. One process
  can close its fd attached on a semaphore, but other processes  would carry
  on using it. Since any process can join a shared arena, this is not an
  easy thing to solve.
- A lot of usema/usync functionnalities are still to be discovered.
2002-05-26 21:37:12 +00:00
jdolecek
d02e4285f9 bump ramdisk size, 2M isn't enough 2002-05-26 18:13:56 +00:00
itojun
3e7ae517e0 path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)
2002-05-26 16:05:43 +00:00
tshiozak
94a6bb8164 add PLANEX GW-NS11H Wireless LAN PC Card. 2002-05-26 14:37:19 +00:00
tshiozak
7b488909a7 add PLANEX GW-NS11H Wireless LAN PC Card 2002-05-26 14:35:10 +00:00
jdolecek
a14bf4ee89 update comments 2002-05-26 12:53:22 +00:00
jdolecek
2f8917ee1b regen (RCS Id fix) 2002-05-26 12:52:27 +00:00
jdolecek
64efb25dc0 remove space in generated NetBSD RCS Id 2002-05-26 12:51:55 +00:00
jdolecek
b69489fb3b pregenerate grf_ultms.c, so that gspa isn't needed during kernel build 2002-05-26 12:47:41 +00:00
fvdl
5659e1960c Remove use of pcb_fs and pcb_gs. 2002-05-26 12:19:38 +00:00
fvdl
f6d35976a9 Remove fs and gs fields. 2002-05-26 12:08:49 +00:00
bjh21
fb65355d04 Remove #ifdef NC stuff, syncing with iomd/todclock.c. 2002-05-26 12:07:55 +00:00
fvdl
1371b7fb28 Don't stuff fs and gs in the PCB, they need to be dealt with in
the trapframe.
2002-05-26 12:07:40 +00:00
simonb
178eb5321c Fix previous so that the constants are outside of the #ifdefs such that
they are actually compiled(!).
2002-05-26 07:37:08 +00:00
minoura
78d97e78f0 Clear done_head in the HCCA *before* acknoledging the interrupt.
Driver lost some completed transfers under heavy loads.
2002-05-26 03:10:02 +00:00
fvdl
66f94c684f Move the kernel to the upper 4G of virtual address space and use
-mcmodel=kernel.
2002-05-26 00:23:49 +00:00
fvdl
7e00cc50ec Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
Our in-tree gcc 2.95.3 accepts the flag as well.
2002-05-26 00:15:25 +00:00
itojun
9a1a825873 we have no IFT_DUMMY. kame merge mistake 2002-05-25 22:18:49 +00:00
jdolecek
357b304b86 add some procfs files which seem to be needed nowadays 2002-05-25 20:39:50 +00:00
jmcneill
2f2e418115 Add explanation for PMS_DISABLE_POWERHOOKS, as requested by hubertf. 2002-05-25 17:05:33 +00:00
itojun
e3c4951b26 re-enable ipsec policy caching onto pcb. refcnt fix and workarounds based on ymmt-san. 2002-05-25 10:01:01 +00:00
ichiro
4c034ead9b make compile when define DEBUG 2002-05-25 07:58:35 +00:00
ichiro
fdb6b41ec7 regen 2002-05-25 07:32:25 +00:00
ichiro
407f8f5b2c add 21555 Non-Transparent PCI-PCI Bridge 2002-05-25 07:28:15 +00:00
simonb
4e7ebf2dd2 Include <machine/intr.h> here. 2002-05-25 04:30:16 +00:00
simonb
efd6a59812 Move IPL/spl interrupt code to intr.h; this include file is expected to
exist in some networking code.
2002-05-25 04:27:21 +00:00
simonb
1f3bc4331e Make infty, snan and qnan externs and declare in ieee_handler.c.
Add an empty statement after a goto label to keep gcc-current happy.
2002-05-25 03:54:36 +00:00
simonb
648246d46a Add an empty statement after a goto label to keep gcc-current happy. 2002-05-25 03:45:12 +00:00
perseant
d67a5bbb21 Fix a couple of instances where reassignbuf() was not done at splbio.
Tested on i386.
2002-05-24 22:13:57 +00:00
ragge
7259fa6a37 %d -> %ld in some debug messages, after the ELF switch. 2002-05-24 21:41:40 +00:00
ragge
4d559e645f Boot support for the VXT2000 X terminal, based on some info on the VAXLinux
mailing list.
2002-05-24 21:40:59 +00:00
christos
7db182d94d NBPG is not constant on the sparc, so don't use CPP tricks. 2002-05-24 18:10:06 +00:00
christos
0c5fed7eec Deal with the NBPG problem in a better way. 2002-05-24 15:58:06 +00:00