2008-10-15 10:51:17 +04:00
|
|
|
# $NetBSD: files,v 1.924 2008/10/15 06:51:20 wrstuden Exp $
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
|
|
|
|
|
2008-06-10 18:03:57 +04:00
|
|
|
version 20080610
|
2006-08-27 19:44:16 +04:00
|
|
|
|
2002-10-11 02:45:45 +04:00
|
|
|
#
|
|
|
|
# device classes
|
|
|
|
#
|
|
|
|
devclass disk
|
|
|
|
devclass tape
|
|
|
|
devclass ifnet
|
|
|
|
devclass tty
|
2007-12-09 23:27:42 +03:00
|
|
|
devclass audiodev
|
|
|
|
devclass displaydev
|
|
|
|
devclass bus
|
2002-10-11 02:45:45 +04:00
|
|
|
|
1997-02-03 00:16:25 +03:00
|
|
|
# options understood by the machine-independent part of the kernel
|
|
|
|
# (note, these are case-sensitive)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag INSECURE
|
2006-06-08 02:33:33 +04:00
|
|
|
defflag KMEMSTATS
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag KTRACE
|
2006-06-08 02:33:33 +04:00
|
|
|
defflag MBUFTRACE
|
2006-08-30 03:34:48 +04:00
|
|
|
defflag PTRACE
|
|
|
|
defflag COREDUMP
|
2008-01-06 21:03:58 +03:00
|
|
|
defflag opt_modular.h MODULAR
|
2006-08-30 03:34:48 +04:00
|
|
|
|
2006-06-08 02:33:33 +04:00
|
|
|
defparam DEFCORENAME
|
|
|
|
defparam HZ
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam MAXUPRC
|
|
|
|
defparam RTC_OFFSET
|
2002-02-11 21:03:00 +03:00
|
|
|
defflag opt_pipe.h PIPE_SOCKETPAIR PIPE_NODIRECT
|
1997-07-29 02:31:08 +04:00
|
|
|
|
2005-09-26 18:14:26 +04:00
|
|
|
defflag BUFQ_DISKSORT
|
|
|
|
defflag BUFQ_FCFS
|
2004-11-25 07:52:23 +03:00
|
|
|
defflag BUFQ_PRIOCSCAN
|
|
|
|
defflag BUFQ_READPRIO
|
|
|
|
defflag NEW_BUFQ_STRATEGY # same as BUFQ_READPRIO
|
2002-10-18 18:31:10 +04:00
|
|
|
|
2007-05-17 18:51:11 +04:00
|
|
|
defflag opt_sched.h SCHED_4BSD
|
2007-10-09 23:00:13 +04:00
|
|
|
defflag opt_sched.h SCHED_M2
|
2007-05-17 18:51:11 +04:00
|
|
|
|
2003-07-03 05:42:10 +04:00
|
|
|
defparam SOMAXKVA
|
2002-05-02 21:55:48 +04:00
|
|
|
defflag opt_sock_counters.h SOSEND_COUNTERS
|
2002-08-21 09:13:36 +04:00
|
|
|
defflag opt_sosend_loan.h SOSEND_NO_LOAN
|
Eliminate address family-specific route caches (struct route, struct
route_in6, struct route_iso), replacing all caches with a struct
route.
The principle benefit of this change is that all of the protocol
families can benefit from route cache-invalidation, which is
necessary for correct routing. Route-cache invalidation fixes an
ancient PR, kern/3508, at long last; it fixes various other PRs,
also.
Discussions with and ideas from Joerg Sonnenberger influenced this
work tremendously. Of course, all design oversights and bugs are
mine.
DETAILS
1 I added to each address family a pool of sockaddrs. I have
introduced routines for allocating, copying, and duplicating,
and freeing sockaddrs:
struct sockaddr *sockaddr_alloc(sa_family_t af, int flags);
struct sockaddr *sockaddr_copy(struct sockaddr *dst,
const struct sockaddr *src);
struct sockaddr *sockaddr_dup(const struct sockaddr *src, int flags);
void sockaddr_free(struct sockaddr *sa);
sockaddr_alloc() returns either a sockaddr from the pool belonging
to the specified family, or NULL if the pool is exhausted. The
returned sockaddr has the right size for that family; sa_family
and sa_len fields are initialized to the family and sockaddr
length---e.g., sa_family = AF_INET and sa_len = sizeof(struct
sockaddr_in). sockaddr_free() puts the given sockaddr back into
its family's pool.
sockaddr_dup() and sockaddr_copy() work analogously to strdup()
and strcpy(), respectively. sockaddr_copy() KASSERTs that the
family of the destination and source sockaddrs are alike.
The 'flags' argumet for sockaddr_alloc() and sockaddr_dup() is
passed directly to pool_get(9).
2 I added routines for initializing sockaddrs in each address
family, sockaddr_in_init(), sockaddr_in6_init(), sockaddr_iso_init(),
etc. They are fairly self-explanatory.
3 structs route_in6 and route_iso are no more. All protocol families
use struct route. I have changed the route cache, 'struct route',
so that it does not contain storage space for a sockaddr. Instead,
struct route points to a sockaddr coming from the pool the sockaddr
belongs to. I added a new method to struct route, rtcache_setdst(),
for setting the cache destination:
int rtcache_setdst(struct route *, const struct sockaddr *);
rtcache_setdst() returns 0 on success, or ENOMEM if no memory is
available to create the sockaddr storage.
It is now possible for rtcache_getdst() to return NULL if, say,
rtcache_setdst() failed. I check the return value for NULL
everywhere in the kernel.
4 Each routing domain (struct domain) has a list of live route
caches, dom_rtcache. rtflushall(sa_family_t af) looks up the
domain indicated by 'af', walks the domain's list of route caches
and invalidates each one.
2007-05-03 00:40:22 +04:00
|
|
|
defflag opt_route.h RTCACHE_DEBUG RTFLUSH_DEBUG
|
2002-05-02 21:55:48 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag MULTIPROCESSOR
|
1998-09-24 07:55:15 +04:00
|
|
|
|
2001-12-17 18:40:43 +03:00
|
|
|
defflag opt_config.h INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
|
|
|
|
|
2003-02-10 03:35:15 +03:00
|
|
|
defparam opt_dump.h DUMP_ON_PANIC
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_callout.h CALLWHEEL_STATS
|
2001-09-13 09:22:16 +04:00
|
|
|
|
2008-02-03 16:25:57 +03:00
|
|
|
defflag CPU_IN_CKSUM
|
|
|
|
|
2003-01-20 23:02:01 +03:00
|
|
|
defflag opt_posix.h P1003_1B_SEMAPHORE
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_sysv.h SYSVMSG SYSVSEM SYSVSHM
|
2001-11-20 17:34:18 +03:00
|
|
|
defparam opt_sysvparam.h SHMMAXPGS SEMMNI SEMMNS SEMUME SEMMNU
|
1998-10-20 02:14:54 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_ntp.h PPS_SYNC NTP
|
1998-04-22 11:08:11 +04:00
|
|
|
|
2004-11-10 20:26:16 +03:00
|
|
|
defflag opt_ptm.h NO_DEV_PTM COMPAT_BSDPTY
|
2004-06-18 19:02:29 +04:00
|
|
|
|
2005-01-13 23:16:02 +03:00
|
|
|
defparam opt_kmempages.h NKMEMPAGES NKMEMPAGES_MIN NKMEMPAGES_MAX
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_malloclog.h MALLOCLOG
|
2001-11-20 17:34:18 +03:00
|
|
|
defparam opt_malloclog.h MALLOCLOGSIZE
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_malloc_debug.h MALLOC_DEBUG
|
|
|
|
defflag opt_pool.h POOL_DIAGNOSTIC
|
2001-11-20 17:34:18 +03:00
|
|
|
defparam opt_poollog.h POOL_LOGSIZE
|
2006-09-24 07:53:07 +04:00
|
|
|
defflag opt_powerhook.h POWERHOOK_DEBUG
|
1998-06-08 08:00:35 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_revcache.h NAMECACHE_ENTER_REVERSE
|
2001-03-30 02:40:06 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_execfmt.h EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
|
|
|
|
EXEC_ELF64 EXEC_MACHO EXEC_SCRIPT
|
2002-03-23 12:40:55 +03:00
|
|
|
EXEC_ELF_NOTELESS
|
1998-06-08 08:00:35 +04:00
|
|
|
|
2004-09-25 07:30:44 +04:00
|
|
|
defflag opt_dkwedge.h DKWEDGE_AUTODISCOVER
|
2004-10-04 05:16:39 +04:00
|
|
|
DKWEDGE_METHOD_BSDLABEL
|
2004-10-01 09:16:04 +04:00
|
|
|
DKWEDGE_METHOD_GPT
|
2004-10-23 21:25:14 +04:00
|
|
|
DKWEDGE_METHOD_MBR
|
2004-09-25 07:30:44 +04:00
|
|
|
|
2006-07-24 20:37:28 +04:00
|
|
|
defflag opt_veriexec.h VERIFIED_EXEC_FP_SHA1
|
2005-07-17 02:50:15 +04:00
|
|
|
VERIFIED_EXEC_FP_SHA256
|
|
|
|
VERIFIED_EXEC_FP_SHA384
|
|
|
|
VERIFIED_EXEC_FP_SHA512
|
|
|
|
VERIFIED_EXEC_FP_MD5
|
|
|
|
VERIFIED_EXEC_FP_RMD160
|
|
|
|
|
2006-08-25 01:23:40 +04:00
|
|
|
# Per system call number counts and times
|
|
|
|
defflag opt_syscall_stats.h SYSCALL_STATS
|
|
|
|
defflag opt_syscall_stats.h SYSCALL_TIMES: SYSCALL_STATS
|
|
|
|
# Assume cpu_hascounter() returns true - to use disabled rdtsc() (for soekris)
|
|
|
|
defflag opt_syscall_stats.h SYSCALL_TIMES_HASCOUNTER: SYSCALL_TIMES
|
|
|
|
file kern/subr_syscall_stats.c syscall_stats
|
|
|
|
|
2006-05-16 04:08:24 +04:00
|
|
|
defparam opt_pax.h PAX_MPROTECT
|
2006-11-22 05:02:51 +03:00
|
|
|
PAX_SEGVGUARD
|
2007-12-27 01:11:47 +03:00
|
|
|
PAX_ASLR
|
|
|
|
PAX_ASLR_DELTA_MMAP_LSB
|
|
|
|
PAX_ASLR_DELTA_MMAP_LEN
|
|
|
|
PAX_ASLR_DELTA_STACK_LSB
|
|
|
|
PAX_ASLR_DELTA_STACK_LEN
|
|
|
|
PAX_ASLR_DELTA_PROG_LEN
|
2006-05-16 04:08:24 +04:00
|
|
|
|
okay, since there was no way to divide this to two commits, here it goes..
introduce fileassoc(9), a kernel interface for associating meta-data with
files using in-kernel memory. this is very similar to what we had in
veriexec till now, only abstracted so it can be used more easily by more
consumers.
this also prompted the redesign of the interface, making it work on vnodes
and mounts and not directly on devices and inodes. internally, we still
use file-id but that's gonna change soon... the interface will remain
consistent.
as a result, veriexec went under some heavy changes to conform to the new
interface. since we no longer use device numbers to identify file-systems,
the veriexec sysctl stuff changed too: kern.veriexec.count.dev_N is now
kern.veriexec.tableN.* where 'N' is NOT the device number but rather a
way to distinguish several mounts.
also worth noting is the plugging of unmount/delete operations
wrt/fileassoc and veriexec.
tons of input from yamt@, wrstuden@, martin@, and christos@.
2006-07-14 22:41:40 +04:00
|
|
|
defflag opt_fileassoc.h FILEASSOC
|
|
|
|
|
2006-08-31 21:46:16 +04:00
|
|
|
defflag opt_gre.h GRE_DEBUG
|
|
|
|
|
2008-07-31 09:38:04 +04:00
|
|
|
# Write Ahead Physical Block Logging
|
|
|
|
defflag opt_wapbl.h WAPBL WAPBL_DEBUG
|
|
|
|
defparam opt_wapbl.h WAPBL_DEBUG_PRINT
|
|
|
|
|
1998-06-26 02:49:18 +04:00
|
|
|
# compatibility options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2008-10-15 10:51:17 +04:00
|
|
|
defflag opt_sa.h KERN_SA
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_40: KERN_SA
|
2007-05-30 01:32:27 +04:00
|
|
|
defflag opt_compat_netbsd.h COMPAT_30: COMPAT_40
|
2006-07-13 20:28:38 +04:00
|
|
|
defflag opt_compat_netbsd.h COMPAT_20: COMPAT_30
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_16: COMPAT_20
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_15: COMPAT_16
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_14: COMPAT_15
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_13: COMPAT_14
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_12: COMPAT_13
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_11: COMPAT_12
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_10: COMPAT_11
|
|
|
|
defflag opt_compat_netbsd.h COMPAT_09: COMPAT_10
|
2003-01-19 01:34:23 +03:00
|
|
|
defflag COMPAT_OSSAUDIO
|
2006-07-13 20:28:38 +04:00
|
|
|
defflag COMPAT_FREEBSD: COMPAT_30
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_IBCS2
|
|
|
|
defflag COMPAT_IRIX
|
|
|
|
defflag COMPAT_LINUX
|
2006-02-09 22:18:56 +03:00
|
|
|
defflag COMPAT_LINUX32
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_OSF1
|
2006-07-13 21:39:47 +04:00
|
|
|
defflag COMPAT_SUNOS: COMPAT_30
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_compat_svr4.h COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
|
|
|
|
defflag COMPAT_ULTRIX
|
|
|
|
defflag COMPAT_NETBSD32
|
2007-07-18 10:29:26 +04:00
|
|
|
defflag COMPAT_AOUT_M68K: COMPAT_40
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_M68K4K
|
|
|
|
defflag COMPAT_MACH
|
2002-11-13 02:40:19 +03:00
|
|
|
defflag COMPAT_DARWIN
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_VAX1K
|
|
|
|
defflag COMPAT_43
|
|
|
|
defflag COMPAT_PECOFF
|
2003-09-22 21:26:14 +04:00
|
|
|
defflag opt_compat_netbsd.h COMPAT_NOMID
|
1998-07-06 02:48:05 +04:00
|
|
|
|
2002-10-11 05:52:04 +04:00
|
|
|
#
|
|
|
|
# Cryptography support. Include this early, since several things
|
|
|
|
# use it.
|
2003-07-29 01:28:23 +04:00
|
|
|
|
|
|
|
# Individual crypto transforms
|
2002-10-11 05:52:04 +04:00
|
|
|
include "crypto/arc4/files.arc4"
|
|
|
|
include "crypto/des/files.des"
|
|
|
|
include "crypto/blowfish/files.blowfish"
|
|
|
|
include "crypto/cast128/files.cast128"
|
|
|
|
include "crypto/rijndael/files.rijndael"
|
2003-11-16 15:10:41 +03:00
|
|
|
include "crypto/skipjack/files.skipjack"
|
2002-10-11 05:52:04 +04:00
|
|
|
|
2003-08-24 23:19:54 +04:00
|
|
|
# General-purpose crypto processing framework.
|
|
|
|
include "opencrypto/files.opencrypto"
|
|
|
|
|
2003-07-21 09:35:49 +04:00
|
|
|
#
|
|
|
|
# System monitoring framework
|
|
|
|
#
|
|
|
|
include "dev/sysmon/files.sysmon"
|
|
|
|
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-10-11 02:12:53 +04:00
|
|
|
# Networking protocols
|
|
|
|
#
|
2005-11-28 00:14:26 +03:00
|
|
|
include "net80211/files.net80211"
|
2002-10-11 02:12:53 +04:00
|
|
|
include "netatalk/files.netatalk"
|
2006-06-19 19:44:33 +04:00
|
|
|
include "netbt/files.netbt"
|
2002-10-11 02:45:45 +04:00
|
|
|
include "netinet/files.netinet"
|
|
|
|
include "netinet/files.ipfilter"
|
|
|
|
include "netinet6/files.netinet6"
|
2003-09-12 15:20:57 +04:00
|
|
|
include "netinet6/files.ipsec"
|
|
|
|
include "netipsec/files.netipsec"
|
2002-10-11 02:56:03 +04:00
|
|
|
include "netiso/files.netiso"
|
2002-10-11 02:58:49 +04:00
|
|
|
include "netnatm/files.netnatm"
|
2003-02-18 15:20:19 +03:00
|
|
|
include "netsmb/files.netsmb"
|
2004-06-22 18:17:07 +04:00
|
|
|
include "net/files.pf"
|
2002-10-11 02:12:53 +04:00
|
|
|
|
2006-08-25 21:32:27 +04:00
|
|
|
obsolete defflag CCITT # obsolete
|
|
|
|
obsolete defflag HDLC # obsolete
|
|
|
|
obsolete defflag LLC # obsolete
|
|
|
|
obsolete defflag opt_ns.h NS NSIP # obsolete
|
|
|
|
obsolete defflag IPX # obsolete
|
2007-01-11 03:00:41 +03:00
|
|
|
obsolete defflag opt_iso.h TPCONS
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag PFIL_HOOKS # pfil(9)
|
2003-02-27 22:22:36 +03:00
|
|
|
defflag opt_bridge_ipf.h BRIDGE_IPF # bridge(4) use inet_pfil_hooks
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_ppp.h PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
|
|
|
|
# Include deflate or bsd
|
|
|
|
# compression, enable pppd
|
|
|
|
# packet filtering support
|
2006-08-05 21:20:54 +04:00
|
|
|
defflag opt_pppoe.h PPPOE_SERVER PPPOE_TERM_UNKNOWN_SESSIONS
|
1998-07-05 04:51:04 +04:00
|
|
|
|
1998-06-08 08:00:35 +04:00
|
|
|
# networking options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag GATEWAY
|
2005-12-21 13:57:22 +03:00
|
|
|
defparam opt_nmbclusters.h NMBCLUSTERS
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam SB_MAX
|
1999-02-09 05:15:45 +03:00
|
|
|
|
1998-06-08 08:00:35 +04:00
|
|
|
# file system options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-04-17 03:14:05 +04:00
|
|
|
defflag SOFTDEP # XXX files.ufs?
|
|
|
|
defflag QUOTA # XXX files.ufs?
|
2004-09-21 07:10:35 +04:00
|
|
|
defflag VNODE_LOCKDEBUG
|
2006-02-12 04:32:06 +03:00
|
|
|
defflag MAGICLINKS
|
1998-06-08 08:00:35 +04:00
|
|
|
|
1999-02-27 09:39:34 +03:00
|
|
|
# buffer cache size options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam opt_bufcache.h BUFCACHE BUFPAGES
|
1999-02-27 09:39:34 +03:00
|
|
|
|
2001-07-01 06:56:20 +04:00
|
|
|
# userconf
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag USERCONF
|
2001-07-01 06:56:20 +04:00
|
|
|
|
2004-04-08 07:43:38 +04:00
|
|
|
# sysctl related
|
|
|
|
#
|
|
|
|
defflag opt_sysctl.h SYSCTL_DISALLOW_CREATE SYSCTL_DISALLOW_KWRITE
|
|
|
|
SYSCTL_DEBUG_SETUP SYSCTL_DEBUG_CREATE
|
2004-04-09 23:01:38 +04:00
|
|
|
SYSCTL_INCLUDE_DESCR
|
2004-04-08 07:43:38 +04:00
|
|
|
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-05-20 10:01:16 +04:00
|
|
|
# Not entirely MI, but present on multiple arch's
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-05-20 10:01:16 +04:00
|
|
|
|
1999-02-27 09:39:34 +03:00
|
|
|
# PC-style MBR handling
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_mbr.h COMPAT_386BSD_MBRPART
|
1998-06-23 01:12:51 +04:00
|
|
|
|
2005-11-28 01:44:35 +03:00
|
|
|
#
|
1998-07-05 02:18:13 +04:00
|
|
|
# debugging options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2005-11-28 01:44:35 +03:00
|
|
|
include "ddb/files.ddb" # in-kernel dynamic debugger
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_kgdb.h KGDB
|
2003-05-27 01:11:04 +04:00
|
|
|
defparam opt_kgdb.h KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
|
2001-11-28 13:21:10 +03:00
|
|
|
KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
|
|
|
|
defflag LOCKDEBUG
|
|
|
|
defflag SYSCALL_DEBUG
|
2002-07-03 00:27:44 +04:00
|
|
|
defflag opt_kstack.h KSTACK_CHECK_MAGIC
|
1998-07-05 02:18:13 +04:00
|
|
|
|
1999-02-07 12:34:58 +03:00
|
|
|
# memory (ram) disk options
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_md.h MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
|
|
|
|
MEMORY_DISK_DYNAMIC
|
2007-07-15 12:40:22 +04:00
|
|
|
defparam opt_md.h MEMORY_DISK_SERVER=1 MEMORY_DISK_ROOT_SIZE
|
2003-02-04 02:02:42 +03:00
|
|
|
MEMORY_RBFLAGS
|
1999-03-17 21:59:21 +03:00
|
|
|
|
2007-05-08 10:10:27 +04:00
|
|
|
defflag opt_tftproot.h TFTPROOT TFTPROOT_DEBUG
|
|
|
|
|
2002-08-07 09:14:47 +04:00
|
|
|
# Support for hardware performance monitoring counters
|
|
|
|
#
|
|
|
|
defflag opt_perfctrs.h PERFCTRS
|
|
|
|
|
2006-11-25 01:04:21 +03:00
|
|
|
# Machine-independent device majors assignements
|
2003-10-11 01:26:38 +04:00
|
|
|
include "conf/majors"
|
2003-10-05 12:04:24 +04:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# generic attributes
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-04-22 13:41:19 +04:00
|
|
|
define audiobus { }
|
2001-11-28 13:21:10 +03:00
|
|
|
define midibus { }
|
1998-08-12 22:14:01 +04:00
|
|
|
define midisyn
|
2008-09-06 23:18:16 +04:00
|
|
|
define videobus { }
|
2003-10-09 00:57:59 +04:00
|
|
|
define ata {[channel = -1]}
|
2004-05-29 03:26:27 +04:00
|
|
|
define sata
|
2002-10-10 00:23:56 +04:00
|
|
|
define scsi_core
|
|
|
|
define scsi {[channel = -1]}: scsi_core
|
2003-10-09 00:57:59 +04:00
|
|
|
define ata_hl {[drive = -1]}
|
2003-10-08 14:58:12 +04:00
|
|
|
define atapi { }
|
2002-01-07 20:44:42 +03:00
|
|
|
define radiodev { }
|
2003-06-02 08:12:07 +04:00
|
|
|
define gpibdev {[address = -1]}
|
2005-09-27 06:41:10 +04:00
|
|
|
define gpiobus { }
|
2006-04-07 22:55:21 +04:00
|
|
|
define onewirebus { }
|
2004-03-14 01:45:23 +03:00
|
|
|
define pckbport {[slot = -1]}
|
|
|
|
define pckbport_machdep_cnattach
|
2006-01-17 09:52:43 +03:00
|
|
|
define firmload
|
1995-08-19 04:49:15 +04:00
|
|
|
|
|
|
|
# audio device attributes
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1995-07-19 23:58:09 +04:00
|
|
|
define mulaw
|
1997-08-01 02:33:08 +04:00
|
|
|
define auconv
|
2002-03-10 00:21:57 +03:00
|
|
|
define aurateconv
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-08-07 04:00:55 +04:00
|
|
|
# audio and midi devices, attaches to audio hardware driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2007-12-09 23:27:42 +03:00
|
|
|
device audio: audiodev
|
2002-04-22 13:41:19 +04:00
|
|
|
attach audio at audiobus
|
1998-08-07 04:00:55 +04:00
|
|
|
device midi
|
|
|
|
attach midi at midibus
|
1997-08-20 03:49:33 +04:00
|
|
|
|
2004-01-17 23:55:59 +03:00
|
|
|
# console bell via audio device
|
|
|
|
#
|
|
|
|
define audiobell
|
|
|
|
|
2008-09-06 23:18:16 +04:00
|
|
|
# video devices, attaches to video hardware driver
|
|
|
|
#
|
|
|
|
device video
|
|
|
|
attach video at videobus
|
|
|
|
|
2008-10-12 17:17:28 +04:00
|
|
|
# National Semiconductor LM7[89]
|
|
|
|
#
|
|
|
|
# (included here so files.i2c can define an attachment)
|
|
|
|
|
|
|
|
device lm: sysmon_envsys
|
|
|
|
file dev/ic/nslm7x.c lm needs-flag
|
|
|
|
|
2003-09-30 04:35:30 +04:00
|
|
|
# I2C device support
|
|
|
|
include "dev/i2c/files.i2c"
|
|
|
|
|
2006-10-02 11:57:46 +04:00
|
|
|
# SPI device support
|
|
|
|
include "dev/spi/files.spi"
|
|
|
|
|
2002-10-11 01:52:28 +04:00
|
|
|
# IR device support
|
|
|
|
include "dev/ir/files.ir"
|
2001-12-02 13:41:52 +03:00
|
|
|
|
2004-01-20 22:58:00 +03:00
|
|
|
# Parallel Port Bus support
|
|
|
|
include "dev/ppbus/files.ppbus"
|
|
|
|
|
2000-04-20 22:23:37 +04:00
|
|
|
# raster operations attributes
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-24 04:34:28 +03:00
|
|
|
define rasops1
|
|
|
|
define rasops2
|
|
|
|
define rasops4
|
|
|
|
define rasops8
|
|
|
|
define rasops15
|
|
|
|
define rasops16
|
|
|
|
define rasops24
|
|
|
|
define rasops32
|
2007-02-02 05:10:24 +03:00
|
|
|
define rasops_rotation
|
2000-04-20 22:23:37 +04:00
|
|
|
|
2006-02-19 20:24:36 +03:00
|
|
|
# splash screen support
|
|
|
|
include "dev/splash/files.splash"
|
|
|
|
|
2006-04-07 05:39:13 +04:00
|
|
|
# videomode support
|
|
|
|
include "dev/videomode/files.videomode"
|
|
|
|
|
1995-08-19 04:49:15 +04:00
|
|
|
# net device attributes - we have generic code for arc(net), ether(net),
|
2001-09-11 03:11:05 +04:00
|
|
|
# fddi, token ring, atm and eco(net).
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2007-11-14 02:22:06 +03:00
|
|
|
define arcnet
|
1996-06-22 05:49:00 +04:00
|
|
|
define atm
|
2001-09-11 03:11:05 +04:00
|
|
|
define eco
|
1995-08-19 04:49:15 +04:00
|
|
|
define ether
|
|
|
|
define fddi
|
1998-05-14 04:04:57 +04:00
|
|
|
define hippi
|
2000-11-05 20:17:12 +03:00
|
|
|
define ieee1394
|
1999-03-23 01:33:35 +03:00
|
|
|
define token
|
1999-03-25 06:39:11 +03:00
|
|
|
define sppp
|
2005-06-22 10:14:51 +04:00
|
|
|
define wlan: arc4, rijndael
|
1999-07-01 12:12:45 +04:00
|
|
|
define crypto
|
1996-01-02 01:27:08 +03:00
|
|
|
|
1997-03-15 21:09:08 +03:00
|
|
|
# devices ARPing IPv4 pull this in:
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1997-03-15 21:09:08 +03:00
|
|
|
define arp
|
|
|
|
|
2002-04-17 01:27:13 +04:00
|
|
|
#
|
|
|
|
# ALTQ network traffic shaping subsystem
|
|
|
|
#
|
|
|
|
include "altq/files.altq"
|
|
|
|
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-10-11 01:56:50 +04:00
|
|
|
# IPKDB kernel debugger
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-10-11 01:56:50 +04:00
|
|
|
include "ipkdb/files.ipkdb"
|
1996-10-16 23:32:08 +04:00
|
|
|
|
2000-11-26 20:44:02 +03:00
|
|
|
# Logical disk
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-11-26 20:44:02 +03:00
|
|
|
device ld: disk
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ld.c ld needs-flag
|
2000-10-19 18:26:41 +04:00
|
|
|
|
2002-04-17 00:50:16 +04:00
|
|
|
#
|
|
|
|
# MII/PHY support for network devices
|
|
|
|
#
|
|
|
|
include "dev/mii/files.mii"
|
|
|
|
|
2002-04-17 00:33:00 +04:00
|
|
|
#
|
|
|
|
# RAIDframe
|
|
|
|
#
|
|
|
|
include "dev/raidframe/files.raidframe"
|
|
|
|
|
2002-08-02 04:32:12 +04:00
|
|
|
#
|
|
|
|
# Hardware-assisted data mover API
|
|
|
|
#
|
|
|
|
include "dev/dmover/files.dmover"
|
|
|
|
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1996-04-25 06:15:42 +04:00
|
|
|
# "Chipset" drivers. These are the bus-independent routines which
|
|
|
|
# contain the cfdrivers. Attachments are provided by files.<bus>
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1996-04-25 06:15:42 +04:00
|
|
|
|
1997-10-06 23:49:17 +04:00
|
|
|
# Adaptec AIC-6[32]60 ICs
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device aic: scsi
|
1997-10-06 23:49:17 +04:00
|
|
|
file dev/ic/aic6360.c aic
|
|
|
|
|
2000-01-26 09:27:32 +03:00
|
|
|
# SMC 93Cx6 Serial EEPROM devices
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-01-26 09:27:32 +03:00
|
|
|
define smc93cx6
|
|
|
|
file dev/ic/smc93cx6.c smc93cx6
|
|
|
|
|
1996-05-16 08:00:58 +04:00
|
|
|
# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam opt_ahc.h AHC_DEBUG
|
|
|
|
defflag opt_ahc.h AHC_NO_TAGS
|
1998-02-17 01:12:45 +03:00
|
|
|
device ahc: scsi
|
2000-01-26 09:04:37 +03:00
|
|
|
define ahc_seeprom
|
2000-03-15 05:10:09 +03:00
|
|
|
define ahc_aic77xx
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/aic7xxx.c ahc
|
2003-04-19 23:29:10 +04:00
|
|
|
file dev/ic/aic7xxx_osm.c ahc
|
2000-01-26 09:04:37 +03:00
|
|
|
file dev/ic/aic7xxx_seeprom.c ahc_seeprom
|
2000-03-15 05:10:09 +03:00
|
|
|
file dev/ic/aic77xx.c ahc_aic77xx
|
1996-05-16 08:00:58 +04:00
|
|
|
|
2003-04-19 23:29:10 +04:00
|
|
|
# Adaptec aic79xx SCSI controllers
|
|
|
|
defflag opt_ahd.h AHD_DEBUG
|
|
|
|
device ahd: scsi
|
|
|
|
file dev/ic/aic79xx.c ahd
|
|
|
|
file dev/ic/aic79xx_osm.c ahd
|
|
|
|
|
1999-09-28 03:44:27 +04:00
|
|
|
# DPT EATA SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-09-28 03:44:27 +04:00
|
|
|
device dpt: scsi
|
|
|
|
file dev/ic/dpt.c dpt
|
|
|
|
|
2000-03-16 17:52:22 +03:00
|
|
|
# Compaq Smart ARRAY controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-03-16 17:52:22 +03:00
|
|
|
device cac {unit = -1}
|
|
|
|
file dev/ic/cac.c cac
|
|
|
|
|
2000-11-26 20:44:02 +03:00
|
|
|
attach ld at cac with ld_cac
|
|
|
|
file dev/ic/ld_cac.c ld_cac
|
2000-03-16 17:52:22 +03:00
|
|
|
|
2006-03-22 01:33:07 +03:00
|
|
|
# HP/Compaq Command Interface for SCSI-3 Support
|
|
|
|
#
|
|
|
|
device ciss: scsi
|
|
|
|
file dev/ic/ciss.c ciss
|
|
|
|
|
2001-02-04 20:05:11 +03:00
|
|
|
# Mylex DAC960 RAID controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-04 20:05:11 +03:00
|
|
|
device mlx {unit = -1}
|
|
|
|
file dev/ic/mlx.c mlx needs-flag
|
|
|
|
|
|
|
|
attach ld at mlx with ld_mlx
|
|
|
|
file dev/ic/ld_mlx.c ld_mlx
|
|
|
|
|
2002-04-23 01:05:19 +04:00
|
|
|
# ICP-Vortex/Intel RAID controllers
|
|
|
|
#
|
|
|
|
device icp {unit = -1}
|
|
|
|
file dev/ic/icp.c icp needs-flag
|
2003-05-13 19:42:33 +04:00
|
|
|
file dev/ic/icp_ioctl.c icp
|
2002-04-23 01:05:19 +04:00
|
|
|
|
|
|
|
attach ld at icp with ld_icp
|
|
|
|
file dev/ic/ld_icp.c ld_icp
|
|
|
|
|
|
|
|
device icpsp: scsi
|
|
|
|
file dev/ic/icpsp.c icpsp
|
|
|
|
attach icpsp at icp
|
|
|
|
|
2002-04-26 06:05:07 +04:00
|
|
|
# Adaptec FSA RAID controllers
|
|
|
|
#
|
|
|
|
device aac {unit = -1}
|
|
|
|
file dev/ic/aac.c aac
|
|
|
|
|
|
|
|
attach ld at aac with ld_aac
|
|
|
|
file dev/ic/ld_aac.c ld_aac
|
|
|
|
|
1998-08-26 18:20:37 +04:00
|
|
|
# AdvanSys 1200A, 1200B and ULTRA SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-08-26 18:20:37 +04:00
|
|
|
device adv: scsi
|
|
|
|
file dev/ic/adv.c adv
|
2001-03-08 07:18:17 +03:00
|
|
|
file dev/ic/advlib.c adv
|
|
|
|
file dev/ic/advmcode.c adv
|
1998-08-26 18:20:37 +04:00
|
|
|
|
1998-09-26 20:28:16 +04:00
|
|
|
# AdvanSys ULTRA WIDE SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-09-26 20:28:16 +04:00
|
|
|
device adw: scsi
|
|
|
|
file dev/ic/adw.c adw
|
|
|
|
|
1996-09-01 00:27:55 +04:00
|
|
|
# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
|
1997-07-29 02:48:59 +04:00
|
|
|
# (Must be declared before AHA to ensure bha probes before aha.
|
|
|
|
# Probing AHA first configures bhas as aha, via their AHA
|
|
|
|
# hardware-compatibility mode.)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device bha: scsi
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/bha.c bha
|
1996-09-01 00:27:55 +04:00
|
|
|
|
1997-07-29 02:48:59 +04:00
|
|
|
# Adaptec AHA-154x and AHA-164x controllers
|
|
|
|
# (must be after bha, see above)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device aha: scsi
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/aha.c aha
|
1997-07-29 02:48:59 +04:00
|
|
|
|
2001-06-03 17:43:45 +04:00
|
|
|
# Initio INIC-940/950 SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-06-03 17:43:45 +04:00
|
|
|
device iha: scsi
|
|
|
|
file dev/ic/iha.c iha
|
|
|
|
|
1997-03-12 04:56:18 +03:00
|
|
|
# Qlogic ISP 10x0 SCSI Controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_isp.h ISP_DISABLE_1020_SUPPORT
|
|
|
|
ISP_DISABLE_1080_SUPPORT
|
|
|
|
ISP_DISABLE_2100_SUPPORT
|
|
|
|
ISP_DISABLE_2200_SUPPORT
|
2007-05-25 01:30:41 +04:00
|
|
|
ISP_DISABLE_2300_SUPPORT
|
2008-03-11 08:24:38 +03:00
|
|
|
ISP_DISABLE_2322_SUPPORT
|
2007-05-25 01:30:41 +04:00
|
|
|
ISP_DISABLE_2400_SUPPORT
|
|
|
|
ISP_DISABLE_FW
|
|
|
|
ISP_TARGET_MODE
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam opt_isp.h ISP_LOGDEFAULT
|
2008-03-11 08:24:38 +03:00
|
|
|
ISP_VPORTS
|
1998-02-17 01:12:45 +03:00
|
|
|
device isp: scsi
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/isp.c isp
|
2007-05-25 01:30:41 +04:00
|
|
|
file dev/ic/isp_library.c isp
|
1998-07-16 00:22:19 +04:00
|
|
|
file dev/ic/isp_netbsd.c isp
|
2005-02-01 19:00:50 +03:00
|
|
|
file dev/ic/isp_target.c isp & isp_target_mode
|
2006-12-18 01:57:14 +03:00
|
|
|
# LSILogic MegaRAID SAS
|
|
|
|
#
|
|
|
|
device mfi: scsi
|
|
|
|
file dev/ic/mfi.c mfi
|
|
|
|
|
2002-05-18 11:23:04 +04:00
|
|
|
# LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
|
|
|
|
#
|
2003-04-17 02:02:59 +04:00
|
|
|
device mpt: scsi
|
|
|
|
file dev/ic/mpt.c mpt
|
|
|
|
file dev/ic/mpt_debug.c mpt
|
|
|
|
file dev/ic/mpt_netbsd.c mpt
|
2003-04-06 13:48:41 +04:00
|
|
|
|
2004-08-26 18:13:46 +04:00
|
|
|
# Workbit NinjaSCSI-32 controllers
|
|
|
|
device njs: scsi
|
|
|
|
file dev/ic/ninjascsi32.c njs
|
|
|
|
|
2003-04-06 13:48:41 +04:00
|
|
|
# Symbios/NCR 53c700 SCSI controllers
|
|
|
|
device oosiop: scsi
|
|
|
|
file dev/ic/oosiop.c oosiop
|
2002-05-18 11:23:04 +04:00
|
|
|
|
2001-04-30 08:47:50 +04:00
|
|
|
# Symbios/NCR 53c710 SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-04-30 08:47:50 +04:00
|
|
|
device osiop: scsi
|
|
|
|
file dev/ic/osiop.c osiop
|
|
|
|
|
2000-05-15 12:27:24 +04:00
|
|
|
# common stuff for siop and esiop
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-24 04:34:28 +03:00
|
|
|
define siop_common
|
|
|
|
file dev/ic/siop_common.c siop_common
|
2000-05-15 12:27:24 +04:00
|
|
|
|
2000-04-21 21:56:58 +04:00
|
|
|
# Symbios/NCR 53c720/53c8xx SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-24 04:34:28 +03:00
|
|
|
device siop: scsi,siop_common
|
2008-03-30 16:32:13 +04:00
|
|
|
file dev/ic/siop.c siop & (siop_pci | siop_gedoens)
|
2002-04-18 16:04:05 +04:00
|
|
|
defflag opt_siop.h SIOP_SYMLED
|
2000-04-21 21:56:58 +04:00
|
|
|
|
2002-04-22 02:52:05 +04:00
|
|
|
device esiop: scsi,siop_common
|
|
|
|
file dev/ic/esiop.c esiop
|
|
|
|
|
1996-09-01 00:27:55 +04:00
|
|
|
# UltraStor SCSI controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device uha: scsi
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/uha.c uha
|
1996-09-01 00:27:55 +04:00
|
|
|
|
2007-12-14 00:23:48 +03:00
|
|
|
# 3Com common probe code
|
|
|
|
define elink
|
|
|
|
file dev/isa/elink.c elink
|
|
|
|
|
2000-12-12 02:16:50 +03:00
|
|
|
# Aironet PC4500/PC4800
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2004-02-03 22:46:18 +03:00
|
|
|
device an: arp, wlan, ifnet
|
2000-12-12 02:16:50 +03:00
|
|
|
file dev/ic/an.c an
|
|
|
|
|
2000-07-04 18:27:56 +04:00
|
|
|
# AMD 79c930-based 802.11 cards
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-07-04 18:27:56 +04:00
|
|
|
device awi: arp, wlan, ifnet
|
|
|
|
file dev/ic/awi.c awi
|
|
|
|
file dev/ic/am79c930.c awi
|
|
|
|
|
2001-05-06 07:26:38 +04:00
|
|
|
# Lucent & Intersil WaveLan IEEE (802.11)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2004-02-14 19:35:58 +03:00
|
|
|
device wi: arp, wlan, ifnet
|
2001-05-06 07:26:38 +04:00
|
|
|
file dev/ic/wi.c wi
|
|
|
|
|
2003-10-13 12:34:15 +04:00
|
|
|
# Atheros 5210/5211/5212 multi-mode 802.11
|
|
|
|
#
|
2006-04-05 10:54:26 +04:00
|
|
|
defflag opt_athhal.h ATHHAL_ASSERT ATHHAL_DEBUG ATHHAL_DEBUG_ALQ
|
2004-02-14 19:35:58 +03:00
|
|
|
device ath: arp, wlan, ifnet
|
2003-10-13 12:34:15 +04:00
|
|
|
file dev/ic/ath.c ath
|
2005-06-22 10:14:51 +04:00
|
|
|
file dev/ic/ath_netbsd.c ath
|
2005-10-21 08:07:48 +04:00
|
|
|
file dev/ic/athrate-sample.c ath
|
2006-04-02 09:52:14 +04:00
|
|
|
file contrib/dev/ath/netbsd/ah_osdep.c ath
|
2006-04-04 07:13:12 +04:00
|
|
|
object /athhal.o ath
|
2003-10-13 12:34:15 +04:00
|
|
|
|
2003-07-07 02:56:07 +04:00
|
|
|
# ADMtek ADM8211 802.11
|
|
|
|
#
|
2004-02-14 19:35:58 +03:00
|
|
|
device atw: arp, wlan, ifnet, smc93cx6
|
2003-07-07 02:56:07 +04:00
|
|
|
file dev/ic/atw.c atw
|
|
|
|
|
2004-09-26 07:03:17 +04:00
|
|
|
# Realtek RTL8180 802.11
|
|
|
|
#
|
|
|
|
device rtw: arp, wlan, ifnet, smc93cx6
|
|
|
|
file dev/ic/rtw.c rtw
|
|
|
|
file dev/ic/rtwphy.c rtw
|
|
|
|
file dev/ic/rtwphyio.c rtw
|
|
|
|
|
2006-06-07 19:24:12 +04:00
|
|
|
# Ralink RT2500/RT2600 802.11
|
2006-06-07 16:51:40 +04:00
|
|
|
device ral: arp, ether, ifnet, wlan, firmload
|
2006-06-07 12:06:56 +04:00
|
|
|
file dev/ic/rt2560.c ral
|
|
|
|
file dev/ic/rt2661.c ral
|
2005-07-02 00:11:20 +04:00
|
|
|
|
1996-04-25 06:15:42 +04:00
|
|
|
# 3Com Etherlink-III Ethernet controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-11-19 21:16:13 +03:00
|
|
|
device ep: arp, ether, ifnet, mii, mii_bitbang
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/elink3.c ep
|
1996-04-25 06:15:42 +04:00
|
|
|
|
1998-11-04 03:28:05 +03:00
|
|
|
# 3Com EtherLink XL Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-11-17 20:56:00 +03:00
|
|
|
device ex: arp, ether, ifnet, mii, mii_bitbang
|
1998-11-04 03:28:05 +03:00
|
|
|
file dev/ic/elinkxl.c ex
|
|
|
|
|
1997-08-01 01:56:33 +04:00
|
|
|
# DEC EtherWORKS III (LEMAC) Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device lc: arp, ether, ifnet
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/lemac.c lc
|
1997-08-01 01:56:33 +04:00
|
|
|
|
1996-05-07 12:56:54 +04:00
|
|
|
# LANCE and PCnet Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device le: arp, ether, ifnet
|
2001-02-24 04:34:28 +03:00
|
|
|
define le24
|
|
|
|
define le32
|
1998-07-26 07:29:12 +04:00
|
|
|
file dev/ic/am7990.c le24
|
1998-07-21 21:26:45 +04:00
|
|
|
file dev/ic/am79900.c le32
|
|
|
|
file dev/ic/lance.c le24 | le32
|
1996-05-07 12:56:54 +04:00
|
|
|
|
2000-08-11 18:35:57 +04:00
|
|
|
# DEC DEPCA-family of LANCE Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-08-11 18:35:57 +04:00
|
|
|
device depca { }: le24
|
|
|
|
file dev/ic/depca.c depca
|
|
|
|
attach le at depca with le_depca
|
|
|
|
|
1999-06-05 18:32:08 +04:00
|
|
|
# Sun HME Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-06-27 16:43:08 +04:00
|
|
|
device hme: arp, ether, ifnet, mii
|
|
|
|
file dev/ic/hme.c hme
|
1999-06-05 18:32:08 +04:00
|
|
|
|
2001-09-16 04:11:41 +04:00
|
|
|
# Sun GEM Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-09-16 04:11:41 +04:00
|
|
|
device gem: arp, ether, ifnet, mii
|
|
|
|
file dev/ic/gem.c gem
|
|
|
|
|
1997-04-29 09:11:32 +04:00
|
|
|
# 8390-family Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-10-11 05:00:35 +04:00
|
|
|
defflag opt_ipkdb.h IPKDB_DP8390
|
1997-04-29 09:11:32 +04:00
|
|
|
define dp8390nic
|
2002-10-11 05:00:35 +04:00
|
|
|
file dev/ic/dp8390.c dp8390nic | ipkdb_dp8390
|
1997-04-29 09:11:32 +04:00
|
|
|
|
2001-12-16 03:22:43 +03:00
|
|
|
# National Semiconductor DP83905 AT/LANTIC Ethernet media support
|
|
|
|
#
|
|
|
|
define dp83905
|
|
|
|
file dev/ic/dp83905.c dp83905
|
|
|
|
|
2001-12-15 20:47:34 +03:00
|
|
|
# Macronix MX98905 Ethernet controller
|
|
|
|
# (use as an attribute for an "ne" bus attachment)
|
|
|
|
#
|
|
|
|
define mx98905
|
|
|
|
file dev/ic/mx98905.c mx98905
|
|
|
|
|
1999-03-23 01:33:35 +03:00
|
|
|
# TROPIC Token-Ring controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-03-23 01:33:35 +03:00
|
|
|
device tr: arp, token, ifnet
|
|
|
|
file dev/ic/tropic.c tr
|
|
|
|
|
1996-07-15 00:03:44 +04:00
|
|
|
# NCR 5380 SCSI Bus Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1996-07-15 00:03:44 +04:00
|
|
|
define ncr5380sbc
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/ncr5380sbc.c ncr5380sbc
|
2000-03-20 14:03:42 +03:00
|
|
|
device nca: scsi, ncr5380sbc
|
1996-07-15 00:03:44 +04:00
|
|
|
|
2001-04-20 20:39:22 +04:00
|
|
|
# Sun sc PAL SCSI Bus Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-04-20 20:39:22 +04:00
|
|
|
define sunscpal
|
|
|
|
file dev/ic/sunscpal.c sunscpal
|
|
|
|
device ssc: scsi, sunscpal
|
|
|
|
|
1996-07-15 00:03:44 +04:00
|
|
|
# DEC FDDI Chipset
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1996-07-15 00:03:44 +04:00
|
|
|
define pdq
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/pdq.c pdq
|
|
|
|
file dev/ic/pdq_ifsubr.c pdq
|
1996-07-15 00:03:44 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
# Cyclades Cyclom-8/16/32
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device cy: tty
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/cy.c cy needs-flag
|
1996-09-24 21:43:35 +04:00
|
|
|
|
1996-11-13 02:58:01 +03:00
|
|
|
# Efficient Networks, Inc. ATM interface
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-02-17 01:12:45 +03:00
|
|
|
device en: atm, ifnet
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/midway.c en
|
1996-11-13 02:58:01 +03:00
|
|
|
|
1997-02-27 04:13:45 +03:00
|
|
|
# NCR 53x9x or Emulex ESP SCSI Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1997-02-27 04:13:45 +03:00
|
|
|
define ncr53c9x
|
2000-03-25 22:58:04 +03:00
|
|
|
device esp: scsi, ncr53c9x
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/ncr53c9x.c ncr53c9x
|
1997-02-27 04:13:45 +03:00
|
|
|
|
2004-07-07 12:41:34 +04:00
|
|
|
# Fujitsu MB87030/MB89352 SCSI Protocol Controller
|
|
|
|
device spc: scsi
|
|
|
|
file dev/ic/mb89352.c spc
|
|
|
|
|
2006-08-27 02:06:36 +04:00
|
|
|
# Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
|
|
|
|
define wd33c93
|
|
|
|
file dev/ic/wd33c93.c wd33c93
|
|
|
|
|
2003-01-20 04:26:12 +03:00
|
|
|
# Hitachi HD44780 LCD panel controller
|
|
|
|
define hd44780
|
|
|
|
file dev/ic/hd44780_subr.c hd44780
|
|
|
|
file dev/ic/lcdkp_subr.c hd44780
|
|
|
|
|
2005-01-31 09:09:03 +03:00
|
|
|
# Matrix keypad
|
|
|
|
define matrixkp
|
|
|
|
file dev/ic/matrixkp_subr.c matrixkp
|
|
|
|
|
1998-07-26 07:29:12 +04:00
|
|
|
# Hitachi HD64570 serial controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-03-25 22:58:04 +03:00
|
|
|
define hd64570
|
1998-07-26 07:29:12 +04:00
|
|
|
file dev/ic/hd64570.c hd64570
|
|
|
|
|
2000-01-04 09:37:05 +03:00
|
|
|
# Riscom/N2 ISA/PCI Sync Serial Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-01-04 09:37:05 +03:00
|
|
|
device ntwoc: ifnet, hd64570
|
|
|
|
|
1997-07-23 03:33:33 +04:00
|
|
|
# Intel 82586 Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1997-07-23 03:33:33 +04:00
|
|
|
define i82586
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/i82586.c i82586
|
1997-07-23 03:33:33 +04:00
|
|
|
|
2004-03-12 14:37:17 +03:00
|
|
|
# Intel 82596 Ethernet Controller
|
|
|
|
#
|
|
|
|
define i82596
|
|
|
|
file dev/ic/i82596.c i82596
|
|
|
|
|
1999-06-20 20:34:38 +04:00
|
|
|
# Intel 82557/82558/82559 Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-06-20 20:34:38 +04:00
|
|
|
device fxp: ether, ifnet, arp, mii
|
|
|
|
file dev/ic/i82557.c fxp
|
|
|
|
|
2000-09-19 00:51:14 +04:00
|
|
|
# SEEQ 8005 Advanced Ethernet Data Link Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-09-19 00:51:14 +04:00
|
|
|
define seeq8005
|
|
|
|
file dev/ic/seeq8005.c seeq8005
|
|
|
|
|
1997-09-02 05:50:32 +04:00
|
|
|
# SMC 91Cxx Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-07-31 01:34:47 +04:00
|
|
|
device sm: arp, ether, ifnet, mii, mii_bitbang
|
1997-09-20 05:02:29 +04:00
|
|
|
file dev/ic/smc91cxx.c sm
|
1997-09-02 05:50:32 +04:00
|
|
|
|
1998-06-02 05:29:41 +04:00
|
|
|
# SMC 83C170 EPIC/100 Fast Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-08-11 04:06:12 +04:00
|
|
|
device epic: arp, ether, ifnet, mii
|
1998-06-02 05:29:41 +04:00
|
|
|
file dev/ic/smc83c170.c epic
|
|
|
|
|
1999-08-08 15:41:28 +04:00
|
|
|
# DEC SGEC Second Generation Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-08-08 15:41:28 +04:00
|
|
|
define sgec
|
|
|
|
file dev/ic/sgec.c sgec
|
|
|
|
|
2005-04-03 15:21:44 +04:00
|
|
|
# MB86950 Ethernet Controller
|
|
|
|
#
|
|
|
|
define mb86950
|
|
|
|
file dev/ic/mb86950.c mb86950
|
|
|
|
|
1998-03-22 07:37:04 +03:00
|
|
|
# MB8696x Ethernet Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-03-22 07:37:04 +03:00
|
|
|
define mb86960
|
|
|
|
file dev/ic/mb86960.c mb86960
|
|
|
|
|
|
|
|
# Generic MB8696x Ethernet Controller driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-03-22 07:37:04 +03:00
|
|
|
device mbe: arp, ether, ifnet, mb86960
|
|
|
|
|
1997-10-07 00:12:26 +04:00
|
|
|
# Interwave Am78C201 audio driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1997-10-07 00:12:26 +04:00
|
|
|
define interwave
|
|
|
|
file dev/ic/interwave.c interwave
|
|
|
|
|
1997-10-17 03:58:10 +04:00
|
|
|
# TMS 320av110 MPEG2/audio driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1997-10-17 03:58:10 +04:00
|
|
|
define tms320av110
|
|
|
|
file dev/ic/tms320av110.c tms320av110
|
|
|
|
|
1997-10-15 02:49:02 +04:00
|
|
|
# Novell NE2000-compatible Ethernet cards, based on the
|
|
|
|
# National Semiconductor DS8390.
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_ipkdb.h IPKDB_NE : IPKDB_DP8390
|
2001-02-13 05:31:41 +03:00
|
|
|
device ne: ether, ifnet, arp, dp8390nic, mii
|
2002-10-11 05:00:35 +04:00
|
|
|
file dev/ic/ne2000.c ne | ipkdb_ne
|
1997-10-15 02:49:02 +04:00
|
|
|
|
1997-10-16 04:38:11 +04:00
|
|
|
# 8250/16[45]50-based "com" ports
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2005-12-27 03:46:38 +03:00
|
|
|
defflag opt_com.h COM_DEBUG
|
2004-05-01 23:03:59 +04:00
|
|
|
# XXX In a perfect world, this would be done with attributes
|
2006-07-14 02:56:00 +04:00
|
|
|
defflag opt_com.h COM_16650 COM_HAYESP COM_PXA2X0 COM_AU1X00
|
|
|
|
COM_REGMAP
|
2000-09-22 03:29:43 +04:00
|
|
|
device com { } : tty
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/com.c com needs-flag
|
1997-10-16 04:38:11 +04:00
|
|
|
|
1999-12-04 01:48:22 +03:00
|
|
|
# PC-like keyboard controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2004-03-14 01:45:23 +03:00
|
|
|
device pckbc: pckbport
|
2004-03-14 16:52:12 +03:00
|
|
|
file dev/ic/pckbc.c pckbc needs-flag
|
1999-12-04 01:48:22 +03:00
|
|
|
|
2005-03-26 02:06:19 +03:00
|
|
|
device attimer
|
|
|
|
file dev/ic/attimer.c attimer needs-flag
|
|
|
|
|
1999-02-13 20:07:36 +03:00
|
|
|
# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-02-13 20:07:36 +03:00
|
|
|
device clmpcc: tty
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/clmpcc.c clmpcc needs-flag
|
1999-02-13 20:07:36 +03:00
|
|
|
|
2007-05-08 20:48:37 +04:00
|
|
|
# Abit uGuru
|
|
|
|
#
|
|
|
|
device ug: sysmon_envsys
|
|
|
|
file dev/ic/ug.c ug needs-flag
|
|
|
|
|
1998-05-14 04:04:57 +04:00
|
|
|
# Essential Communications Corp. HIPPI Interface
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-24 04:34:28 +03:00
|
|
|
device esh: hippi, ifnet
|
|
|
|
file dev/ic/rrunner.c esh needs-flag
|
1998-05-14 04:04:57 +04:00
|
|
|
|
1998-09-03 02:32:06 +04:00
|
|
|
# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2007-11-14 02:22:06 +03:00
|
|
|
device bah: ifnet, arcnet, arp
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/smc90cx6.c bah
|
1998-09-03 02:32:06 +04:00
|
|
|
|
1998-08-18 01:16:09 +04:00
|
|
|
# OPL2/OPL3 FM synth driver
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-08-23 02:53:06 +04:00
|
|
|
device opl: midibus, midisyn
|
1998-08-18 01:16:09 +04:00
|
|
|
file dev/ic/opl.c opl
|
|
|
|
file dev/ic/oplinstrs.c opl
|
|
|
|
|
1999-08-02 21:37:41 +04:00
|
|
|
# MPU401 MIDI UART compatibles
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-08-02 21:37:41 +04:00
|
|
|
device mpu: midibus
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/mpu.c mpu needs-flag
|
1999-08-02 21:37:41 +04:00
|
|
|
|
1998-08-26 02:38:29 +04:00
|
|
|
# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-08-26 02:38:29 +04:00
|
|
|
define ad1848
|
|
|
|
file dev/ic/ad1848.c ad1848
|
|
|
|
|
1999-06-05 18:32:08 +04:00
|
|
|
# AMD 7930 audio/ISDN codec
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-05-02 10:30:49 +04:00
|
|
|
define am7930
|
|
|
|
file dev/ic/am7930.c am7930
|
1999-06-05 18:32:08 +04:00
|
|
|
|
|
|
|
# SPARC `SUNW,audiocs'
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-04-22 13:41:19 +04:00
|
|
|
device audiocs: audiobus, auconv, ad1848
|
1999-06-05 18:32:08 +04:00
|
|
|
file dev/ic/cs4231.c audiocs
|
|
|
|
|
1999-10-27 17:18:02 +04:00
|
|
|
# AC-97 CODECs
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-10-27 17:18:02 +04:00
|
|
|
define ac97
|
|
|
|
file dev/ic/ac97.c ac97
|
|
|
|
|
2001-05-02 16:53:31 +04:00
|
|
|
# Oki MSM6258 support code
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-05-02 16:53:31 +04:00
|
|
|
define msm6258
|
|
|
|
file dev/ic/msm6258.c msm6258
|
|
|
|
|
1998-08-30 01:52:54 +04:00
|
|
|
# LSI64854 DMA controller back-end
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-08-30 01:52:54 +04:00
|
|
|
define lsi64854
|
|
|
|
file dev/ic/lsi64854.c lsi64854
|
|
|
|
|
2001-10-03 08:25:29 +04:00
|
|
|
# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-10-03 08:25:29 +04:00
|
|
|
define cd18xx
|
|
|
|
file dev/ic/cd18xx.c cd18xx
|
|
|
|
|
2004-02-13 13:00:54 +03:00
|
|
|
# Realtek 8019/8029 NE2000-compatible network interface subroutines
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-10-31 03:43:19 +03:00
|
|
|
define rtl80x9
|
|
|
|
file dev/ic/rtl80x9.c rtl80x9
|
2000-04-10 11:42:55 +04:00
|
|
|
|
2004-02-13 13:00:54 +03:00
|
|
|
# Realtek 8129/8139 Ethernet controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-04-19 12:44:31 +04:00
|
|
|
device rtk: ether, ifnet, arp, mii
|
2004-05-29 16:12:28 +04:00
|
|
|
file dev/ic/rtl81x9.c rtk | re
|
1998-08-30 01:52:54 +04:00
|
|
|
|
2004-05-28 19:35:41 +04:00
|
|
|
# Realtek 8169 Ethernet controllers
|
|
|
|
#
|
|
|
|
device re: ether, ifnet, arp, mii
|
2005-01-21 15:32:18 +03:00
|
|
|
file dev/ic/rtl8169.c re
|
2004-05-28 19:35:41 +04:00
|
|
|
|
1998-11-23 00:57:47 +03:00
|
|
|
# Common code for ESDI/IDE/etc. controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2004-08-12 08:23:02 +04:00
|
|
|
define wdc_common
|
2006-09-07 16:34:41 +04:00
|
|
|
define ata_dma
|
|
|
|
define ata_udma
|
|
|
|
define ata_piobm
|
2004-08-12 08:23:02 +04:00
|
|
|
device wdc: ata, wdc_common
|
2003-10-08 14:58:12 +04:00
|
|
|
|
2007-03-17 09:41:35 +03:00
|
|
|
defflag opt_ata.h ATADEBUG
|
|
|
|
|
2004-02-14 19:35:58 +03:00
|
|
|
device atabus: atapi,ata_hl
|
|
|
|
attach atabus at ata
|
2006-09-07 16:34:41 +04:00
|
|
|
# The strange expression is to dump ata_* definitions to ata_dma.h.
|
|
|
|
file dev/ic/wdc.c (ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common needs-flag
|
1998-01-15 02:36:30 +03:00
|
|
|
|
2006-09-07 18:22:07 +04:00
|
|
|
# Workbit NinjaATA-32 IDE controllers
|
|
|
|
device njata: ata, ata_piobm, wdc_common
|
|
|
|
file dev/ic/ninjaata32.c njata
|
|
|
|
|
2000-08-17 22:56:17 +04:00
|
|
|
# CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-08-17 22:56:17 +04:00
|
|
|
device upc { [offset = -1] }
|
|
|
|
attach wdc at upc with wdc_upc
|
|
|
|
attach com at upc with com_upc
|
2004-01-20 22:58:00 +03:00
|
|
|
attach lpt at upc with lpt_upc
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/upc.c upc
|
|
|
|
file dev/ic/wdc_upc.c wdc_upc
|
|
|
|
file dev/ic/com_upc.c com_upc
|
2004-01-20 22:58:00 +03:00
|
|
|
file dev/ic/lpt_upc.c lpt_upc
|
2000-08-17 22:56:17 +04:00
|
|
|
|
2007-05-12 15:04:58 +04:00
|
|
|
# AHCI-compatible SATA controllers
|
|
|
|
define ahcisata_core
|
|
|
|
file dev/ic/ahcisata_core.c ahcisata_core
|
|
|
|
device ahcisata: ata, ata_dma, ata_udma, sata, ahcisata_core
|
|
|
|
|
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 04:32:41 +04:00
|
|
|
# DECchip 21x4x Ethernet controller family, and assorted clones.
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-11-19 21:16:13 +03:00
|
|
|
device tlp: arp, ether, ifnet, mii, mii_bitbang
|
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 04:32:41 +04:00
|
|
|
file dev/ic/tulip.c tlp
|
|
|
|
|
1999-10-13 22:37:12 +04:00
|
|
|
# Adaptec AIC-6915 Ethernet interface
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1999-10-13 22:37:12 +04:00
|
|
|
device sf: arp, ether, ifnet, mii
|
|
|
|
file dev/ic/aic6915.c sf
|
|
|
|
|
2000-07-26 02:41:58 +04:00
|
|
|
# Mostek time-of-day clock and NVRAM
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-07-26 02:41:58 +04:00
|
|
|
define mk48txx
|
2002-03-28 14:56:32 +03:00
|
|
|
file dev/ic/mk48txx.c mk48txx
|
2000-07-26 02:41:58 +04:00
|
|
|
|
|
|
|
# Intersil 7170 time-of-day clock
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-07-26 02:41:58 +04:00
|
|
|
define intersil7170
|
|
|
|
file dev/ic/intersil7170.c intersil7170
|
|
|
|
|
2001-04-20 20:39:22 +04:00
|
|
|
# National Semiconductor MM58167 time-of-day clock
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-04-20 20:39:22 +04:00
|
|
|
define mm58167
|
|
|
|
file dev/ic/mm58167.c mm58167
|
|
|
|
|
2003-10-29 20:00:40 +03:00
|
|
|
# Motorola mc146818 (and compatible) time-of-day clock
|
|
|
|
#
|
|
|
|
define mc146818
|
|
|
|
file dev/ic/mc146818.c mc146818
|
|
|
|
|
2006-09-07 05:12:00 +04:00
|
|
|
# Ricoh RS5C313 time of-day-clock
|
|
|
|
#
|
|
|
|
define rs5c313
|
|
|
|
file dev/ic/rs5c313.c rs5c313
|
|
|
|
|
2001-02-13 04:56:28 +03:00
|
|
|
# D-Link DL10019/10022 NE2000-compatible network interface subroutines
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-02-13 04:56:28 +03:00
|
|
|
define dl10019
|
|
|
|
file dev/ic/dl10019.c dl10019
|
|
|
|
|
2001-08-04 15:38:57 +04:00
|
|
|
# ASIX AX88190 NE2000-compatible network interface subroutines
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-08-04 15:38:57 +04:00
|
|
|
define ax88190
|
|
|
|
file dev/ic/ax88190.c ax88190
|
|
|
|
|
2001-03-23 22:08:53 +03:00
|
|
|
# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-03-23 22:08:53 +03:00
|
|
|
device we: ether, ifnet, arp, dp8390nic
|
|
|
|
file dev/ic/we.c we
|
|
|
|
|
2001-03-31 04:26:53 +04:00
|
|
|
# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-03-31 04:26:53 +04:00
|
|
|
device ate: arp, ether, ifnet, mb86960
|
|
|
|
|
2002-10-05 19:16:10 +04:00
|
|
|
# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
|
|
|
|
#
|
|
|
|
device fmv: arp, ether, ifnet, mb86960
|
|
|
|
file dev/ic/fmv.c fmv
|
|
|
|
|
2001-11-26 22:17:05 +03:00
|
|
|
# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-26 22:17:05 +03:00
|
|
|
device cs: arp, ether, ifnet
|
2005-01-08 05:56:35 +03:00
|
|
|
device tscs: arp, ether, ifnet
|
|
|
|
file dev/ic/cs89x0.c cs | tscs
|
2002-01-02 00:51:38 +03:00
|
|
|
|
|
|
|
# Radio device attributes
|
|
|
|
#
|
|
|
|
define tea5757
|
2004-02-14 19:35:58 +03:00
|
|
|
file dev/ic/tea5757.c tea5757
|
2002-01-02 00:51:38 +03:00
|
|
|
define lm700x
|
2004-02-14 19:35:58 +03:00
|
|
|
file dev/ic/lm700x.c lm700x
|
2001-11-26 22:17:05 +03:00
|
|
|
|
2007-04-14 23:33:27 +04:00
|
|
|
# Philips PCF8584 i2c controller
|
|
|
|
define pcf8584
|
|
|
|
file dev/ic/pcf8584.c pcf8584
|
|
|
|
|
2006-06-26 20:13:21 +04:00
|
|
|
# ACPI power management timer (hardware access, independent of ACPI)
|
|
|
|
#
|
|
|
|
define acpipmtimer
|
|
|
|
file dev/ic/acpipmtimer.c acpipmtimer
|
|
|
|
|
2007-03-08 17:26:26 +03:00
|
|
|
device hpet
|
|
|
|
file dev/ic/hpet.c hpet needs-flag
|
|
|
|
|
2007-03-20 21:05:25 +03:00
|
|
|
# DRM - Direct Rendering Infrastructure: dev/drm
|
|
|
|
define drm {}
|
|
|
|
include dev/drm/files.drm
|
|
|
|
|
1998-04-15 23:55:09 +04:00
|
|
|
# Definitions for wscons
|
|
|
|
# device attributes: display, display with emulator, keyboard, and mouse
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-12-05 07:05:37 +03:00
|
|
|
define wsdisplaydev {[kbdmux = 1]}
|
|
|
|
define wsemuldisplaydev {[console = -1], [kbdmux = 1]}
|
|
|
|
define wskbddev {[console = -1], [mux = 1]}
|
|
|
|
define wsmousedev {[mux = 0]}
|
2006-02-23 11:01:59 +03:00
|
|
|
define vcons
|
1998-04-15 23:55:09 +04:00
|
|
|
# attribute to pull in raster support
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
1998-04-15 23:55:09 +04:00
|
|
|
define wsrasteremulops
|
1998-05-28 20:53:18 +04:00
|
|
|
# common PC display functions
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_pcdisplay.h PCDISPLAY_SOFTCURSOR
|
2001-02-24 04:34:28 +03:00
|
|
|
define pcdisplayops
|
1998-05-28 20:53:18 +04:00
|
|
|
file dev/ic/pcdisplay_subr.c pcdisplayops
|
1998-06-27 01:01:32 +04:00
|
|
|
file dev/ic/pcdisplay_chars.c pcdisplayops
|
2006-05-28 12:57:53 +04:00
|
|
|
# an attribute used by arch specific config files to include /dev/fb* (or
|
|
|
|
# equivalent) support - on most archs this is just a NOP (untill, maybe
|
|
|
|
# someday when we might make /dev/fb* support MI)
|
|
|
|
define fb
|
1998-04-15 23:55:09 +04:00
|
|
|
# VGA graphics
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-07-07 19:09:52 +04:00
|
|
|
defparam opt_vga.h VGA_CONSOLE_SCREENTYPE
|
2002-06-29 02:32:58 +04:00
|
|
|
defflag opt_vga.h VGA_CONSOLE_ATI_BROKEN_FONTSEL
|
2002-10-15 22:14:41 +04:00
|
|
|
defflag opt_vga.h VGA_RASTERCONSOLE
|
2003-02-01 00:57:23 +03:00
|
|
|
defflag opt_vga.h VGA_RESET
|
2007-12-09 23:27:42 +03:00
|
|
|
device vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
|
2002-10-15 22:14:41 +04:00
|
|
|
file dev/ic/vga.c vga & !vga_rasterconsole needs-flag
|
|
|
|
file dev/ic/vga_raster.c vga_rasterconsole needs-flag
|
|
|
|
file dev/ic/vga_subr.c vga | vga_rasterconsole
|
|
|
|
file dev/ic/vga_common.c vga | vga_rasterconsole
|
2002-03-30 23:21:21 +03:00
|
|
|
# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2006-02-23 11:01:59 +03:00
|
|
|
device igsfb: wsemuldisplaydev, wsrasteremulops, rasops8, vcons
|
2003-06-03 02:51:49 +04:00
|
|
|
file dev/ic/igsfb.c igsfb needs-flag
|
2002-09-24 22:17:24 +04:00
|
|
|
file dev/ic/igsfb_subr.c igsfb
|
1998-04-15 23:55:09 +04:00
|
|
|
|
2004-08-26 20:48:06 +04:00
|
|
|
# STI (hp graphics)
|
|
|
|
device sti: wsemuldisplaydev
|
2008-03-29 18:59:25 +03:00
|
|
|
file dev/ic/sti.c sti & (sti_pci | sti_gedoens)
|
2004-08-26 20:48:06 +04:00
|
|
|
|
2008-02-21 00:43:33 +03:00
|
|
|
include "dev/wscons/files.wscons"
|
|
|
|
include "dev/rasops/files.rasops"
|
|
|
|
include "dev/wsfont/files.wsfont"
|
|
|
|
include "dev/wsfb/files.wsfb"
|
|
|
|
|
1996-02-28 00:59:14 +03:00
|
|
|
# Attributes which machine-independent bus support can be attached to.
|
|
|
|
# These should be defined here, because some of these busses can have
|
|
|
|
# devices which provide these attributes, and we'd like to avoid hairy
|
|
|
|
# ordering constraints on inclusion of the busses' "files" files.
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2001-11-28 13:21:10 +03:00
|
|
|
define isabus { } # ISA attachment
|
|
|
|
define eisabus { } # EISA attachment
|
|
|
|
define pcibus {[bus = -1]} # PCI attachment
|
|
|
|
define tcbus { } # TurboChannel attachment
|
|
|
|
define mcabus { } # MicroChannel attachment
|
|
|
|
define usbus { } # USB attachment
|
2005-07-11 19:29:05 +04:00
|
|
|
define fwbus { } # IEEE 1394 attachment
|
2001-11-28 13:21:10 +03:00
|
|
|
define vmebus { } # VME bus attachment
|
|
|
|
define acpibus { } # ACPI "bus" attachment
|
1998-11-26 18:31:22 +03:00
|
|
|
define pcmciabus { [controller = -1], [socket = -1]} # PCMCIA bus attachment
|
2008-06-24 21:32:09 +04:00
|
|
|
define cbbus { } # CardBus attachment
|
|
|
|
define pcmciaslot { } # PCMCIA slot itself
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
# We need the USB bus controllers here so different busses can
|
|
|
|
# use them in an 'attach-with'.
|
|
|
|
# UHCI USB controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2004-12-21 19:36:53 +03:00
|
|
|
|
|
|
|
defparam USB_MEM_RESERVE
|
|
|
|
|
2008-02-03 13:57:11 +03:00
|
|
|
define usbroothub
|
|
|
|
file dev/usb/usbroothub_subr.c usbroothub
|
|
|
|
|
|
|
|
device uhci: usbus, usbroothub
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/usb/uhci.c uhci needs-flag
|
1998-07-12 23:51:55 +04:00
|
|
|
|
|
|
|
# OHCI USB controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2008-02-03 13:57:11 +03:00
|
|
|
device ohci: usbus, usbroothub
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/usb/ohci.c ohci needs-flag
|
1996-02-28 00:59:14 +03:00
|
|
|
|
2000-12-24 09:39:01 +03:00
|
|
|
# EHCI USB controller
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2008-02-03 13:57:11 +03:00
|
|
|
device ehci: usbus, usbroothub
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/usb/ehci.c ehci needs-flag
|
2000-12-24 09:39:01 +03:00
|
|
|
|
2002-08-11 17:17:52 +04:00
|
|
|
# SL811HS/T USB controller
|
2007-08-15 07:53:08 +04:00
|
|
|
defflag opt_slhci.h SLHCI_DEBUG SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
|
2008-02-24 08:29:31 +03:00
|
|
|
device slhci: usbus, usbroothub
|
2002-08-11 17:17:52 +04:00
|
|
|
file dev/ic/sl811hs.c slhci needs-flag
|
|
|
|
|
2007-09-08 00:17:37 +04:00
|
|
|
# USB HID processing (as used by bluetooth and usb code)
|
|
|
|
define hid
|
|
|
|
file dev/usb/hid.c hid
|
|
|
|
|
2002-11-08 00:56:56 +03:00
|
|
|
# Myson MTD803 3-in-1 Fast Ethernet Controller
|
|
|
|
device mtd: arp, ether, ifnet, mii
|
|
|
|
file dev/ic/mtd803.c mtd
|
|
|
|
|
2002-01-02 00:51:38 +03:00
|
|
|
# radio devices, attaches to radio hardware driver
|
|
|
|
device radio
|
2002-01-07 20:44:42 +03:00
|
|
|
attach radio at radiodev
|
2002-01-02 00:51:38 +03:00
|
|
|
|
2000-11-15 02:37:20 +03:00
|
|
|
# IEEE 1394 controllers
|
|
|
|
# (These need to be here since it will have both PCI and CardBus attachments)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-05-30 04:48:47 +04:00
|
|
|
device fwohci: fwbus
|
|
|
|
|
2002-04-22 17:03:06 +04:00
|
|
|
# Sony Programmable I/O Controller
|
|
|
|
device spic: wsmousedev
|
|
|
|
file dev/ic/spic.c spic
|
|
|
|
|
2002-05-21 07:01:02 +04:00
|
|
|
# IBM CPC700 PowerPC bridge
|
|
|
|
define cpcbus { addr, [irq=-1] }
|
|
|
|
device cpc: cpcbus, pcibus
|
|
|
|
file dev/ic/cpc700.c cpc
|
|
|
|
|
|
|
|
attach com at cpcbus with com_cpcbus
|
|
|
|
file dev/ic/com_cpcbus.c com_cpcbus
|
|
|
|
|
|
|
|
device cpctim
|
|
|
|
attach cpctim at cpcbus
|
|
|
|
file dev/ic/timer_cpcbus.c cpctim
|
|
|
|
|
2002-05-21 07:05:00 +04:00
|
|
|
device cpciic
|
|
|
|
attach cpciic at cpcbus with iic_cpcbus
|
2002-05-21 07:01:02 +04:00
|
|
|
file dev/ic/iic_cpcbus.c iic_cpcbus
|
|
|
|
|
|
|
|
|
2000-12-29 03:54:58 +03:00
|
|
|
# Attribute used by various things that need BPF's virtual machine
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2000-12-29 03:54:58 +03:00
|
|
|
define bpf_filter
|
2002-06-07 03:54:47 +04:00
|
|
|
defparam opt_bpf.h BPF_BUFSIZE
|
2000-12-29 03:54:58 +03:00
|
|
|
|
2001-01-05 16:09:15 +03:00
|
|
|
# Attributes used by the ISDN subsystem
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-03-16 19:55:51 +03:00
|
|
|
define isdndev # the ISDN subsystem
|
2001-09-13 09:19:53 +04:00
|
|
|
define passive_isdn # files needed by passive cards (XXX - protocol
|
|
|
|
# specific)
|
2003-09-25 19:58:14 +04:00
|
|
|
define isdncapi # ISDN CAPI (http://www.capi.org/)
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2002-10-26 01:03:47 +04:00
|
|
|
# The isac found on the Fritz V2.0 Card.
|
|
|
|
define nisacsx
|
|
|
|
file dev/ic/isacsx.c nisacsx needs-flag
|
|
|
|
|
|
|
|
# The 'standard' isac
|
|
|
|
define nisac
|
|
|
|
file dev/ic/isac.c nisac needs-flag
|
|
|
|
|
2001-01-05 16:09:15 +03:00
|
|
|
# ISDN cards based on the Siemens ISAC/HSCX chipset (or lookalikes)
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-10-26 01:03:47 +04:00
|
|
|
device isic: isdndev, passive_isdn, nisac
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/isic.c isic
|
2002-10-26 01:03:47 +04:00
|
|
|
file dev/ic/isic_l1.c isic|ifpci|ifritz
|
|
|
|
file dev/ic/isic_l1fsm.c isic|ifpci|ifritz
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ic/hscx.c isic
|
|
|
|
file dev/ic/isic_bchan.c isic
|
2001-01-05 16:09:15 +03:00
|
|
|
|
|
|
|
# (old) Diehl active ISDN cards
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2007-01-09 18:34:59 +03:00
|
|
|
#device daic: isdndev
|
|
|
|
#file dev/ic/daic.c daic
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2003-09-25 19:58:14 +04:00
|
|
|
# AWM B1/T1
|
|
|
|
# XXX: passive_isdn
|
|
|
|
device iavc: isdndev, isdncapi, passive_isdn
|
|
|
|
file dev/ic/iavc.c iavc
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# legitimate pseudo-devices
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2008-06-10 16:49:16 +04:00
|
|
|
defpseudodev vnd: disk
|
2005-07-17 04:08:27 +04:00
|
|
|
defflag opt_vnd.h VND_COMPRESSION
|
2001-11-28 13:21:10 +03:00
|
|
|
defpseudo ccd: disk
|
2002-10-11 05:52:04 +04:00
|
|
|
defpseudo cgd: disk, des, blowfish, cast128, rijndael
|
2008-06-10 16:49:16 +04:00
|
|
|
defpseudodev md: disk
|
2008-09-14 20:10:19 +04:00
|
|
|
defpseudodev fss: disk
|
1999-07-07 04:05:28 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defpseudo pty: tty
|
1999-07-07 04:05:28 +04:00
|
|
|
defpseudo rnd
|
2003-04-25 00:04:03 +04:00
|
|
|
defpseudo ksyms
|
2003-10-17 22:16:42 +04:00
|
|
|
defpseudo nullcons
|
2006-09-07 04:20:28 +04:00
|
|
|
defpseudo lockstat
|
2007-05-01 21:18:52 +04:00
|
|
|
defpseudo bio: sysmon_envsys
|
1999-07-07 04:05:28 +04:00
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defpseudo loop: ifnet
|
|
|
|
defpseudo sl: ifnet
|
|
|
|
defpseudo ppp: ifnet, bpf_filter
|
|
|
|
defpseudo pppoe: ifnet, ether, sppp
|
|
|
|
defpseudo sppp: ifnet
|
|
|
|
defpseudo tun: ifnet
|
|
|
|
defpseudo vlan: ifnet, ether
|
|
|
|
defpseudo bridge: ifnet, ether
|
|
|
|
defpseudo bpfilter: ifnet, bpf_filter
|
|
|
|
defpseudo strip: ifnet
|
|
|
|
defpseudo gre: ifnet
|
|
|
|
defpseudo gif: ifnet
|
|
|
|
defpseudo faith: ifnet
|
2007-01-11 08:36:29 +03:00
|
|
|
defpseudo srt: ifnet
|
2001-11-28 13:21:10 +03:00
|
|
|
defpseudo stf: ifnet
|
2008-06-10 16:49:16 +04:00
|
|
|
defpseudodev tap: ifnet, ether, arp, bpf_filter
|
2006-05-18 13:05:49 +04:00
|
|
|
defpseudo carp: ifnet, ether, arp, bpf_filter
|
2008-06-10 16:49:16 +04:00
|
|
|
defpseudodev etherip: ifnet, ether, arp, bpf_filter
|
1999-07-07 04:05:28 +04:00
|
|
|
|
|
|
|
defpseudo sequencer
|
2001-09-16 11:33:31 +04:00
|
|
|
defpseudo clockctl
|
2002-03-24 20:09:26 +03:00
|
|
|
defpseudo irix_kmem
|
2002-04-23 10:48:46 +04:00
|
|
|
defpseudo irix_usema
|
1998-08-07 04:00:55 +04:00
|
|
|
|
2008-08-04 07:55:47 +04:00
|
|
|
#
|
|
|
|
# Accept filters. XXX should use another registration/initialization method.
|
|
|
|
#
|
|
|
|
defpseudo accf_data
|
|
|
|
defpseudo accf_http
|
|
|
|
|
2001-01-05 16:09:15 +03:00
|
|
|
# ISDN userland pseudo devices
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2002-03-16 19:55:51 +03:00
|
|
|
defpseudo isdntrc: isdndev, tty
|
|
|
|
defpseudo isdnbchan: isdndev, tty
|
|
|
|
defpseudo isdntel: isdndev, tty
|
|
|
|
defpseudo isdnctl: isdndev, tty
|
|
|
|
defpseudo isdn: isdndev, tty
|
|
|
|
|
|
|
|
# ISDN network interfaces
|
|
|
|
defpseudo irip: isdndev, ifnet
|
2003-04-11 18:45:27 +04:00
|
|
|
defflag opt_irip.h IRIP_VJ
|
2002-03-16 19:55:51 +03:00
|
|
|
defpseudo ippp: isdndev, sppp, ifnet
|
2001-01-05 16:09:15 +03:00
|
|
|
|
2002-06-29 03:27:13 +04:00
|
|
|
# KTTCP network throughput testing pseudo-device
|
|
|
|
defpseudo kttcp
|
|
|
|
file dev/kttcp.c kttcp needs-flag
|
|
|
|
|
2006-07-22 14:34:26 +04:00
|
|
|
# Veriexec
|
2005-04-20 17:44:45 +04:00
|
|
|
defpseudo veriexec
|
2006-07-22 14:34:26 +04:00
|
|
|
file kern/kern_verifiedexec.c veriexec
|
2006-07-25 22:04:03 +04:00
|
|
|
file dev/verified_exec.c veriexec needs-flag
|
2002-10-29 15:31:20 +03:00
|
|
|
|
2002-12-04 03:28:39 +03:00
|
|
|
# isochronous pseudo device for IEEE 1394, i.LINK or FireWire
|
|
|
|
defpseudo fwiso: ieee1394
|
|
|
|
|
2004-08-18 16:19:29 +04:00
|
|
|
# driver attach / detach user interface
|
|
|
|
defpseudo drvctl
|
2008-05-25 16:30:40 +04:00
|
|
|
file kern/kern_drvctl.c drvctl needs-flag
|
2004-08-18 16:19:29 +04:00
|
|
|
|
2007-08-04 15:02:56 +04:00
|
|
|
# cpu control
|
|
|
|
defpseudo cpuctl
|
|
|
|
|
2007-11-11 00:45:04 +03:00
|
|
|
# pass-to-userspace transporter
|
|
|
|
defpseudo putter
|
2007-11-12 17:30:55 +03:00
|
|
|
file dev/putter/putter.c putter
|
2007-11-11 00:45:04 +03:00
|
|
|
|
2007-11-20 21:54:31 +03:00
|
|
|
# userspace block/char device drivers
|
|
|
|
defpseudo pud
|
|
|
|
file dev/pud/pud.c pud
|
|
|
|
file dev/pud/pud_dev.c pud
|
|
|
|
|
2002-04-17 03:14:05 +04:00
|
|
|
#
|
|
|
|
# File systems
|
|
|
|
#
|
|
|
|
include "coda/files.coda"
|
2004-11-11 22:21:46 +03:00
|
|
|
include "fs/adosfs/files.adosfs"
|
|
|
|
include "fs/cd9660/files.cd9660"
|
2007-06-30 03:30:16 +04:00
|
|
|
include "fs/efs/files.efs"
|
2002-12-23 20:30:36 +03:00
|
|
|
include "fs/filecorefs/files.filecorefs"
|
2007-03-06 14:28:44 +03:00
|
|
|
include "fs/hfs/files.hfs"
|
2004-11-11 22:21:46 +03:00
|
|
|
include "fs/msdosfs/files.msdosfs"
|
|
|
|
include "fs/ntfs/files.ntfs"
|
|
|
|
include "fs/ptyfs/files.ptyfs"
|
2006-10-23 02:44:44 +04:00
|
|
|
include "fs/puffs/files.puffs"
|
2006-02-02 18:26:32 +03:00
|
|
|
include "fs/udf/files.udf"
|
2002-04-17 03:14:05 +04:00
|
|
|
include "fs/smbfs/files.smbfs"
|
2005-12-29 17:53:45 +03:00
|
|
|
include "fs/sysvbfs/files.sysvbfs"
|
2005-09-10 23:20:48 +04:00
|
|
|
include "fs/tmpfs/files.tmpfs"
|
2004-11-11 22:21:46 +03:00
|
|
|
include "fs/union/files.union"
|
2002-04-17 03:14:05 +04:00
|
|
|
include "miscfs/fdesc/files.fdesc"
|
|
|
|
include "miscfs/kernfs/files.kernfs"
|
|
|
|
include "miscfs/nullfs/files.nullfs"
|
|
|
|
include "miscfs/overlay/files.overlay"
|
|
|
|
include "miscfs/portal/files.portal"
|
|
|
|
include "miscfs/procfs/files.procfs"
|
|
|
|
include "miscfs/umapfs/files.umapfs"
|
|
|
|
include "nfs/files.nfs"
|
|
|
|
include "ufs/files.ufs"
|
|
|
|
|
2005-11-28 01:18:41 +03:00
|
|
|
#
|
|
|
|
# UVM (virtual memory)
|
|
|
|
#
|
|
|
|
include "uvm/files.uvm"
|
|
|
|
|
First take at security model abstraction.
- Add a few scopes to the kernel: system, network, and machdep.
- Add a few more actions/sub-actions (requests), and start using them as
opposed to the KAUTH_GENERIC_ISSUSER place-holders.
- Introduce a basic set of listeners that implement our "traditional"
security model, called "bsd44". This is the default (and only) model we
have at the moment.
- Update all relevant documentation.
- Add some code and docs to help folks who want to actually use this stuff:
* There's a sample overlay model, sitting on-top of "bsd44", for
fast experimenting with tweaking just a subset of an existing model.
This is pretty cool because it's *really* straightforward to do stuff
you had to use ugly hacks for until now...
* And of course, documentation describing how to do the above for quick
reference, including code samples.
All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:
http://kauth.linbsd.org/kauthwiki
NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:
- Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
- Checks 'securelevel' directly,
- Checks a uid/gid directly.
(or if you feel you have to, contact me first)
This is still work in progress; It's far from being done, but now it'll
be a lot easier.
Relevant mailing list threads:
http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html
Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).
Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.
Happy birthday Randi! :)
2006-09-09 00:58:56 +04:00
|
|
|
#
|
|
|
|
# Security models
|
|
|
|
#
|
|
|
|
include "secmodel/files.secmodel"
|
|
|
|
|
2002-04-17 03:14:05 +04:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# kernel sources
|
2001-11-28 04:13:21 +03:00
|
|
|
#
|
2008-10-15 10:51:17 +04:00
|
|
|
file compat/sa/compat_sa.c
|
2008-01-17 23:14:49 +03:00
|
|
|
file conf/debugsyms.c
|
merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework
Summary of changes:
* struct audio_params
- remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels. Conversion information
is conveyed by stream_filter_list_t.
- change the type of sample_rate: u_long -> u_int
- add `validbits,' which represents the valid data size in
precision bits. It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.
* audio_hw_if
- add two parameters to set_params()
stream_filter_list_t *pfil, stream_filter_list *rfil
A HW driver should set filter recipes for requested formats
- constify audio_params parameters of trigger_output() and
trigger_input(). They represent audio formats for the hardware.
- make open() and close() optional
- add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
to round_blocksize()
* sw_code is replaced with stream_filter_t.
stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t
* MI audio
- audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
- audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
- audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
- ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.
* add `struct device *' parameter to ac97_attach()
* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-11 01:01:36 +03:00
|
|
|
file dev/auconv.c auconv | mulaw
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/audio.c audio | midi | midibus needs-flag
|
2004-01-17 23:55:59 +03:00
|
|
|
file dev/audiobell.c audiobell
|
2004-11-13 10:58:14 +03:00
|
|
|
file dev/aurateconv.c aurateconv needs-flag
|
2007-05-01 21:18:52 +04:00
|
|
|
file dev/bio.c bio needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/ccd.c ccd needs-flag
|
2002-10-04 22:25:51 +04:00
|
|
|
file dev/cgd.c cgd needs-flag
|
|
|
|
file dev/cgd_crypto.c cgd
|
2003-07-27 05:17:37 +04:00
|
|
|
file dev/clock_subr.c
|
2002-01-15 15:10:50 +03:00
|
|
|
file dev/clockctl.c clockctl needs-flag
|
2006-08-27 08:58:06 +04:00
|
|
|
file dev/dksubr.c cgd | xbd | ccd | raid
|
2004-10-04 05:07:25 +04:00
|
|
|
file dev/dkwedge/dk.c
|
2004-10-04 05:16:39 +04:00
|
|
|
file dev/dkwedge/dkwedge_bsdlabel.c dkwedge_method_bsdlabel
|
2004-10-04 05:07:25 +04:00
|
|
|
file dev/dkwedge/dkwedge_gpt.c dkwedge_method_gpt
|
2004-10-23 21:25:14 +04:00
|
|
|
file dev/dkwedge/dkwedge_mbr.c dkwedge_method_mbr
|
2006-01-17 09:52:43 +03:00
|
|
|
file dev/firmload.c firmload
|
2003-12-10 14:40:11 +03:00
|
|
|
file dev/fss.c fss needs-count
|
2006-09-07 04:20:28 +04:00
|
|
|
file dev/lockstat.c lockstat needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/md.c md needs-count
|
|
|
|
file dev/midi.c midi | midibus needs-flag
|
2006-06-30 17:56:25 +04:00
|
|
|
file dev/midictl.c midisyn
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/midisyn.c midisyn
|
2002-02-27 04:16:30 +03:00
|
|
|
file dev/mm.c
|
2004-11-13 10:58:14 +03:00
|
|
|
file dev/mulaw.c mulaw needs-flag
|
2003-10-17 22:16:42 +04:00
|
|
|
file dev/nullcons_subr.c nullcons needs-flag
|
2002-01-02 00:51:38 +03:00
|
|
|
file dev/radio.c radio needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/rnd.c rnd needs-flag
|
|
|
|
file dev/rndpool.c rnd needs-flag
|
|
|
|
file dev/sequencer.c sequencer needs-flag
|
2008-09-06 23:18:16 +04:00
|
|
|
file dev/video.c video needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file dev/vnd.c vnd needs-flag
|
2005-09-26 18:14:26 +04:00
|
|
|
file kern/bufq_disksort.c bufq_disksort
|
|
|
|
file kern/bufq_fcfs.c bufq_fcfs
|
2004-11-25 07:52:23 +03:00
|
|
|
file kern/bufq_priocscan.c bufq_priocscan
|
|
|
|
file kern/bufq_readprio.c bufq_readprio | new_bufq_strategy
|
2006-08-30 03:34:48 +04:00
|
|
|
file kern/core_elf32.c coredump & exec_elf32
|
|
|
|
file kern/core_elf64.c coredump & exec_elf64
|
|
|
|
file kern/core_netbsd.c coredump & (exec_aout | exec_coff |
|
|
|
|
exec_ecoff | exec_macho | lkm)
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/cnmagic.c
|
|
|
|
file kern/exec_aout.c exec_aout
|
|
|
|
file kern/exec_conf.c
|
|
|
|
file kern/exec_ecoff.c exec_ecoff
|
|
|
|
file kern/exec_elf32.c exec_elf32
|
|
|
|
file kern/exec_elf64.c exec_elf64
|
2001-07-14 06:05:54 +04:00
|
|
|
file kern/exec_macho.c exec_macho
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/exec_script.c exec_script
|
|
|
|
file kern/exec_subr.c
|
|
|
|
file kern/init_main.c
|
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 22:38:21 +03:00
|
|
|
file kern/init_sysctl.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/init_sysent.c
|
|
|
|
file kern/kern_acct.c
|
2006-05-15 01:19:33 +04:00
|
|
|
file kern/kern_auth.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_clock.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/kern_condvar.c
|
|
|
|
file kern/kern_core.c
|
2007-05-17 18:51:11 +04:00
|
|
|
file kern/kern_cpu.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_descrip.c
|
2002-10-23 13:10:23 +04:00
|
|
|
file kern/kern_event.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_exec.c
|
|
|
|
file kern/kern_exit.c
|
|
|
|
file kern/kern_fork.c
|
2007-05-17 18:51:11 +04:00
|
|
|
file kern/kern_idle.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_kthread.c
|
2007-08-15 16:07:23 +04:00
|
|
|
file kern/kern_ktrace.c ktrace
|
2003-04-25 00:04:03 +04:00
|
|
|
file kern/kern_ksyms.c ksyms | ddb | lkm needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_lkm.c lkm
|
|
|
|
file kern/kern_lock.c
|
2003-01-18 11:51:40 +03:00
|
|
|
file kern/kern_lwp.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_malloc.c
|
2008-09-25 20:23:45 +04:00
|
|
|
file kern/kern_malloc_stdtype.c
|
2001-08-17 04:48:29 +04:00
|
|
|
file kern/kern_malloc_debug.c malloc_debug
|
2008-01-16 15:34:50 +03:00
|
|
|
file kern/kern_module.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/kern_mutex.c
|
2006-07-22 14:34:26 +04:00
|
|
|
file kern/kern_fileassoc.c fileassoc
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_ntptime.c
|
2006-11-22 05:02:51 +03:00
|
|
|
file kern/kern_pax.c pax_mprotect | pax_segvguard
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_physio.c
|
2007-12-09 23:27:42 +03:00
|
|
|
file kern/kern_pmf.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_proc.c
|
|
|
|
file kern/kern_prot.c
|
2002-08-28 11:19:58 +04:00
|
|
|
file kern/kern_ras.c
|
2008-09-25 21:17:10 +04:00
|
|
|
file kern/kern_rate.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_resource.c
|
2008-04-29 18:35:20 +04:00
|
|
|
file kern/kern_runq.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/kern_rwlock.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_sig.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/kern_sleepq.c
|
2007-10-08 19:51:02 +04:00
|
|
|
file kern/kern_softint.c
|
2007-02-10 14:55:23 +03:00
|
|
|
file kern/kern_stub.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_subr.c
|
|
|
|
file kern/kern_synch.c
|
|
|
|
file kern/kern_sysctl.c
|
2006-06-08 02:33:33 +04:00
|
|
|
file kern/kern_tc.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_time.c
|
2003-02-04 04:21:03 +03:00
|
|
|
file kern/kern_timeout.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/kern_turnstile.c
|
2006-09-03 00:18:00 +04:00
|
|
|
file kern/kern_todr.c
|
2008-10-11 17:40:57 +04:00
|
|
|
file kern/kern_uidinfo.c
|
2004-01-29 05:00:02 +03:00
|
|
|
file kern/kern_uuid.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/kern_xxx.c
|
|
|
|
file kern/kgdb_stub.c kgdb
|
2007-05-17 18:51:11 +04:00
|
|
|
file kern/sched_4bsd.c sched_4bsd
|
2007-10-09 23:00:13 +04:00
|
|
|
file kern/sched_m2.c sched_m2
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_autoconf.c
|
2005-09-17 18:38:38 +04:00
|
|
|
file kern/subr_blist.c vmswap
|
2005-10-15 21:29:10 +04:00
|
|
|
file kern/subr_bufq.c
|
2006-05-25 18:27:28 +04:00
|
|
|
file kern/subr_callback.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/subr_debug.c debug
|
2002-09-06 17:18:43 +04:00
|
|
|
file kern/subr_devsw.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_disk.c
|
2006-04-14 17:09:05 +04:00
|
|
|
file kern/subr_iostat.c
|
2004-02-17 08:03:15 +03:00
|
|
|
file kern/subr_evcnt.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_extent.c
|
2007-07-28 16:53:52 +04:00
|
|
|
file kern/subr_hash.c
|
2006-06-25 12:00:01 +04:00
|
|
|
file kern/subr_kmem.c
|
2008-01-06 21:03:58 +03:00
|
|
|
file kern/subr_kobj.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/subr_lockdebug.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_log.c
|
2008-01-14 15:40:02 +03:00
|
|
|
file kern/subr_percpu.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_pool.c
|
|
|
|
file kern/subr_prf.c
|
2007-08-16 00:34:48 +04:00
|
|
|
file kern/subr_prf2.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/subr_prof.c
|
2005-10-29 15:23:19 +04:00
|
|
|
file kern/subr_once.c
|
2006-02-03 14:04:46 +03:00
|
|
|
file kern/subr_optstr.c
|
2006-10-08 08:21:53 +04:00
|
|
|
file kern/subr_specificdata.c
|
2007-05-08 10:10:27 +04:00
|
|
|
file kern/subr_tftproot.c tftproot
|
2007-08-09 11:36:18 +04:00
|
|
|
file kern/subr_time.c
|
2001-07-01 06:56:20 +04:00
|
|
|
file kern/subr_userconf.c userconf
|
2006-06-25 12:00:01 +04:00
|
|
|
file kern/subr_vmem.c
|
2005-10-29 15:23:19 +04:00
|
|
|
file kern/subr_workqueue.c
|
2007-10-08 19:12:05 +04:00
|
|
|
file kern/subr_xcall.c
|
2007-05-08 02:22:20 +04:00
|
|
|
file kern/sys_aio.c
|
2008-03-22 00:54:58 +03:00
|
|
|
file kern/sys_descrip.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/sys_generic.c
|
2008-01-16 15:34:50 +03:00
|
|
|
file kern/sys_module.c
|
2007-09-07 22:56:02 +04:00
|
|
|
file kern/sys_mqueue.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/sys_lwp.c
|
2002-02-11 21:11:41 +03:00
|
|
|
file kern/sys_pipe.c !pipe_socketpair
|
2002-08-07 09:14:47 +04:00
|
|
|
file kern/sys_pmc.c
|
2006-08-30 15:08:15 +04:00
|
|
|
file kern/sys_process.c ptrace | ktrace
|
2008-01-15 06:37:10 +03:00
|
|
|
file kern/sys_pset.c
|
2008-03-23 17:02:49 +03:00
|
|
|
file kern/sys_select.c
|
2007-02-10 00:55:00 +03:00
|
|
|
file kern/sys_sig.c
|
2007-01-16 08:28:45 +03:00
|
|
|
file kern/sys_sched.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/sys_socket.c
|
|
|
|
file kern/syscalls.c syscall_debug
|
|
|
|
file kern/sysv_ipc.c sysvshm | sysvsem | sysvmsg
|
|
|
|
file kern/sysv_msg.c sysvmsg
|
|
|
|
file kern/sysv_sem.c sysvsem
|
|
|
|
file kern/sysv_shm.c sysvshm
|
|
|
|
file kern/tty.c
|
|
|
|
file kern/tty_conf.c
|
2004-11-10 20:26:16 +03:00
|
|
|
file kern/tty_bsdpty.c compat_bsdpty
|
2004-06-18 19:02:29 +04:00
|
|
|
file kern/tty_pty.c pty needs-flag
|
2004-11-10 20:26:16 +03:00
|
|
|
file kern/tty_ptm.c pty
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/tty_subr.c
|
|
|
|
file kern/tty_tty.c
|
2008-10-12 17:39:42 +04:00
|
|
|
file kern/uipc_accf.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/uipc_domain.c
|
|
|
|
file kern/uipc_mbuf.c
|
|
|
|
file kern/uipc_mbuf2.c
|
2007-09-29 02:52:13 +04:00
|
|
|
file net/link_proto.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/uipc_proto.c
|
2003-01-20 23:02:01 +03:00
|
|
|
file kern/uipc_sem.c p1003_1b_semaphore
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/uipc_socket.c
|
|
|
|
file kern/uipc_socket2.c
|
|
|
|
file kern/uipc_syscalls.c
|
|
|
|
file kern/uipc_usrreq.c
|
|
|
|
file kern/vfs_bio.c
|
|
|
|
file kern/vfs_cache.c
|
2008-09-27 17:01:07 +04:00
|
|
|
file kern/vfs_dirhash.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/vfs_getcwd.c
|
Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 16:10:31 +04:00
|
|
|
file kern/vfs_hooks.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/vfs_init.c
|
|
|
|
file kern/vfs_lockf.c
|
|
|
|
file kern/vfs_lookup.c
|
|
|
|
file kern/vfs_subr.c
|
|
|
|
file kern/vfs_syscalls.c
|
2007-01-19 17:49:08 +03:00
|
|
|
file kern/vfs_trans.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/vfs_vnops.c
|
2008-07-31 09:38:04 +04:00
|
|
|
file kern/vfs_wapbl.c wapbl
|
2005-07-09 05:05:23 +04:00
|
|
|
file kern/vfs_xattr.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file kern/vnode_if.c
|
|
|
|
file miscfs/deadfs/dead_vnops.c
|
|
|
|
file miscfs/fifofs/fifo_vnops.c
|
2007-10-17 20:45:00 +04:00
|
|
|
file miscfs/genfs/genfs_io.c
|
2008-01-28 17:31:15 +03:00
|
|
|
file miscfs/genfs/genfs_vfsops.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file miscfs/genfs/genfs_vnops.c
|
|
|
|
file miscfs/genfs/layer_subr.c nullfs | overlay | umapfs | lkm
|
|
|
|
file miscfs/genfs/layer_vfsops.c nullfs | overlay | umapfs | lkm
|
|
|
|
file miscfs/genfs/layer_vnops.c nullfs | overlay | umapfs | lkm
|
|
|
|
file miscfs/specfs/spec_vnops.c
|
|
|
|
file miscfs/syncfs/sync_subr.c
|
|
|
|
file miscfs/syncfs/sync_vnops.c
|
2004-11-30 07:28:43 +03:00
|
|
|
file net/bpf.c bpfilter needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/bpf_filter.c bpf_filter
|
|
|
|
file net/bsd-comp.c ppp & ppp_bsdcomp
|
|
|
|
file net/if.c
|
2007-11-14 02:22:06 +03:00
|
|
|
file net/if_arcsubr.c arcnet needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_atmsubr.c atm
|
2001-04-11 07:43:23 +04:00
|
|
|
file net/if_bridge.c bridge needs-flag
|
|
|
|
file net/bridgestp.c bridge
|
2001-09-11 03:11:05 +04:00
|
|
|
file net/if_ecosubr.c eco
|
2006-11-23 07:07:07 +03:00
|
|
|
file net/if_etherip.c etherip needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_ethersubr.c ether | fddi | netatalk | token |
|
2002-04-07 10:54:35 +04:00
|
|
|
wlan
|
2001-05-30 21:50:46 +04:00
|
|
|
file net/if_faith.c faith & inet & inet6 needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_fddisubr.c fddi needs-flag
|
|
|
|
file net/if_gif.c gif needs-flag
|
2001-11-02 21:39:06 +03:00
|
|
|
file net/if_gre.c gre needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_hippisubr.c hippi needs-flag
|
|
|
|
file net/if_ieee1394subr.c ieee1394
|
2004-12-04 19:10:25 +03:00
|
|
|
file net/if_loop.c loop needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_media.c
|
2004-12-05 08:43:04 +03:00
|
|
|
file net/if_ppp.c ppp needs-flag
|
2007-01-11 08:36:29 +03:00
|
|
|
file net/if_srt.c srt
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_stf.c stf & inet & inet6 needs-flag
|
2004-12-05 08:43:04 +03:00
|
|
|
file net/if_sl.c sl needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_spppsubr.c sppp
|
2004-12-05 08:43:04 +03:00
|
|
|
file net/if_strip.c strip needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_tokensubr.c token needs-flag
|
2005-01-19 13:17:00 +03:00
|
|
|
file net/if_tap.c tap needs-flag
|
2001-11-02 21:39:06 +03:00
|
|
|
file net/if_tun.c tun needs-flag
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/if_vlan.c vlan needs-flag
|
2002-03-16 19:55:51 +03:00
|
|
|
file net/if_pppoe.c pppoe needs-flag
|
2006-01-07 17:19:51 +03:00
|
|
|
file net/pfil.c pfil_hooks | ipfilter | pf
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/ppp-deflate.c ppp & ppp_deflate
|
|
|
|
file net/ppp_tty.c ppp
|
2008-04-23 09:21:17 +04:00
|
|
|
file net/net_stats.c
|
2001-02-24 04:34:28 +03:00
|
|
|
file net/radix.c
|
|
|
|
file net/raw_cb.c
|
|
|
|
file net/raw_usrreq.c
|
|
|
|
file net/route.c
|
|
|
|
file net/rtsock.c
|
2003-04-11 18:45:27 +04:00
|
|
|
file net/slcompress.c sl | ppp | strip | (irip & irip_vj)
|
2008-05-05 17:41:29 +04:00
|
|
|
file net/zlib.c (ppp & ppp_deflate) | ipsec | opencrypto | vnd_compression
|
2008-10-11 20:39:07 +04:00
|
|
|
file netinet/accf_data.c accf_data
|
|
|
|
file netinet/accf_http.c accf_http
|
2008-01-26 00:12:10 +03:00
|
|
|
file netinet/cpu_in_cksum.c (inet | inet6) & !cpu_in_cksum
|
2001-02-24 04:34:28 +03:00
|
|
|
file netinet/if_arp.c arp | netatalk needs-flag
|
|
|
|
file netinet/if_atm.c atm
|
2008-01-26 00:12:10 +03:00
|
|
|
file netinet/in4_cksum.c inet
|
|
|
|
file netinet/in_cksum.c inet
|
2001-02-24 04:34:28 +03:00
|
|
|
file netinet/in_gif.c gif & inet
|
2006-05-18 13:05:49 +04:00
|
|
|
file netinet/ip_carp.c carp & (inet | inet6) needs-flag
|
2003-12-12 23:54:30 +03:00
|
|
|
file netinet/ip_ecn.c ipsec | fast_ipsec | gif | stf
|
2001-02-24 04:34:28 +03:00
|
|
|
file netinet/ip_encap.c inet | inet6
|
2006-11-23 07:07:07 +03:00
|
|
|
file netinet/ip_etherip.c etherip & inet
|
|
|
|
file netinet6/ip6_etherip.c etherip & inet6
|
2001-02-24 04:34:28 +03:00
|
|
|
file netinet6/in6_gif.c gif & inet6
|
2002-04-17 03:14:05 +04:00
|
|
|
|
2002-03-16 19:55:51 +03:00
|
|
|
file netisdn/i4b_ctl.c isdnctl needs-flag
|
|
|
|
file netisdn/i4b_isppp.c ippp needs-count
|
|
|
|
file netisdn/i4b_ipr.c irip needs-count
|
|
|
|
file netisdn/i4b_rbch.c isdnbchan needs-count
|
|
|
|
file netisdn/i4b_tel.c isdntel needs-count
|
|
|
|
file netisdn/i4b_trace.c isdntrc needs-count
|
2001-02-24 04:34:28 +03:00
|
|
|
|
2001-03-24 15:40:29 +03:00
|
|
|
file netisdn/i4b_mbuf.c passive_isdn
|
2001-02-24 04:34:28 +03:00
|
|
|
file netisdn/i4b_l2.c passive_isdn
|
|
|
|
file netisdn/i4b_l2fsm.c passive_isdn
|
|
|
|
file netisdn/i4b_uframe.c passive_isdn
|
|
|
|
file netisdn/i4b_tei.c passive_isdn
|
|
|
|
file netisdn/i4b_sframe.c passive_isdn
|
|
|
|
file netisdn/i4b_iframe.c passive_isdn
|
|
|
|
file netisdn/i4b_l2timer.c passive_isdn
|
|
|
|
file netisdn/i4b_util.c passive_isdn
|
|
|
|
file netisdn/i4b_lme.c passive_isdn
|
2001-01-05 16:09:15 +03:00
|
|
|
# Q.931 handler
|
2001-02-24 04:34:28 +03:00
|
|
|
file netisdn/i4b_q931.c passive_isdn
|
|
|
|
file netisdn/i4b_q932fac.c passive_isdn
|
|
|
|
file netisdn/i4b_l3fsm.c passive_isdn
|
|
|
|
file netisdn/i4b_l3timer.c passive_isdn
|
|
|
|
file netisdn/i4b_l2if.c passive_isdn
|
|
|
|
file netisdn/i4b_l4if.c passive_isdn
|
2002-03-16 19:55:51 +03:00
|
|
|
# isdn device driver, interface to isdnd
|
|
|
|
file netisdn/i4b_i4bdrv.c isdn needs-flag
|
|
|
|
file netisdn/i4b_l4.c isdndev needs-flag
|
|
|
|
file netisdn/i4b_l4mgmt.c isdndev needs-flag
|
|
|
|
file netisdn/i4b_l4timer.c isdndev needs-flag
|
2003-09-25 19:58:14 +04:00
|
|
|
# capi
|
|
|
|
file netisdn/i4b_capi_l4if.c isdncapi
|
|
|
|
file netisdn/i4b_capi_llif.c isdncapi
|
|
|
|
file netisdn/i4b_capi_msgs.c isdncapi
|
2002-02-02 21:37:38 +03:00
|
|
|
|
|
|
|
# Game adapter (joystick)
|
|
|
|
device joy
|
|
|
|
file dev/ic/joy.c joy needs-flag
|
2002-12-04 03:28:39 +03:00
|
|
|
|
2005-03-18 14:11:50 +03:00
|
|
|
include "net/agr/files.agr"
|
2005-09-27 06:41:10 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# General Purpose Input/Output framework
|
|
|
|
#
|
2006-04-07 22:55:21 +04:00
|
|
|
define onewire_bitbang
|
2005-09-27 06:41:10 +04:00
|
|
|
include "dev/gpio/files.gpio"
|
2006-04-07 22:55:21 +04:00
|
|
|
|
|
|
|
include "dev/onewire/files.onewire"
|
2007-11-11 20:37:45 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Pseudo audio device
|
|
|
|
#
|
|
|
|
include "dev/pad/files.pad"
|
2007-12-13 20:25:19 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Intel 386 Real Mode emulator
|
|
|
|
#
|
|
|
|
include "lib/libx86emu/files.x86emu"
|
2008-01-02 00:28:37 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# "tprof" profiler.
|
|
|
|
#
|
|
|
|
include "dev/tprof/files.tprof"
|