enami
f0a4660bee
Pull down changes from branch which is commited to by mistake...
...
> revision 1.1.2.6
> date: 1997/10/18 10:50:21; author: enami; state: Exp; lines: +2 -2
> In the macro ne2000_match(), use its argument `fct' instead of
> using pa->pf->number directly.
1997-10-18 10:56:28 +00:00
is
61f82620c4
Part of this is voodoo from the sparc/machdep.c, part guesswork.
1997-10-18 10:50:50 +00:00
mikel
4c46c2bcc3
cosmetic cleanup (newlines, comments)
1997-10-18 04:51:03 +00:00
mark
dd5b814bb5
Don't try and support serial consoles for the riscpc.
1997-10-18 04:47:57 +00:00
mark
441bad5ec5
Updated for a couple of changes to the arm32 dp8390 driver brought
...
upto date with respect to the MI one.
1997-10-18 04:39:12 +00:00
mark
35286a1259
arm32 specific version of the dp8390 driver from dev/ic. Really the
...
MI dp8390 and ne2000 drivers from dev/ic could / should be used but this
version has a few changes and has been well tested and thus should be
used for 1.3.
Hopefully this driver will be short lived.
1997-10-18 04:38:19 +00:00
mark
469dddc61d
Updated to include atapibus as standard.
1997-10-18 04:23:32 +00:00
mark
7ee02db44d
Link address is 0xf0000000 now we use the NetBSD ld.
...
Don't build makemodes etc. for configs that don't require it.
1997-10-18 04:20:17 +00:00
mikel
27ab302eb9
RCSid police
1997-10-18 03:17:09 +00:00
briggs
aead314eea
Use bcmp instead of memcmp since we haven't switched to using memcmp elsewhere
...
in the kernel.
1997-10-18 02:54:57 +00:00
mark
ea1c03acd8
Fix bug in last commit that only worked with cpp -traditional.
1997-10-18 02:46:09 +00:00
jonathan
82526d56fd
Prototype __flt_rounds().
1997-10-18 02:43:06 +00:00
jonathan
d385e0e57e
Prototype ANSI-safe gcc trampoline entrypoint.
1997-10-18 02:25:14 +00:00
thorpej
1adb3a7a9d
Sync with GENERIC.
1997-10-18 02:01:36 +00:00
thorpej
2f26438522
Major cleanup of the GENERIC config file. The devices are laid out in
...
a more readable manner now, and sorted by bus type.
1997-10-18 01:42:22 +00:00
gwr
c5b23be7bf
Make sure vunmapbuf will kmem_free_wakeup() the same VA range
...
that came from kmem_alloc_wait(). (Same problem as PR#4120).
1997-10-18 00:17:21 +00:00
jonathan
8bb9a1ccb2
Protect #ifdef DEBUG printfs with a run-time teson a patchable variable
...
(epdebug), as per Jason Thorpe's comments.
1997-10-18 00:15:02 +00:00
gwr
0308bf1ac6
Use common zs code.
1997-10-17 23:59:44 +00:00
gwr
b4e346f85d
Rename cs_pad to cs_spare1 (for future use by Bill Studenmund).
1997-10-17 23:02:37 +00:00
gwr
b69fc1a7cf
Move the ttychars() call below the if-not-raw block.
...
(from Bill Studenmund)
1997-10-17 22:55:09 +00:00
jonathan
e12d00b5e4
Add #include <sys/sysctl.h>, which in turn needs #include <vm/vm.h>.
1997-10-17 22:37:38 +00:00
kml
323c04642b
Path MTU Discovery support. This is turned off by default.
...
Use sysctl -w net.inet.icmp.mtudisc=1 to turn on.
Still to come: path removal after some period, black hole detection
1997-10-17 22:12:14 +00:00
gwr
f246430dba
Nuke same-unit hack in match.
1997-10-17 21:49:07 +00:00
thorpej
73b56bd5b0
Display The NetBSD Foundation, Inc.'s copyright notice at boot time.
1997-10-17 21:40:00 +00:00
thorpej
10f29f9bcb
Allow `subnetsarelocal' to be changed via sysctl.
1997-10-17 21:20:49 +00:00
sommerfe
6bae176723
conditionalize so core pcmcia bus support is omitted if no pcmcia devices configured
1997-10-17 20:51:19 +00:00
oki
ea023e3b94
Use rnd.h and #if NRND > 0.
1997-10-17 20:28:06 +00:00
oki
e8b2ab848c
Make this compile again.
1997-10-17 20:24:35 +00:00
is
d3baeaf812
Stopgap for splaudio(), needed by the Melody driver.
...
This will be replaced soon by something similar to the spltty stuff.
1997-10-17 19:39:34 +00:00
bouyer
dc67436742
Ops, forgot to include i2c files.
1997-10-17 19:33:54 +00:00
bouyer
10e68aaed1
Add tl and mii devices.
1997-10-17 19:25:36 +00:00
pk
d24dbbbfc4
A `simplelock' suffices for most swap device list traversals, as noted
...
by Chuck Cranor.
Use an exclusive (long-term) lock before applying changes to the swap
lists. This lock is also used by the stats system call because of possible
blocking in copyout().
1997-10-17 19:06:05 +00:00
mjacob
c3f84c257a
more compile foo
1997-10-17 18:59:48 +00:00
mjacob
c8fce5460c
more compile foo.
1997-10-17 18:58:16 +00:00
mjacob
eb249946d0
Recover from some include file foo.
1997-10-17 18:47:30 +00:00
scottr
d383eb0134
Make this compile again. From Dave Carrel.
1997-10-17 18:45:55 +00:00
bouyer
d3cfd58b6c
Add mii.
1997-10-17 18:45:53 +00:00
scottr
961e600c5c
Don't compile hpux_sys_ptrace(), as it uses a deprecated interface
...
(and didn't really work, anyway). Suggested by Dave Carrel.
1997-10-17 18:43:48 +00:00
scottr
0ea4e1111a
Regen.
1997-10-17 18:40:53 +00:00
scottr
519862a03a
ptrace() emulation is no longer supported, and probably hasn't worked
...
for some time anyway.
1997-10-17 18:39:14 +00:00
bouyer
fe74be001b
Driver for Texas Instruments' thunderland network controller (present in some
...
Compaq products).
1997-10-17 18:38:23 +00:00
mark
680595e7c3
Fix extra 'S' character typo that resulted in the condition codes being
...
incorrectly internally on certain divides.
Handle the case where the internal result appears negative. This condition
can occur when dividing MIN_INT by certain values.
1997-10-17 18:35:19 +00:00
mark
1cc95a3df0
Fix .type directives to use #function rather than @function.
...
This is due to the problem of the @ character being a single character
comment in the asm assembler. The '#' character has now been chosen
instead for future versions of GCC and GAS so lets conform now.
1997-10-17 18:27:30 +00:00
mjacob
d13d5783e4
Add in missing includes.
1997-10-17 18:25:32 +00:00
bouyer
0582a7d023
Add mii and i2c.
1997-10-17 18:19:47 +00:00
bouyer
9cba1f94e1
Add detection of cyrix/ibm 6x86 cpu: these CPU pass the 486 test, but
...
fail the cyrix486 one. Add a test which succeed for all cyrix CPUs (from
FreeBSD).
1997-10-17 18:05:44 +00:00
bouyer
b35651ec97
kern/4267 (Takeshi Nakayama): Add a 'len' parameter to cd_scsibus_get_mode and
...
cd_scsibus_set_mode, to specifie the real len of "data" we need. These
functions were broken when scsi_cd_write_params_page was added to
scsi_cd_pages, thus changing the len of scsi_cd_mode_data.
1997-10-17 17:54:33 +00:00
christos
3f60774556
PR/4280: Chris Jones: Sending more than one fd over AF_UNIX sockets causes
...
panic. Bug in the fd -> struct file * conversion...
1997-10-17 17:35:08 +00:00
bouyer
10fcf021a5
Generic functions for the MII layer. mii attaches to mii-capable network
...
adapters, and provide media-selections and status to the parent.
This includes drivers for the Thunderland integrated PHY, and
National Semiconductor's DP83840A.
Note: The interface betweeen network controller and mii is not complete yet,
and will need some minors tweaks to support media auto-selection.
1997-10-17 17:33:45 +00:00
bouyer
6fca562323
Generic driver for read/write i2c devices, and for Microchip Technology's
...
i2c eeproms.
1997-10-17 17:21:14 +00:00
thorpej
c8c33b5e87
Make pcvt compile with the new dev_t definition.
1997-10-17 15:24:17 +00:00
christos
b04f385510
PR/4282: Dave Huang: add logical id for boca modem.
1997-10-17 13:41:29 +00:00
ws
9c1b7cfa37
Add support for FAT32
...
Don't panic if renaming a file to itself
Don't try to keep access times, there is no place for them
While being here, fix some minor bugs with VFAT handling
1997-10-17 11:23:29 +00:00
enami
801620373d
Define width_names[] only when PCICDEBUG is defined.
1997-10-17 09:37:12 +00:00
jonathan
dd7290db41
Add explicit #include <vm/vm.h> before mips/pte.h is included.
1997-10-17 09:34:43 +00:00
matt
54a45a47c8
EN1207 definitions
1997-10-17 09:26:58 +00:00
fvdl
6caf9310c8
NFS_SMALLFH should be a multiple of 4; since the nfsnode struct may grow
...
one more member, just make it the minimum (32) now.
1997-10-17 08:10:21 +00:00
enami
4eef29b72f
No need to cast a generic pointer.
1997-10-17 07:59:39 +00:00
thorpej
4c970b2547
Add "ne" and "com" isapnp attachments. Move the fe0 declaration to a
...
more logical location.
1997-10-17 07:27:02 +00:00
enami
80d6b2fb22
Use lowercase for hexdigit.
1997-10-17 07:08:55 +00:00
enami
113f376554
Use TAB to separate `cd*' and `at'.
1997-10-17 07:07:26 +00:00
mark
65295639f5
Updated for the new wd.c and wdc.c files in arm32/dev/
1997-10-17 07:00:34 +00:00
mark
0b03e20959
Include <vm/vm.h>
1997-10-17 06:59:25 +00:00
mark
6886eff3c5
Updated for recent changes to the wd driver. Use wdlink.h instead
...
of wdcvar.h
1997-10-17 06:52:26 +00:00
mark
74c3a08d8d
Updated for recent wd driver changes. Include wdlink.h instead of wdcvar.h
1997-10-17 06:49:17 +00:00
mark
c004efb65e
Remove redundant .req statements.
...
Use the ENTRY() macro from machine/asm.h for function declarations.
1997-10-17 06:46:27 +00:00
mark
e9b9aedd51
Synchronise with recent changes to the ISA wd driver.
...
Remove the remaining ISA dependencies, busify and support 32 bit PIO.
1997-10-17 06:41:35 +00:00
mark
2e4ccc80c0
Include vm/vm.h
1997-10-17 06:33:57 +00:00
jonathan
84d8ac7355
* Performance improvements from July 1997:
...
Avoid unecessary cache writebacks on mips3. 10% win on kernel builds.
* _KERNEL_RCSID.
1997-10-17 05:57:20 +00:00
mark
7df23bd595
Remove some redundant .req statements.
1997-10-17 05:46:16 +00:00
mark
18a35528c5
Don't include sys/sysctl.h as it is not needed.
1997-10-17 05:45:40 +00:00
jonathan
22b3f9ebd8
Add bi-endian support to mips locore, <mips/endian.h>, and mips_opcode.h.
...
Derived from a change request (PR port-mips/4277) from
Tsubai Masanari, (tsubai@iri.co.jp ).
1997-10-17 04:43:57 +00:00
gwr
cfe268b782
Sync with GENERIC
1997-10-17 04:29:59 +00:00
gwr
3d76b19e4b
Add idprom.c
1997-10-17 04:26:10 +00:00
gwr
297a7bfa90
Move IDPROM stuff from netif_sun.c to idprom.c where it belongs.
1997-10-17 04:06:23 +00:00
gwr
1ea958fad8
Move initialization code from xxattach to xx_init and call that
...
from both xxattach and xxopen instead of calling xxattach from
xxopen with faked up autoconfig args. Fix warnings.
1997-10-17 03:47:52 +00:00
gwr
f14029fcd6
Clean up the match function.
1997-10-17 03:44:49 +00:00
gwr
703ed32e6c
Clean up cg2match()
1997-10-17 03:43:56 +00:00
gwr
98eb63d8f8
Add support for the Sun3/E "se" (Ethernet/SCSI) board.
...
Compiles, but NOT YET TESTED.
1997-10-17 03:39:44 +00:00
gwr
81f2d0b179
Move si_reset_adapter() from si.c into the bus-specific modules.
...
Support the Sun3/470 (sun3x). Adapt to the new DVMA interface.
Set the si_xxx_options in the config file (easier for users).
1997-10-17 03:33:34 +00:00
gwr
5a1f692161
Sync. with the sun3x (mostly cosmetic changes).
1997-10-17 03:25:05 +00:00
gwr
fc2200d8a4
Make DVMA space pointers (void *) like the sun3x.
1997-10-17 03:23:06 +00:00
gwr
e1e41e2529
Make the "LED slow-down on load" thing an option.
1997-10-17 03:22:18 +00:00
gwr
6b8137f8f0
Make DVMA space pointers (void *) like the sun3x.
1997-10-17 03:20:13 +00:00
gwr
991d9e236b
Declare functions for _STANDALONE too.
1997-10-17 03:19:20 +00:00
gwr
1b1b628e81
Sync with GENERIC
1997-10-17 03:17:50 +00:00
gwr
1f0cc730a8
typo
1997-10-17 03:17:01 +00:00
gwr
ab5828ead6
Add Sun3/E stuff, and re-organize.
1997-10-17 02:59:05 +00:00
gwr
787dc36d1a
Add COMPAT_1?
1997-10-17 02:55:40 +00:00
briggs
acbf52300f
Include vm/vm.h.
1997-10-17 02:50:50 +00:00
briggs
b7a14b5b80
Move sys/sysctl.h to be after vm/vm.h.
1997-10-17 02:28:36 +00:00
christos
e12c721705
Add missing cast for nlink_t
1997-10-17 02:05:34 +00:00
christos
dac5408a54
Regen.
1997-10-17 02:04:28 +00:00
christos
f8dee5bcb9
PR/4278: Chris Jones: Fix rlimit function prototypes
1997-10-17 02:03:17 +00:00
christos
e024917407
fix chrtoblk prototype
1997-10-17 02:00:39 +00:00
christos
cb7b7c367b
Fix chrtoblk prototype
1997-10-17 01:59:56 +00:00
fair
935f020e6d
move sysctl.h include after vm.h to get at vmspace definition and correct compile error
1997-10-17 01:43:33 +00:00
briggs
924c665227
Make this compile again.
1997-10-17 00:24:47 +00:00
mark
b7eeb445e8
Remove the inclusion of sys/sysctl.h as it is not needed.
1997-10-17 00:14:12 +00:00
mark
9f78ac06bf
Remove inclusion of sys/sysctl.h as this is not needed.
...
Remove debug code relating to ARMFPE userret counting.
1997-10-17 00:12:40 +00:00
mark
5a9af5c400
Include vm/vm.h
1997-10-17 00:09:48 +00:00
mark
5246572289
Include sys/vmmeter.h for vmmeter structure definition.
1997-10-17 00:08:33 +00:00
christos
251114507c
Regen
1997-10-17 00:02:49 +00:00
christos
d4d4c2efbc
nfstov_mode converts 32 bits now.
...
change NFS_SMALLFH from 44 to 38 to accommodate the mode_t and nlink_t changes.
1997-10-17 00:02:16 +00:00
christos
8b88b63c52
u_short -> mode_t
1997-10-17 00:00:41 +00:00
christos
280d4b5839
Fix the location of the NFS_SMALLFH
1997-10-16 23:59:34 +00:00
is
11446b9b6e
TMS320AV110 (mpeg layer 2 decoder chip) and ZBUS Melody board, which uses it.
...
No optionboards yet for Melody, only audio driver.
MPEG data types for audio.c
1997-10-16 23:58:10 +00:00
christos
7a5c72bb88
Add missing cast to nlink_t
1997-10-16 23:58:05 +00:00
is
25ea46120a
TMS320AV110 (mpeg layer 2 decoder chip) and ZBUS Melody board, which uses it.
...
No optionboards yet for Melody, only audio driver.
MPEG data types for audio.c
1997-10-16 23:57:56 +00:00
christos
4071635fa6
Add missing cast to dev_t
1997-10-16 23:57:51 +00:00
christos
e6f8df1a63
Add missing casts to nlink_t and dev_t
1997-10-16 23:56:57 +00:00
christos
dc60c14ef6
Regen.
1997-10-16 23:56:40 +00:00
christos
5f2f2ac9b2
ostat -> stat43
1997-10-16 23:55:50 +00:00
christos
ec57088486
Regen.
1997-10-16 23:55:23 +00:00
christos
79acd83ca5
check for st_nlink overflow
1997-10-16 23:54:40 +00:00
christos
7e8c979fa9
ostat -> stat43
1997-10-16 23:53:07 +00:00
christos
9b775fa66f
change it to use the real stat instead of ostat and check for st_link overflow
1997-10-16 23:52:20 +00:00
christos
766ded363c
check for st_link overflow.
1997-10-16 23:52:03 +00:00
christos
537eb26ac2
add stat12 compatibility calls and rename ostat to stat43
1997-10-16 23:50:36 +00:00
christos
0585de8731
Regen.
1997-10-16 23:50:20 +00:00
christos
bb19445ec6
PR/4269: msync is missing MS_*
1997-10-16 23:49:38 +00:00
christos
1d60a72b89
ostat -> stat43
1997-10-16 23:48:18 +00:00
christos
0fdb3e720f
Rename to vm_12.c
1997-10-16 23:46:52 +00:00
christos
801520ffac
fix chrtoblk declaration
1997-10-16 23:43:16 +00:00
christos
86f2672ac2
Regen.
1997-10-16 23:42:41 +00:00
christos
2975958ca6
fix chrtoblk declaration
1997-10-16 23:42:35 +00:00
christos
bf5e4c3957
Regen
1997-10-16 23:42:20 +00:00
christos
3259672f83
fix chrtoblk declaration
1997-10-16 23:41:55 +00:00
christos
9b763cbe70
change char *path to const char *path
...
change int to mode_t's and to dev_t's as appropriate
add new new stat syscem calls and make the old ones compatibility.
1997-10-16 23:41:31 +00:00
christos
e42293ca28
fix chrtoblk declaration
1997-10-16 23:37:34 +00:00
christos
f950c44a69
make va_mode and va_link mode_t and link_t
1997-10-16 23:35:36 +00:00
augustss
b2004a534c
Make sure the 'input' class is used even for the 1345 mixer.
1997-10-16 23:34:57 +00:00
christos
217e609299
dev_t int32_t -> u_int32_t
...
mode_t u_int16_t -> u_int32_t
nlink_t u_int16_t -> u_int32_t
1997-10-16 23:34:40 +00:00
christos
d3f4a22f92
now that mode_t and nlink_t are 32 bits, we need a new stat syscall.
...
rename ostat to stat43 and create a stat12 for compatibility to NetBSD 1.2
1997-10-16 23:33:10 +00:00
thorpej
500a0eac87
Pull marc-pcmcia branch down from trunk.
1997-10-16 23:32:35 +00:00
christos
e66010e32e
PR/4269: Chris Demetriou: msync now takes a third argument
1997-10-16 23:31:21 +00:00
christos
84fa30f8f0
chrtoblk returns dev_t
1997-10-16 23:30:36 +00:00
christos
b82d33e84c
PR/4269: Chris Demetriou: msync is missing the MS_* flags.
...
Also change caddr_t syscall arguments to void *
1997-10-16 23:29:26 +00:00
thorpej
c66b8643d1
Pull marc-pcmcia branch down from trunk.
1997-10-16 23:27:16 +00:00
thorpej
376d502a22
Pull marc-pcmcia branch down from trunk.
1997-10-16 23:23:14 +00:00
thorpej
5345a8bef9
Pull marc-pcmcia branch down to trunk.
1997-10-16 23:21:46 +00:00
thorpej
befea59210
Pull marc-pcmcia branch down to trunk.
1997-10-16 23:21:41 +00:00
thorpej
b3620a0f8d
Pull marc-pcmcia branch down to trunk.
1997-10-16 23:18:18 +00:00
enami
12e22025c4
Remove interrupt handler cookie from aic_softc.
1997-10-16 22:57:02 +00:00
enami
735b77fa73
Create new structure aic_isa_softc and hold interrupt handler in it.
1997-10-16 22:55:34 +00:00
matt
4d3bfb2510
Fix pr's port-i386/4127 kern/4190 kern/3700.
1997-10-16 22:02:27 +00:00
is
57ce3eaaf4
Move zbus attachment to the end, so that motherboard devices don't "jump"
...
if zbus devices of the same class are added.
1997-10-16 21:39:10 +00:00
mark
d75175b393
Updated to remove local copies of the com and lpt driver now we use
...
the MI ones.
1997-10-16 18:38:55 +00:00
mark
0f1f684082
Updated to use the MI dev/ic/com.c driver.
1997-10-16 18:37:38 +00:00
mark
189bd69e2b
Updated to use the MI dev/ic/lpt.c driver.
1997-10-16 18:35:53 +00:00