Commit Graph

119209 Commits

Author SHA1 Message Date
jdolecek 401cc27682 read the MD MAKEDEV.conf file and appropriately massage the template
contents; outputs fully functional MAKEDEV script now
2003-10-15 19:43:00 +00:00
jdolecek db5fa0cba5 add MI 'all' target - this calls MD 'all_md' and then creates miscellaneous
devices supported on all plaforms

and MI 'init' target, which just calls 'all'; this is used if platform
doesn't define it's own 'init' target
2003-10-15 19:16:01 +00:00
jdolecek 7126da0813 MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
2003-10-15 19:13:32 +00:00
jdolecek 6b5eef9a33 add major for nsmb, at #98 to be in sync with i386 2003-10-15 18:27:20 +00:00
jdolecek 79ebb210fa add majors for ipfilter, lkm, vnd, tun, raid, cgd, ccd, and md
where missing
2003-10-15 18:20:19 +00:00
christos 378865a426 don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does not
produce \^c
2003-10-15 18:08:40 +00:00
christos e2ba1d7082 Allow overrides via fsck_flags 2003-10-15 17:38:04 +00:00
thorpej eea31306c8 Remove the superuser check for MNT_FORCE on new mounts. It's been
pointed out by several people that it offers no real protection.
2003-10-15 17:26:38 +00:00
jmc 260a5d8bc9 Adding missing header from 1.6.1->current update 2003-10-15 17:10:20 +00:00
jmc 43448abc75 Add a few missing ones I discovered on a 1.6.1->current update 2003-10-15 17:08:37 +00:00
scw def6ab457b Remove the #ifdef __XSCALE__ around the strd test as the instruction
is available on any v5E processor.

Pointed out by Richard Earnshaw.
2003-10-15 14:07:03 +00:00
fvdl 4b84b8d930 Don't put the netbsd32_compat*.c files in the 'compat library'. Unconditionally
compiling these causes a ripple effect making it hard to conditionalize
anything on COMPAT_* in the kernel.
2003-10-15 13:32:14 +00:00
dsl 02b24a287f The 'struct partition *pp' is only used to save the block and fragment
sizes (so they can be written back into the disklabel).
Allow pp to be NULL
2003-10-15 13:07:34 +00:00
pk 7dceb5fbf9 obp_v2_getbootfile: we might as well be complete by also considering the
PROM environment variables `diag-switch?' and `diag-file'.
2003-10-15 11:51:48 +00:00
dyoung db0e43b296 Add WEP shared-key authentication. 2003-10-15 11:43:51 +00:00
dyoung e86c830f2a Fix WEP reception. 2003-10-15 11:40:07 +00:00
hannken a3a898ff0f Add the gating of system calls that cause modifications to the underlying
file system.
The function vfs_write_suspend stops all new write operations to a file
system, allows any file system modifying system calls already in progress
to complete, then sync's the file system to disk and returns. The
function vfs_write_resume allows the suspended write operations to
complete.

From FreeBSD with slight modifications.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-10-15 11:28:59 +00:00
rjs 9f105a9400 Regen. 2003-10-15 11:11:55 +00:00
rjs 41929af1e0 Add more IDs. 2003-10-15 11:10:45 +00:00
drochner ecbadcc56c fix typo (harmless as long as pmap_update() is a noop) 2003-10-15 09:44:55 +00:00
wennmach 7587eabcbc add PCMCIA 2003-10-15 08:52:51 +00:00
dsl b03412ca14 Set vnode size of character disk devices to that of the partition when they
are opened (was always done for block devices).
This means that fstat will report the partition size and hence newfs
needn't grovel into the disklabel to find the filesystem size.
2003-10-15 08:41:26 +00:00
wiz 0d93a88b28 Sort SEE ALSO. 2003-10-15 08:38:10 +00:00
tron d8c9e38848 Fix build error caused by last change. 2003-10-15 08:28:29 +00:00
itojun 5752b1f9ee add __attribute__((__format__)) to if_printf 2003-10-15 08:13:28 +00:00
pk a2fbe60ed4 sun4m_access_fault: Treat text/data error traps as if they were text/data
exception traps, except that they're logged on the console.
2003-10-15 07:49:41 +00:00
simonb 662c7128cd Re-order a little so that there's no unreachable code in this block. 2003-10-15 07:18:17 +00:00
simonb 07c9a24e6a One defintion of OP_SYNC should be enough. 2003-10-15 06:46:46 +00:00
simonb 9606d846fa Don't check an uninitialsed error variable before printing an error
message.
2003-10-15 06:43:36 +00:00
simonb 20178cc3db Fix obvious typos in a call to pci_mapreg_map(). 2003-10-15 06:32:35 +00:00
petrov 7b20d2185b Set CPU_UPAID when enabling timer interrupts. 2003-10-15 05:16:36 +00:00
gson d1298fd2a7 If a bootxx program already happened to be a multiple of 512 bytes in
length before padding, the shell command to conditionally pad it to
a multiple of 512 bytes returned a nonzero exit status, causing the
build to fail.
2003-10-15 03:49:57 +00:00
enami 8823a8da9a Port multicast handling to NetBSD. Addresses PR23151. 2003-10-15 03:04:03 +00:00
briggs f2f02bc9da Make sure descriptors get bus_dmamap_sync()ed.
Restructure a little to make this a little easier.
Also try to avoid allocating things at reset time.
2003-10-15 02:18:52 +00:00
simonb ef41f16231 Correct a test for setting IFF_OACTIVE on the interface. 2003-10-15 02:10:00 +00:00
grog b95a3b2e71 Change definitions to compile correctly without VINUMDEBUG flag.
Reported by:  hubertf

Remove $FreeBSD$ ID string.
2003-10-15 01:31:39 +00:00
lukem 1fa9c076ee Use a shell variable instead of a cpp #define to provide the full
version string; it's more consistent.
2003-10-15 01:28:49 +00:00
itojun a8d71f892f define struct prf_ra outside of in6_prflags, to be c++ friendly. sync w/kame 2003-10-15 01:28:28 +00:00
dbj 28fc00d72a initialize llsize and llsizemult to 0
fixes bug noticed by Christopher SEKIYA on tech-kern@
2003-10-15 00:25:28 +00:00
dyoung f2a9708c75 Do not index arrays using enum constants, since enums can be
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.
2003-10-14 23:13:44 +00:00
dyoung 0fc2b8e13f Add missing pktattr declaration. Should compile w/ ALTQ, now. 2003-10-14 23:02:52 +00:00
fvdl 9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl 22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00
fvdl 14cdf7ae6d Proper checks for kmem reads beyond _end 2003-10-14 22:33:29 +00:00
nathanw 768b79db69 Catch up to ata/ide changes; look for a parent device of wd named "atabus"
instead of "pciide", and check one layer farther up in the device hierarchy
for the scsipidev device.

From Manuel Bouyer, tested by me on a up1500 (identical changes to other
ide-booting code).
2003-10-14 22:01:02 +00:00
fvdl 8639708413 Pass the right argument pointer to trace_enter/trace_exit. 2003-10-14 18:54:34 +00:00
ichiro f4f7b1ae5c add support ath on cardbus
- implement power management
2003-10-14 17:47:03 +00:00
ichiro 6fc4a5549a regen 2003-10-14 17:44:09 +00:00
ichiro 5e3d3508b6 add ATHEROS AR5001 WirelessLAN 802.11a/b/g CardBus 2003-10-14 17:43:55 +00:00
christos bd5d984311 Check for file existance, not readability. Remove extra touch. 2003-10-14 16:59:54 +00:00