Commit Graph

19607 Commits

Author SHA1 Message Date
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