Commit Graph

517 Commits

Author SHA1 Message Date
is
f546d949b6 Decouple IP mtu for ARCnet devices from interface MTU.
This is important, because for most protocols, link level fragmentation is
used, but with different default effective MTUs. (e.g.: IPv4 default MTU
is 1500 octets, IPv6 default MTU is 9072 octets).
1999-09-25 17:49:27 +00:00
ad
f96e055d70 - mc6845's cursor is disabled by punching bit 6 of cursor start register.
- Add new option (PCDISPLAY_SOFTCURSOR) that provides a large, non-blinking
  cursor in software.
1999-09-19 21:48:08 +00:00
chs
f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
thorpej
e293024ffa This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
1999-09-01 00:32:41 +00:00
matt
f421eec6fe Add needs-flag to if_fddisubr.c for previous commit 1999-08-21 03:47:50 +00:00
enami
29e46296e8 DEVPAGER, SWAPPAGER and VNODEPAGER are no longer used (except std.pica). 1999-08-17 06:42:41 +00:00
augustss
23906f1d41 defopt COMPAT_14 1999-08-14 14:40:08 +00:00
oster
8deb1f5f2e dev/raidframe/rf_sys.c is no longer needed. 1999-08-13 03:30:14 +00:00
ragge
148c244c15 Driver for the DEC SGEC, Second Generation Ethernet Controller. 1999-08-08 11:41:28 +00:00
augustss
3ad1ac1cf6 mpu needs needs-flag 1999-08-05 22:38:01 +00:00
jdolecek
419f8e4fd4 defopt NTFS_DEBUG 1999-08-04 18:46:58 +00:00
drochner
bc2afccc69 g/c unused LIFFS 1999-08-03 19:02:31 +00:00
augustss
42fb510148 Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
augustss
265b6769d5 Add mux locator to wsmouse and wskbd. 1999-07-29 18:25:53 +00:00
thorpej
3f176180d5 Garbage collect thread_sleep()/thread_wakeup() left over from the old
Mach VM code.  Also nuke iprintf(), which was no longer used anywhere.

Add proclist locking where appropriate.
1999-07-22 22:58:38 +00:00
thorpej
267920eb1a defopt INET6, and put it in opt_inet.h (most places already include this
file, which is why the file list is so short).
1999-07-09 23:41:16 +00:00
thorpej
f9a7668b3f defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
thorpej
d3568efde2 Remove the IPSec ESP related file specs from here; they're now handled
in config spec fragments in the various crypto trees.
1999-07-09 06:51:47 +00:00
wrstuden
9fc36d6807 Bump osrelease to 1.4E. Add layerfs files, remove null_subr.c.
Update coda to new struct lock in struct vnode.

make fdescfs, kernfs, portalfs, and procfs actually lock their vnodes.
It's not that hard.

Make unionfs set v_vnlock = NULL so any overlayed fs will call its
VOP_LOCK.
1999-07-08 01:26:21 +00:00
thorpej
c4d8d19db9 pseudo-device -> defpseudo, per grammar change in config(8). 1999-07-07 00:05:28 +00:00
mjacob
fb44b37fd0 add some default options for the ISP (for fabric/scclun eanbles) 1999-07-05 11:38:35 +00:00
itojun
144233e2d4 align a bit better. 1999-07-02 19:59:09 +00:00
itojun
e208c5c64a enable IPSEC_ESP build (still needs manual symlink).
commit to cryptosrc-intl will follow.
1999-07-02 19:58:27 +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
pk
2688b883b3 Declare the `hme' device. 1999-06-27 12:43:08 +00:00
sommerfeld
b7c70d2b2f If the new global variable hostzerobroadcast is zero, no longer assume
address zero of each net/subnet is a broadcast address.
(The default value is nonzero, which preserves the current behavior).

This can be set using sysctl; the boot-time default can also be
configured using the HOSTZEROBROADCAST kernel config option.

While we're here, defopt HOSTZEROBROADCAST and SUBNETSARELOCAL
1999-06-26 06:16:47 +00:00
thorpej
495319c367 Configuration glue for i82557 fast Ethernet driver. 1999-06-20 16:34:38 +00:00
mrg
875af1a2f8 put `audiocs' stuff in here so we can share it between sbus & ebus. 1999-06-05 14:32:08 +00:00
lukem
dbbe159e68 - add kern_allocsys.c
- move a comment around
1999-05-20 06:01:16 +00:00
christos
d050379811 Add NTFS gunk. 1999-05-06 15:31:42 +00:00
thorpej
39544d33b7 Add needs-flag to the uhci and ohci controller attributes. 1999-05-05 23:57:31 +00:00
scottr
3122ba5447 Split POOL_DIAGNOSTIC and POOL_LOGSIZE into seperate option header files.
The former is used in many places, and the latter in one, which makes
adjusting POOL_LOGSIZE rather painful.
1999-04-29 17:41:45 +00:00
pk
06bd52b633 COMPAT_SPARC32 -> COMPAT_NETBSD32 1999-03-26 08:00:38 +00:00
explorer
91a9d315ba port FreeBSD's serial ppp layer to NetBSD. The PPP part seems broken still,
but the lmc driver uses the HDLC bits from here anyway.
1999-03-25 03:39:11 +00:00
mrg
ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
bad
ce0465b40f config(8) glue for Token-Ring and TROPIC drivers. 1999-03-22 22:33:35 +00:00
sommerfe
6d0f67d6aa Regen files based on changes to syscalls.master, vnode_if.src (latter
was changes to comments only, but..)
Build vfs_getcwd.c as standard part of kernel.
Add implementation of fchroot(), since two emulations already had it.
Call vn_isunder() in fchdir(), chroot(), and fchroot() to make it harder
to escape chroot().
1999-03-22 17:13:34 +00:00
sommerfe
bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
drochner
b2cc9c9bc2 pull in missing miscfs/procfs/procfs_cmdline.c 1999-03-13 14:29:27 +00:00
kleink
51be278873 Defopt COMPAT_M68K4K. 1999-03-09 21:02:38 +00:00
carrel
c8a301dac0 defopt AHC_SCBPAGING_ENABLE. Other ahc options are already defopt-ed. 1999-02-28 22:24:30 +00:00
scottr
d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
tron
c5fc98973a Fix typo noted by Anders Hjalmarsson in PR kern/7020. 1999-02-19 16:31:08 +00:00
scw
c13995b38f Add entry for CD240[01] driver. 1999-02-13 17:07:36 +00:00
christos
f30379285d Forgot to commit this one. 1999-02-11 20:11:43 +00:00
kml
96ba3fc35f defopt SB_MAX, which controls the maximum allowable size of socket buffers 1999-02-09 02:15:45 +00:00
jonathan
c9d036d796 defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}. 1999-02-07 09:34:58 +00:00
christos
1eff513002 Add | netatalk to if_arp.c and if_ethersubr.c so that kernels without
ethernet devices and with appletalk link. XXX: It is probably better
not to use ether_*() in netatalk eventually, or rename/generalize the
routines (from Stefan Sichler)
1999-01-26 17:14:11 +00:00
msaitoh
b882818c8c Add procfs_map.c. 1999-01-25 02:21:50 +00:00
chuck
44f5fc2839 cleanup/reorg:
- break anon related functions out of uvm_amap.c and put them in their own
  file (uvm_anon.c).  includes break up uvm_anon_init into an amap and an
  an anon init function
- ensure that only functions within the amap module access amap structure
  fields (add macros to amap api as needed)
1999-01-24 23:53:14 +00:00
mycroft
4fe5ea2a68 Revert. Imadork. 1999-01-23 07:56:34 +00:00
mycroft
4f4e558385 Add ip_ftp_pxy.c. 1999-01-23 07:51:10 +00:00
thorpej
8f2d1414aa Pull in ip_ipip.c if ipip | mrouting, and use needs-flags instead of
needs-count.

XXX This generates an NMROUTING in ipip.h, too, but that's harmless.
1999-01-13 23:02:48 +00:00
thorpej
e6d404b372 Add declarations for the `ipip' network pesudo-device, which implements
IP-in-IP tunnels.
1999-01-11 21:33:02 +00:00
thorpej
89a7b98a55 Defopt POOL_DIAGNOSTIC and POOL_LOGSIZE. 1998-12-27 21:14:56 +00:00
drochner
6292c7eda0 Make midi_attach_mi() and audioprint() available also if MIDIBUS
(but not necessarily MIDI) is defined.
Fixes PR port-i386/6615 (Krister Walfridsson <cato@ulysses.df.lth.se>).
(XXX this should probably go into a separate file to get rid of
the #ifdef mess)
1998-12-20 14:26:44 +00:00
christos
bee9dafdf5 defopt COMPAT_43 1998-12-10 15:07:01 +00:00
christos
03f9abe51f defopt IPFILTER_LOG and PPP_{DEFLATE,BSDCOMP,FILTER} 1998-12-10 10:53:35 +00:00
pk
62781c826f Define `pcmciabus'. 1998-11-26 15:31:22 +00:00
pk
0800aaa223 Move the wdc' device into conf/files'. 1998-11-22 21:57:47 +00:00
kml
ba30effcf8 Changes to support a HIPPI Framing Protocol device, which allows raw
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
thorpej
de234f5dda Pseudo-device definition and files for RAIDframe, CMU PDL's RAID 0, 1, 4, 5,
6 implementation + simulator.

From Greg Oster <oster@netbsd.org>.
1998-11-13 01:16:19 +00:00
thorpej
1fcae7f1be defopt FFS_EI 1998-11-12 19:51:10 +00:00
thorpej
ad77ef01b4 Add kern/kern_kthread.c 1998-11-11 22:46:32 +00:00
fvdl
28221c24db Add info for ex driver. 1998-11-04 00:28:05 +00:00
thorpej
266aaad811 Define the "rtl80x9" attribute, to pull in code common to RealTek 8019
and 8029 NE2000-compatible Ethernet chips.
1998-10-31 00:43:19 +00:00
jonathan
3ac3cbcfb8 Add options DDB_FROMCONSOLE and sysctl ddb.fromconsole, analagous to
DDB_ONPANIC. Lets user ignore breaks but enter DDB on panic.  Intended
for machines where debug on panic is useful, but DDB entry is not,
(public-access console, or terminal-servers which send spurious breaks)

Add new ddb hook, console_debugger(), which decides whether or not to
ignore console ddb requests. Console drivers should be updated to call
console_debugger(), not Debugger(), in response to serial-console
break or ddb keyboard sequence.
1998-10-29 21:22:32 +00:00
tron
39876df951 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:14:54 +00:00
bouyer
19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +00:00
dante
35cb63009b Add AdvanSys ULTRA WIDE SCSI controllers 1998-09-26 16:28:16 +00:00
thorpej
d4a11ca736 defopt MULTIPROCESSOR. 1998-09-24 03:55:15 +00:00
rvb
9187d28044 Final piece of rename cfs->coda 1998-09-15 02:02:55 +00:00
hwr
366b9c4515 Add a gre tunnel pseudo network device. Gre = generic route encapsulation.
This device shows up like any other network interface and can be used to
tunnel L3 protocols as e.g. IP over IP.
1998-09-13 20:27:47 +00:00
rvb
0aa47cd025 Change cfs/CFS in symbols, strings and constants to coda/CODA
to avoid fs conflicts.
1998-09-12 15:05:47 +00:00
rvb
a00eb709cb Pass2 complete 1998-09-08 17:12:46 +00:00
is
a3ee69c87a Split SMC chipset ARCnet driver into
- machine independent chip driver, in dev/ic/smc90cx6.c/...reg.h,...var.h,
  using bus_space methods
- ZBUS frontend in arch/amiga/dev/if_bah_zbus.c
- added IPL_SOFTNET to arch/amiga/include/intr.h, for this
Implementing the ISA bus frontend is left as an exercise to the reader.
1998-09-02 22:32:06 +00:00
drochner
eab9af8df9 define attribute for VME bus attachment 1998-09-02 18:15:20 +00:00
pk
110e8db6b0 Define LSI64854. 1998-08-29 21:52:54 +00:00
augustss
c50af72c34 Handle the case of MIDI devices with no audio devices. 1998-08-28 07:44:12 +00:00
dante
d93a0d81b0 Add AdvanSys support 1998-08-26 14:20:37 +00:00
mrg
e9762ad2be add COMPAT_SPARC32 1998-08-26 09:31:24 +00:00
pk
2e345f45ff Define the ad1848 attribute here. 1998-08-25 22:38:29 +00:00
augustss
95fac46655 Get opl MIDI dependecy right. 1998-08-22 22:53:06 +00:00
augustss
cd09067eb4 * Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
mark
69244872a4 deffs FILECORE
Added filecorefs files.
1998-08-14 03:27:51 +00:00
augustss
50ab480a8c Add a layer to handle emulation of MIDI for synthesizers.
It handles decoding of MIDI commands, voice allocation, and translation
it notes to frequencies.
1998-08-12 18:14:01 +00:00
thorpej
b0b082ba68 Give the "ep" driver the "mii" attribute. 1998-08-12 00:45:37 +00:00
thorpej
7779e1dfaa miibus -> mii, and give it a locator "phy". 1998-08-11 00:06:12 +00:00
mrg
4a75265273 defopt PFIL_HOOKS. 1998-08-09 08:58:18 +00:00
augustss
48bae9ee88 Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
explorer
c7c9374600 add declaration for hd64570, which the ntwo driver uses 1998-07-26 03:29:12 +00:00
rvb
b1d69203b3 Coda glue 1998-07-24 15:18:21 +00:00
drochner
9a59784f70 Split the LANCE driver into a part specific to the classic chip with
24-bit DMA addresses, and an independant part.
Implement support for the 32-bit mode in the newer (79c9xx) chips.
1998-07-21 17:26:45 +00:00
drochner
f520c72417 complete the options in opt_nfs_boot.h 1998-07-21 17:00:07 +00:00
mjacob
4e51ba7874 New file for building isp host adapter. 1998-07-15 20:22:19 +00:00
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
jonathan
b37021c1a1 defopt NATM. 1998-07-05 22:48:05 +00:00
jonathan
9bf2ba0928 Garbage-collect ``needs-flag'' from attributes ether, fddi, arc:
NETHER, NFDDI, NARC are  not used anywhere. Remove #include "ether.h",
   which had no effect.
Removes clash with "options NATM" for native-ATM network protocol stack.
1998-07-05 22:29:51 +00:00
jonathan
8b42dd3900 defopt COMPAT_NETBSD_*. 1998-07-05 18:59:40 +00:00
tv
3e0c580f27 Add opt_compat_netbsd.h with COMPAT_{NOMID,09,10,11,12,13}. 1998-07-05 17:47:54 +00:00
jonathan
b8fb6644ae Add NFS_BOOT_RWSIZE option to defopt opt_nfs_boot.h 1998-07-05 07:20:27 +00:00
jonathan
011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan
fe484937cf defopt LLC 1998-07-05 03:14:41 +00:00
jonathan
1a0b4c13e3 defopt HDLC. 1998-07-05 02:25:17 +00:00
jonathan
8db0fcdbf7 defopt CCITT. 1998-07-05 02:12:22 +00:00
jonathan
f2a2327e0a defopt EON. 1998-07-05 01:06:49 +00:00
jonathan
3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
jonathan
466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
nathanw
383336978e defopt SHORTCORENAME 1998-06-28 21:35:37 +00:00
drochner
3957af34c2 add new file for pcdisplay mapping tables 1998-06-26 21:01:32 +00:00
thorpej
816e12eac2 defopt COMPAT_SVR4 1998-06-26 00:07:06 +00:00
thorpej
ac57178fc0 defopt COMPAT_OSF1 1998-06-26 00:00:41 +00:00
thorpej
37b378d836 defopt COMPAT_HPUX 1998-06-25 23:56:39 +00:00
thorpej
8aee7782f5 defopt COMPAT_SUNOS 1998-06-25 23:40:33 +00:00
thorpej
21592147a1 defopt COMPAT_ULTRIX 1998-06-25 23:27:56 +00:00
thorpej
311bac3348 defopt COMPAT_IBCS2 1998-06-25 23:22:37 +00:00
thorpej
c466f11939 defopt COMPAT_LINUX 1998-06-25 23:18:23 +00:00
thorpej
1a2cb1b9d4 defopt COMPAT_FREEBSD 1998-06-25 22:49:18 +00:00
thorpej
d87e6c2b0e defopt NFSSERVER 1998-06-25 22:16:01 +00:00
thorpej
d6289815b4 defopt KTRACE 1998-06-25 21:15:35 +00:00
thorpej
7b744ba13f FIFO isn't an option, so just delete the comment. 1998-06-25 21:05:50 +00:00
sommerfe
7ba7fbbb23 Always include fifos; "not an option any more". 1998-06-24 20:58:44 +00:00
jonathan
b40ead2c73 Split sparc am7930 driver into sparc attach and "MI" sys/dev/ic/am7930
chipset driver.  Needs bus'ifying and  register-access.
1998-06-24 10:52:53 +00:00
sommerfe
becaafeea0 defopt for options FIFO 1998-06-22 22:00:59 +00:00
sommerfe
446beb9dc4 defopt COMPAT_386BSD_MBRPART into opt_mbr.h 1998-06-22 21:12:51 +00:00
sommerfe
3a7d06e500 defopt a couple more AHC specific options 1998-06-22 20:08:42 +00:00
sommerfe
d64d1a0381 defopt a bunch of AHC specific options 1998-06-22 20:02:54 +00:00
scottr
06b34cf912 Add defopt for QUOTA. While here, do some grouping of associated options. 1998-06-08 04:00:35 +00:00
thorpej
5852faaf84 Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon.  This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode.  This bug will be fixed in a more sane
way once the media control issues are dealt with.
1998-06-02 01:29:41 +00:00
drochner
cd6bdf270e Put definitions and subroutines needed for all PC display adapters
(MGA/GCA and compatibles) into global headers / source files.
Let the VGA driver use them.
1998-05-28 16:53:18 +00:00
enami
3879932376 Need to defopt LOCKDEBUG to build kernel. 1998-05-20 05:33:45 +00:00
kml
e72782a137 Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card.  With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...
1998-05-14 00:04:57 +00:00
thorpej
5596fe2614 Nuke TUBA per my note to tech-net; there's no reason to keep it around. 1998-05-11 19:57:23 +00:00
matt
d4d709f7d0 Add support for "fast" forwarding. Add hooks in if_ethersubr.c and
if_fddisubr.c to fastpath IP forwarding.  If ip_forward successfully
forwards a packet, it will create a cache (ipflow) entry.  ether_input
and fddi_input will first call ipflow_fastforward with the received
packet and if the packet passes enough tests, it will be forwarded (the
ttl is decremented and the cksum is adjusted incrementally).
1998-04-29 21:37:52 +00:00
matt
37d70e3b46 defopt GATEWAY 1998-04-29 20:45:30 +00:00
jonathan
6c0abe64fc defopt NTP and PPS_SYNC, in preparation for adding PPS support. 1998-04-22 07:08:11 +00:00
drochner
2ae167dd14 oops - forgot a "needs-flag"
closes PR port-i386/5307 (Lennart Augustsson)
1998-04-17 11:51:40 +00:00
drochner
39ec0aa42f Move some definitions needed for nwscons here so that they can be
used in mi drivers.
1998-04-15 19:55:09 +00:00
pk
380f5e600d Pull in db_run.c and db_access.c if KGDB is defined. 1998-04-03 19:50:50 +00:00
enami
399156859b Define new attribute mb86960' and new device mbe'. 1998-03-22 04:37:04 +00:00
bouyer
091dafd39f Add support for reading/writing FFS in non-native byte order, conditioned
to "options FFS_EI". The superblock and inodes (without blk addr) are
byteswapped at disk read/write time, other metadatas are byteswapped
when used (as they are acceeded directly in the buffer cache).
This required the addition of a "um_flags" field to struct ufsmount.
ffs_bswap.c contains superblock and inode byteswap routines also used
by userland utilities.
1998-03-18 15:57:26 +00:00
thorpej
5b5ba62513 Define the NetBSD file systems, and specify option headers for
MFS, LFS, UNION, KERNFS, and NFS.
1998-02-19 00:28:52 +00:00
thorpej
dc4a1e3d63 vfs_conf.c is obsolete. 1998-02-18 07:19:55 +00:00
thorpej
8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
bc8f46d457 defopt UVMHIST_PRINT, and put it in the already-existing opt_uvmhist.h
option header.
1998-02-12 20:12:03 +00:00
mrg
d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg
fd61a6d0bd re-add kern_fthread.c now that the file exists.. 1998-02-05 15:04:14 +00:00
fvdl
a3cafe2cca Remove extraneous file. 1998-02-05 12:33:52 +00:00
mrg
1a8c7604f4 initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly.  :-)
1998-02-05 07:59:28 +00:00
thorpej
2ee3e0153d Generate dependencies on the exec format options EXEC_AOUT, EXEC_ECOFF,
EXEC_ELF32, EXEC_ELF64, and EXEC_SCRIPT.
1998-01-22 01:32:14 +00:00
thorpej
ea9ade0496 Generate dependencies on the INSECURE option. 1998-01-22 01:18:30 +00:00
thorpej
66abe4217c Implement an activity log for malloc() and free(), useful for tracking
down "Data modified on freelist" and "muliple free" problems.

The log is activated by the MALLOCLOG option, and the size of the
event ring buffer is controlable via the MALLOGLOGSIZE option (default
is 100000 entries).

From Chris Demetriou, cleaned up a little by me per suggestions in the
e-mail from Chris that contained the code.
1998-01-21 22:24:32 +00:00
cgd
ad141a69a7 Shuffle wd/wdc driver files around (via repository copies). wdc
now lives in dev/ic, wd now lives in dev/ata.  there's now a 'ata'
interface attribute defined in conf/files, but wdc can't go there
yet because some ports still use private versions based on the old
ISA version.
1998-01-14 23:36:30 +00:00
scottr
ecc55fb707 Consolidate NFS_BOOT_* options into opt_nfs_boot.h 1998-01-12 21:27:09 +00:00
thorpej
2ceadba464 Add device classes. 1998-01-12 08:21:30 +00:00
scottr
243db3d614 defopt MROUTING and TCP_COMPAT_42 1998-01-12 02:58:58 +00:00
scottr
448859f0c9 Add NFS_BOOT_DHCP option, and compile nfs_bootdhcp.c if either
NFS_BOOT_BOOTP or NFS_BOOT_DHCP are specified.
1998-01-11 05:57:45 +00:00
drochner
dfc3f18cd2 cleanup of diskless NFS boot code:
2 new options, "NFS_BOOT_BOOTP" and "NFS_BOOT_BOOTPARAM", control whether
the corresponding code is included.
1998-01-09 15:03:52 +00:00
pk
efb8a7ec96 Add kern/subr_pool.c 1997-12-15 11:16:50 +00:00
thorpej
3569d48361 defopt UCONSOLE 1997-10-28 01:53:50 +00:00
bouyer
dc67436742 Ops, forgot to include i2c files. 1997-10-17 19:33:54 +00:00
bouyer
0582a7d023 Add mii and i2c. 1997-10-17 18:19:47 +00:00
is
11446b9b6e TMS320AV110 (mpeg layer 2 decoder chip) and ZBUS Melody board, which uses it.
No optionboards yet for Melody, only audio driver.
MPEG data types for audio.c
1997-10-16 23:58:10 +00:00
thorpej
f124747d6d Add device declaration for the "com" driver. In a perfect world, this
would be done with attributes, but alas... *sigh*
1997-10-16 00:38:11 +00:00
thorpej
f58d4fbf3c From marc-pcmcia branch: add declaration of the "ne" driver for
NE2000-compatible ethernet cards.
1997-10-14 22:49:02 +00:00
explorer
80513cb5ae o Make usage of /dev/random dependant on
pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
explorer
dac3eb2c9b make /dev/random standard, per message from Jason 1997-10-09 23:53:01 +00:00
explorer
32a092e1cf define the 'options DEVRANDOM' thing, and which files to include to use it. 1997-10-09 23:19:24 +00:00
bouyer
6ab3092b11 Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
gwr
31459bfd07 Make nfs/krpc_subr.c conditional on arp (fixes PR#4233). 1997-10-07 16:15:30 +00:00
augustss
082b2b05b7 Add the Interwave audio chip. 1997-10-06 20:12:26 +00:00
christos
64ff55911c From Enami Tsugutomo: Busify and split the aic6360 driver. 1997-10-06 19:49:17 +00:00
veego
c588f0b2b7 Add netinet/ip_log.c for ipfilter & ipfilter_log 1997-09-21 18:17:44 +00:00
mikel
2f014c40e6 remove obsolete comment about scsi files
don't include ppp_bsdcomp or ppp_deflate support unless ppp defined
alphabetize (mostly) file list
1997-09-20 02:20:52 +00:00
enami
64edd9d48a Use TAB instead of SPACE to indent. Line up if possible. 1997-09-20 01:02:29 +00:00
enami
8a45521059 Convert RTC_OFFSET, DEVPAGER, SWAPPAGER and VNODEPAGER to be declared
by defopt.
1997-09-20 00:44:05 +00:00
thorpej
aab66475d0 Build db_elf.c if ddb is configured. (Oops, this one got away!) 1997-09-16 06:05:54 +00:00
gwr
d10e502f80 Make the new files (nfs_boot*) conditional on nfs & arp 1997-09-02 21:35:03 +00:00
gwr
bc5b441687 Make the new files (nfs_boot*) conditional on nfs & ether 1997-09-02 17:22:47 +00:00
thorpej
3d28be8e20 Pull "sm" driver declaration down from marc-pcmcia branch. 1997-09-02 01:50:32 +00:00
gwr
2d672c5c0e Add: nfs_bootdhcp.c nfs_bootparam.c 1997-08-29 16:29:21 +00:00
bouyer
6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
332ad95e76 Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
leo
b5b61284fe Md : from needs-flag to needs-count 1997-08-03 20:33:58 +00:00
augustss
658656bb99 Audio changes:
- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
matt
16b1eea874 Add files lines for lc device (LEMAC, DEC EtherWORKS III). 1997-07-31 21:56:33 +00:00
jonathan
f8687036c9 Reorder device declarations of bha and aha so th BusLogic driver probes
before before the Adaptec 1542/1642 driver. As commented,

  Probing AHA first configures bhas as aha, via their AHA
  hardware-compatibility mode.
1997-07-28 22:48:59 +00:00
thorpej
4cef61d36b Generate dependencies for the TCP_SENDSPACE and TCP_RECVSPACE options. 1997-07-28 22:31:08 +00:00
pk
0afaee97a4 Add line for the i82586 driver. 1997-07-22 23:33:33 +00:00
fvdl
6d77e0b4bb Move kern_lock.c to kern/ 1997-07-06 12:40:30 +00:00
thorpej
7d072d8efa Add new ipfilter files. 1997-07-06 05:14:51 +00:00
bouyer
276676cfbb Support ext2fs. 1997-06-11 10:40:16 +00:00
thorpej
ad58cb5136 Make kernels with ipfilter compile again: need netinet/ip_proxy.c. 1997-05-27 01:07:48 +00:00
gwr
e17505a9ea Add ddb/db_xxx.c 1997-05-21 19:54:54 +00:00
scottr
187f2e6235 Add the dp8390 driver back end/attribute. 1997-04-29 05:11:32 +00:00
christos
55e1055dc3 Add netatalk glue 1997-04-02 21:34:11 +00:00
thorpej
dbc8632d59 Build if_media.c on the same conditions as if.c 1997-03-17 03:10:30 +00:00
is
07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
cgd
cd9e2f3b86 add an entry for 'isp', the MI Qlogic ISP 10x0 SCSI Controller driver,
from Matt Jacob.
1997-03-12 01:56:18 +00:00
thorpej
d02bfeb0ac Define the ncr53c9x attribute to pull in the MI 53c9x driver. 1997-02-27 01:13:45 +00:00
mrg
6d1865aace include net/pfil.c with pfil_hooks|ipfilter 1997-02-18 21:14:03 +00:00
mikel
ff4c83accc Don't build ip_mroute.o unless MROUTING is defined; fixes PR kern/2820.
Don't build PPP compression code unless ppp pseudo-device is configured,
  regardless of PPP_COMPRESS and PPP_DEFLATE options.
1997-02-12 08:18:15 +00:00
gwr
f96d73ce59 Add kern/kgdb_stub.c 1997-02-12 00:56:06 +00:00
mycroft
1dd1504980 Move the aha ISA probe functions into a separate file. 1997-02-07 17:37:27 +00:00
thorpej
72096190e8 Make KMEMSTATS a "header option". 1997-02-02 21:16:25 +00:00
thorpej
578626f7ea nfsclient -> nfs 1997-01-31 02:21:33 +00:00
thorpej
147c10c146 The "md" driver is MI (har har :-). Declare it here. 1997-01-21 09:36:04 +00:00
mrg
c71a371532 use pseudo-device ipfilter, not ipl. 1997-01-07 11:35:01 +00:00
veego
98bf77c987 Add needs-flag and ifnet for ipl. 1997-01-05 22:16:51 +00:00
mrg
b002cf09d3 initial import of darren reed's ip-filter, version 3.1.2. 1997-01-05 13:39:41 +00:00
thorpej
5e49978c31 Back out previous change, which was:
>Only build kern/kern_ntptime.c if NTP is being compiled into the kernel.

This change had implications that didn't occur to me at the time. *sigh*
1996-12-06 20:03:24 +00:00
thorpej
b98d1aca52 Only build kern/kern_ntptime.c if NTP is being compiled into the kernel. 1996-11-14 04:53:59 +00:00
mikel
fd55e79cd3 Don't build ufs_quota.c if not QUOTA. Fixes PR 2821. 1996-11-13 00:15:28 +00:00
thorpej
4ad70417a0 Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).
1996-11-12 23:58:01 +00:00
ws
31bdb14ed5 Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB 1996-10-16 19:32:08 +00:00
cgd
ccd26363f6 allow a.out executable support to be optional (conditioned on EXEC_AOUT),
and shell script support to be optional (conditioned on EXEC_SCRIPT).
Remove the implicit inclusion of EXEC_ECOFF when COMPAT_OSF1 and/or
COMPAT_ULTRIX is included, and of EXEC_ELF32 when COMPAT_LINUX and/or
COMPAT_SVR4 is included.
1996-10-02 05:29:29 +00:00
ws
093a00671f Add (and change) machine independent files for KGDB support 1996-09-30 16:16:45 +00:00
cgd
79bd41b179 add support and reorganize for 64-bit ELF, included by EXEC_ELF64
option.  (Also, make EXEC_ELF32 option a way to explicitly include
32-bit ELF support.)
1996-09-26 20:51:03 +00:00
christos
3f0fed8ce8 Add stub for cyclades multi-port serial cards 1996-09-24 17:43:35 +00:00
cgd
80c82b8766 rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c
was copied from exec_elf.c on the CVS server to keep the logs intact.
1996-09-20 22:33:23 +00:00
mrg
a5f00f16bc move the packet filter hooks in to a saner location. while i'm here, rename
PACKET_FILTER to PFIL_HOOKS.
1996-09-14 14:40:20 +00:00
mycroft
125a8c5ce5 Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.
1996-09-01 23:57:15 +00:00
mycroft
a561952cf9 Add generic bha and uha code. 1996-08-31 20:27:55 +00:00
cgd
4d62c94345 add a space i forgot, for prettiness 1996-08-28 18:51:53 +00:00
cgd
0f3dafde2e add an optional 'channel' keyword to the 'scsi' interface attribute
(defaults to -1, a.k.a. SCSI_CHANNEL_UNKNOWN).
1996-08-28 18:44:53 +00:00
cgd
ba9149a53e treat all "chipset drivers" similarly: include their file specs
up with the definitions of their attributes.  Previously, this was done
for most but not all, and there was no good reason to be inconsistent.
1996-07-14 20:03:44 +00:00
chuck
0fe65e632b add native mode atm protocol layer 1996-07-04 03:14:21 +00:00
thorpej
6041e29f1f My extent map manager. Sort of like resource maps, but more flexible.
Understands allocation aligment and boundary restrictions, "specific region"
allocations, and suballocations.  Capable of statically or dynamically
allocating map overhead.

Many thanks to Matthias Drochner for running the code for me, and sending
me bug fixes, optimizations, and suggestions.  Also, many thanks to
Chris Demetriou for his extremely helpful suggestions.

XXX No manual page yet.  One is forthcoming, as soon as I can scare up
the time to write one.  This has been sitting on my plate for quite a
while, and several projects are waiting for it.  Time to move on.
1996-06-23 00:10:08 +00:00
chuck
e186894640 add atm networking stuff 1996-06-22 01:49:00 +00:00
jonathan
431ae5d022 Add line discipline code, initialization, and config support for MosquitoNet's
Metricom Ricochet starmode-radio-IP driver.
1996-05-19 17:17:50 +00:00
mycroft
e03577c2a4 Slight adjustments for new version of ahc driver. 1996-05-16 04:00:58 +00:00
thorpej
159c1ab1cd Only compile the MI LANCE driver if an "le" is configured into the kernel. 1996-05-07 16:09:12 +00:00
mycroft
5c4d5281a3 Actually define the `le' device. 1996-05-07 08:56:54 +00:00
thorpej
aff40e2a72 Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver.  Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
paulus
fa78064f7c Make inclusion of the PPP BSD-Compress and Deflate compressors
dependent on the PPP_BSDCOMP and PPP_DEFLATE kernel configuration
options, respectively.
1996-03-19 01:00:49 +00:00
cgd
94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
paulus
ded34522e2 Now need bpfilter for ppp, since it does packet filtering.
Add files for PPP-Deflate packet compression support.
1996-03-15 02:43:53 +00:00
cgd
3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
cgd
927a47d0d3 add isabus and pcibus attributes, for attachment of isa and pci busses 1996-02-28 01:42:42 +00:00
cgd
d45c3d85a4 Move eisabus, tcbus attributes here. Attributes that "machine-independent"
bus support want to attach to should be declared in conf/files, so that
hairy ordering constraints on the inclusions of busses' "files" files
in files.{MACHINE} are avoided.  isabus, pcibus attributes will go here later.

The problem is, for instance, that there are some devices in files.isa
currently which require that 'pci' be defined, but there are some PCI
devices (e.g. 'sio' on the Alpha) that provide isabus interfaces, i.e.
'isa' busses attach to them.  Unless the the bus-attachment attributes
are here, it's impossible to declare the busses' files and attribute
dependencies in a machine-independent way.
1996-02-27 21:59:14 +00:00
jonathan
e7ef034c05 Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.
1996-02-27 04:20:30 +00:00
christos
bd06e49fd9 Remove ns_cksum.c; I'll send mail to portmasters about it. 1996-02-19 21:29:44 +00:00
christos
4fd36944c1 add ns_cksum.c; netns will not link without it. 1996-02-13 17:09:46 +00:00
christos
0ff0d71a2d Removed kernel/tty_compat.c 1996-02-02 18:52:49 +00:00
thorpej
e422ebca1a Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.
1996-01-13 02:05:14 +00:00
thorpej
1b0b2de861 Define the ncr5380sbc attribute and compile dev/ic/ncr5380sbc.c if it's used. 1996-01-01 22:27:08 +00:00
cgd
57dc31272e pull in ecoff_exec.c with 'options EXEC_ECOFF', as well as with compat
options, so that it can be used in kernels (e.g. alpha) w/o need for
compat options.
1995-11-25 00:37:39 +00:00
pk
12776e406a Move RCONSOLE files into dev/rcons/files.rcons. 1995-10-04 23:33:14 +00:00
pk
77843edc4d Add the rcons files. 1995-09-17 20:54:19 +00:00