Commit Graph

30985 Commits

Author SHA1 Message Date
itojun
4b961b81e3 avoid "variable not initialized" warnings on some of the platforms. 1999-07-02 12:45:32 +00:00
itojun
243585320c expand insque/remque (quick hack). fundamental fix should be done
while clarifying relationship between inpcb and in6pcb.

PR: 7891
1999-07-02 12:43:42 +00:00
itojun
f8346292af move ipsec sysctl index to IPPROTO_AH (instead of IPPROTO_ESP),
so that you can perform sysctl operation when ESP is not compiled in.
1999-07-02 08:46:47 +00:00
itojun
932ab72aee remove TIME_WAIT issue, it was false. 1999-07-02 07:36:33 +00:00
itojun
8ebf9f7039 add tcp6 port # oddity.
add splnet/splsoftnet issue.
1999-07-02 07:16:29 +00:00
thorpej
8328f07bda Fix printf format on LP64. 1999-07-01 22:47:56 +00:00
thorpej
14a2fa8169 Fix IPv6 software interrupt vector label. 1999-07-01 22:03:38 +00:00
thorpej
30f651d5b0 Const poison local printf prototype. 1999-07-01 20:46:42 +00:00
is
136b788b3d Better align memory segment table. 1999-07-01 20:14:42 +00:00
thorpej
43e7ebad4c Const poison local printf() prototype. 1999-07-01 20:11:39 +00:00
itojun
afb0d8e6e1 less warning on userland compilation. 1999-07-01 20:10:27 +00:00
itojun
1f731b1e07 avoid void * arithmetic (msg_control is now void *). 1999-07-01 20:09:57 +00:00
thorpej
11c67d01a5 Fix a corner case locking error, which could lead to map corruption in
SMP environments.  See comments in <vm/vm_map.h> for details.
1999-07-01 20:07:05 +00:00
wrstuden
b101a0685c Make fhopen use FILE_UNUSE, and don't leak file descriptors.
Patch from Jason Thorpe. Also should close PR 7889 from
Assar Westerlund <assar@sics.se> describing this problem.
1999-07-01 18:58:16 +00:00
thorpej
c859e43fbb Fix tyop. From Bill Studenmund. 1999-07-01 18:40:39 +00:00
itojun
c74aeb8363 document issues in libc extensions. 1999-07-01 18:28:55 +00:00
drochner
f3a6841709 make it compile if WSDISPLAY_COMPAT_RAWKBD is defined, but NWSDISPLAY not,
reported by Kazushi Marukawa <jam@pobox.com>
1999-07-01 11:18:20 +00:00
itojun
118d2b1d4f IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.
1999-07-01 08:12:45 +00:00
itojun
9765602d90 add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
itojun
5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
darrenr
4607be6533 define PR_LISTEN to indicate listen(2)/accept(2) support 1999-07-01 05:56:53 +00:00
darrenr
cd92b615fa fix sys_accept() to return EOPNOTSUPP for protocols which don't support
listen/accept (PR_LISTEN flag in protosw) and detect obvious faults in
parameters passed.  It is still possible for the address used for copying
the socket information to become invalid between that check and the copyout
so close the connection's allocated fd if the copyout fails so that we can
return EFAULT without allocating an fd and the application not knowing about
it.  Ideally we'd be able to queue the connection back up so a later accept
could retrieve it but unfortunately that's not possible.
1999-07-01 05:56:32 +00:00
darrenr
67cac86e57 add PR_LISTEN to protocols which support listen(2) 1999-07-01 05:53:04 +00:00
ragge
1647688f0d Use pmap_steal_memory() for early memory allocation. 1999-06-30 19:31:33 +00:00
ragge
8783dd4166 MSCP moved. 1999-06-30 18:48:06 +00:00
ragge
9c7dfb8eb4 Outdated; moved to another location. 1999-06-30 18:47:03 +00:00
ragge
996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ragge
a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge
3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ragge
04620b62b5 Search for include files in new locations. 1999-06-30 18:19:26 +00:00
drochner
6d864c0914 add driver for the Bit3 PCI-VME adapter, without the DMA parts for now 1999-06-30 17:45:38 +00:00
fair
3a845702d7 A reference to http://members.hyperlink.net.au/~chart/pci.htm in comments;
this new effort at collecting PCI data outside the PCI SIG replaces the
one that was referenced in here before.

No regeneration required.
1999-06-30 16:52:52 +00:00
tsubai
654e155756 Display verbose messages about L2 cache. 1999-06-30 16:34:19 +00:00
drochner
33104934d9 update for new VME framework 1999-06-30 15:18:58 +00:00
drochner
83eb712e3c update for new VME framework 1999-06-30 15:07:45 +00:00
drochner
44418fdf70 new, more mi, VME framework 1999-06-30 15:06:05 +00:00
is
b4b3d042fd Only check for ETXTBSY if the access would otherwise be allowed.
Needed to fix pr4134.
1999-06-30 10:00:06 +00:00
augustss
b177c7a397 Totally redo the way device detach is done. It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss
dd048d428b Make it possible to detach wsmouse and wskbd.
XXX wskbd probably needs some more work.
1999-06-30 06:21:21 +00:00
nisimura
b57c6ad0bc - _insque()/_remque() used by CODA. 1999-06-30 03:52:04 +00:00
chopps
dc3a7247ce add multicast address like everyone else, using if_ioctl 1999-06-30 03:32:40 +00:00
fvdl
811a6162c3 Allow execution of shared objects. This is silly, but is allowed in,
for example, Solaris and Linux, and at least one Linux ldd implementation
even depends on it.
1999-06-29 23:39:06 +00:00
wrstuden
6e06666498 Add fhopen, fhstat, fhstatfs syscalls. Also move getfh in from the nfs
syscall code.
1999-06-29 22:18:47 +00:00
wrstuden
a9e728797e regen. 1999-06-29 22:17:39 +00:00
wrstuden
d55b282c54 Add fhopen, fhstat, fhstatfs. 1999-06-29 22:15:31 +00:00
ad
aa5b341705 Kill duplicate RCS ID line at top of file. 1999-06-29 21:00:27 +00:00
is
a183cb63ae Fix horizontal timings for console mode (this helps, at least,
Lars Hecking).
1999-06-29 19:51:28 +00:00
ross
ced3118f58 * sprintf -> snprintf
* add a few alpha_mb() ops as called for by folklore and rumour
1999-06-29 17:10:57 +00:00
augustss
2c01d202a6 Add another USB memory type to ease tracking of leaks. 1999-06-29 16:45:14 +00:00
ross
cf1ca54803 Minor Tsunami-related changes. 1999-06-29 07:22:25 +00:00
ross
6068f64d34 * If the cpu_model string contains some form of MHz , don't print
the rpb field also.
* Add dot_conv(), hex format conversion for long hex digit strings.
1999-06-29 07:21:30 +00:00
ross
10f1f2d81f Prototype dot_conv(), new routine in machdep.c that formats an alpha
long like this: e081.8000.8000.0004
1999-06-29 07:18:23 +00:00
ross
724273c3c0 System support for ev6 (21264) systems. 1999-06-29 07:08:53 +00:00
ross
b0947ec27d Turn on EV6 bits: Tsunami and system type 6600. 1999-06-29 07:04:15 +00:00
ross
3714f3754f Turn on dec_6600_init, "DEC_6600". 1999-06-29 06:50:41 +00:00
ross
0f707bdb06 Identify the various ev6 pass numbers.
Also print the raw pass number rpb value as, say, `21264-4', like SRM does.
1999-06-29 06:49:36 +00:00
ross
7a27e79bff Support for EV6 Tsunami core logic and system type 6600.
This covers most or all of the presently-available 21264 systems.
1999-06-29 06:46:46 +00:00
briggs
819a054df2 Poll for serial interrupts. Return to 3000us delay instead of 4000us in init. 1999-06-29 04:45:59 +00:00
pk
3c6560a597 More ugly code to force early configuration of the sun4 on-board timer. 1999-06-28 22:40:15 +00:00
pk
61f60a2fbe Allow SFILES to be empty; from Julian Coleman. 1999-06-28 21:03:23 +00:00
pk
bd0ac6506c Prepare entry for `hme at sbus'; commented out until driver is finished. 1999-06-28 20:26:47 +00:00
pk
4fe4dae943 Ignore (but still generate a console warning) unhandled user-generated traps. 1999-06-28 15:51:26 +00:00
minoura
6895a21734 Correct imbalance #if. 1999-06-28 15:35:04 +00:00
pk
7c5f595062 mmu_pagein() prototype: change address argument to `vaddr_t'. 1999-06-28 14:44:57 +00:00
pk
5814a13657 mmu_pagein: refuse kernel space addresses here. 1999-06-28 14:41:43 +00:00
ragge
1e7b5cf8ae Wrong definition of SID for MicroVAX I, from Brian Chase. 1999-06-28 13:13:53 +00:00
itojun
427639cdce - Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
explorer
12b25faeaf KNFify. Add LINK1 flag to turn off that address munging thing, for cases
where the tunnel endpoint is not the same as the remote GRE destination.
1999-06-28 07:52:38 +00:00
itojun
74d3c214ec KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.
1999-06-28 06:36:47 +00:00
briggs
79fe772f46 Include a bit more info about what's not happening with IOP. 1999-06-28 04:33:21 +00:00
briggs
598b09009b Include resourcevar.h for p_limit/rlimit definition. 1999-06-28 04:21:15 +00:00
augustss
622f3d3db5 Regen. 1999-06-28 04:10:26 +00:00
augustss
f69aea19d2 Add some weirdo modem. 1999-06-28 04:09:53 +00:00
sakamoto
8b9b340040 remove display.h 1999-06-28 02:44:49 +00:00
sakamoto
0d8aecad83 Description of making bootable floppy disk for NetBSD/bebox. 1999-06-28 02:19:37 +00:00
briggs
71a4446b04 Unfortunately, several changes that are intermingled:
- Add initial IOP support.  ADB doesn't work yet for me, but it's here so
  that others will be encouraged to work on it.  ADB_HW_IOP basically
  is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
  changing rtclock_intr to grovel the stack differently so that hardclock
  gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
  through pointer and we can register handlers.  Register via1 interrupt
  with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
  hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now.  We may need to
  special case some Quadras, but Linux folks are reporting success on
  several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
  configurations.
1999-06-28 01:56:55 +00:00
briggs
f9de07203c Add some constants from Linux/mac68k to note SCC, floppy, and SCSI registers.
Add some code, inspired by Linux/mac68k, to shutdown all DMA on the PSC
at startup and to disable and clear all interrupts except the SCC.
1999-06-28 01:41:13 +00:00
sakamoto
d897c73dfc correct tgets loop. 1999-06-28 01:35:11 +00:00
sakamoto
d32f22724c Use loadfile.
KNF
b* -> mem*
1999-06-28 01:20:43 +00:00
sakamoto
a6ad37379e Add elf2pef and mkbootimage. 1999-06-28 01:08:05 +00:00
sakamoto
70b8755876 Convert ELF image into PEF image.
some KNF
1999-06-28 01:03:55 +00:00
sakamoto
9b0b219ff6 Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/pef.h,v 1999-06-28 00:56:31 +00:00
sakamoto
8ab4e1005a Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v 1999-06-28 00:56:30 +00:00
sakamoto
e6fae19e1f Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/magic.h,v 1999-06-28 00:56:03 +00:00
sakamoto
52fc791782 Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v 1999-06-28 00:56:02 +00:00
sakamoto
f1be5c4181 Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v 1999-06-28 00:51:11 +00:00
sakamoto
13ba815119 Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/elf2pef.c,v 1999-06-28 00:51:10 +00:00
sakamoto
5b75eca570 mkbootimage makes bootable BeOS DR8 filesystem(a.k.a. obfs) image. 1999-06-28 00:35:22 +00:00
briggs
d6205b71c6 Undo some of my recent changes that were misguided. 1999-06-27 23:43:37 +00:00
christos
dfa695b9a7 Add missing phy's 1999-06-27 22:35:56 +00:00
christos
ce110dd283 Add missing phy's. Increase miniroot size 1999-06-27 22:35:43 +00:00
is
f4351f7b96 Don't even try to output to, scroll or clear the device if we are in graphics
mode. On this chip, we need to access some registers to set the text plane,
which messes up the graphics setup.
This should fix the grf3 problems reported by several people.
Michael Hitch and Joerg Lehners analyzed the problem and provided the fix.
1999-06-27 21:17:17 +00:00
christos
4440b677e2 add vr* at pci?, sort 1999-06-27 15:58:18 +00:00
drochner
dbd86a254c add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out 1999-06-27 15:19:40 +00:00
drochner
746543928c regen 1999-06-27 15:15:00 +00:00
drochner
120b30daf4 add some realtek 8139 clones 1999-06-27 15:13:54 +00:00
minoura
1330797741 Restore scroll registers after X server exits. 1999-06-27 14:14:30 +00:00
minoura
c88662958f include sys/resourcevar.h to be compiled. 1999-06-27 14:13:14 +00:00
pk
a7e4d3ac4d Add the Sbus front-end for the HME driver. 1999-06-27 12:47:52 +00:00
pk
2688b883b3 Declare the `hme' device. 1999-06-27 12:43:08 +00:00