Commit Graph

375 Commits

Author SHA1 Message Date
drochner 87568e8d82 defopt the XNS protocol (options NS), clean up the use of related
option headers / defines
1999-10-25 19:18:10 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
jdolecek 9933da44b8 remove the MI Debugger() added recently. It doesn't make sense in
it's current form.
make Debugger just an alias for cpu_Debugger
1999-10-14 18:42:15 +00:00
thorpej 358756a995 Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.
Note: this is a placeholder right now; the driver should be ready in the
next few days.
1999-10-13 18:37:12 +00:00
jdolecek 7f589dba84 rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
jdolecek c03fdce32e remove the ipx stuff accidentaly added in rev 1.260. 1999-10-11 16:15:13 +00:00
bouyer 52497e180a Remplace kern.shortcorename sysctl with a more flexible sheme,
core filename format, which allow to change the name of the core dump,
and to relocate it in a directory. Credits to Bill Sommerfeld for giving me
the idea :)
The default core filename format can be changed by options DEFCORENAME and/or
kern.defcorename
Create a new sysctl tree, proc, which holds per-process values (for now
the corename format, and resources limits). Process is designed by its pid
at the second level name. These values are inherited on fork, and the corename
fomat is reset to defcorename on suid/sgid exec.
Create a p_sugid() function, to take appropriate actions on suid/sgid
exec (for now set the P_SUGID flag and reset the per-proc corename).
Adjust dosetrlimit() to allow changing limits of one proc by another, with
credential controls.
1999-09-28 14:47:00 +00:00
ad a289fc5023 Add glue for 'dpt' driver. 1999-09-27 23:44:27 +00:00
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