Commit Graph

19670 Commits

Author SHA1 Message Date
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
mark b9474fb561 These files are no longer needed as the MI com and lpt drivers in dev/ic
are now used.
1997-10-16 18:33:50 +00:00
mjacob 949982f2a4 In calculating the f_bavail field, don't take 32 bit quantities and
multiply them by 90 (to be divided by 100) and expect them to be sane
for very large values (I was getting a negative 'avail' count).
1997-10-16 18:29:11 +00:00
carrel 2d7d2e019a include vm/vm.h 1997-10-16 18:27:40 +00:00
carrel 5f5ee7f57b Need to include vm/vm.h 1997-10-16 18:23:38 +00:00
carrel 254067068a include vm/vm.h
move include of sysctl.h after vm.h
1997-10-16 18:16:08 +00:00
carrel a1e0fcf246 Remove unneeded and incomplete includes of vm/vm_*.h 1997-10-16 18:02:19 +00:00
gwr 4aaf52ce2a Add VME support 1997-10-16 17:20:35 +00:00
matt 119ee74bb4 An ISA Plug-and-Pray attachment for NE2000-compatible cards. 1997-10-16 17:18:29 +00:00
matt 2b42743910 Add support NE2000 ISAPnp boards (only DEC DE305 supported now). 1997-10-16 17:16:36 +00:00
gwr 86e680de0c Add VME support 1997-10-16 16:49:48 +00:00
augustss 841c4f7db2 Insert missing NetBSD copyright notices. 1997-10-16 16:49:32 +00:00
augustss 31ab81c6e4 Aignore interrupts if the device isn't open. 1997-10-16 16:41:18 +00:00
oki 3846baf664 Fixed gcc warnings. 1997-10-16 16:24:47 +00:00
gwr e9393ba0e4 MONSTART/monstart symbol 1997-10-16 16:14:44 +00:00
gwr a5b839419b Add VME support 1997-10-16 16:13:21 +00:00
gwr 5942f9b29a Check bustype in dvma_kvtopa() 1997-10-16 16:11:17 +00:00
gwr b4f7e0ec3d Remove the autoconfig glue. This driver is mandatory,
and the match/attach functions did nothing anyway.
1997-10-16 15:56:02 +00:00
gwr f78c7f1fd8 Add VME support 1997-10-16 15:50:05 +00:00
gwr c427423ad4 cosmetic 1997-10-16 15:45:46 +00:00
oki 3f6dddc5cd Remove use of register. 1997-10-16 15:43:54 +00:00
gwr 7262f2ceff Add VME bustypes 1997-10-16 15:41:59 +00:00
gwr 38af6e81df VME support 1997-10-16 15:39:36 +00:00
matt 9d865fc8f0 Fix a misspelling of slave in a comment. 1997-10-16 15:16:34 +00:00
matt 940e1b9935 Fix a thinko in last night fix. We must set the media if we have reset
the chip but if we haven't the the media isn't changing, don't do anything.
1997-10-16 13:12:56 +00:00
mycroft b328298e4c Fix up includes. 1997-10-16 10:49:00 +00:00
mycroft 482e74d998 Fix up includes. 1997-10-16 10:35:49 +00:00
mycroft 4b807f403c dev/isa/comreg.h -> dev/ic/comreg.h 1997-10-16 08:03:05 +00:00
mycroft 372a74ea3a We don't need sysctl.h here. 1997-10-16 04:57:15 +00:00
mycroft 4a316f1d10 Use vm.h. 1997-10-16 04:48:34 +00:00
mycroft 2e52ce5fd7 Pull in vmparam.h as necessary. 1997-10-16 04:23:36 +00:00
mycroft 91302e62ef Regen. 1997-10-16 03:36:14 +00:00
mycroft 37e189d6a8 Need vmmeter.h here now. 1997-10-16 03:22:54 +00:00
mycroft 8e4d927ebf Define FALSE and TRUE locally. 1997-10-16 03:16:44 +00:00
mycroft fc0fb1cfdc Pull in vm.h, not a bunch of individual files. 1997-10-16 03:05:19 +00:00
mycroft 5542cb9709 Include sysctl.h *once*, after vm.h. 1997-10-16 02:58:31 +00:00
mycroft d0a1101d26 Disable an effectively no-op reference to u_kproc, with an explanation of what
should be done with it eventually.
1997-10-16 02:45:39 +00:00
mycroft fe87d7b58c Remove cruft from the old debugger interface, which we haven't supported for a
long time.
1997-10-16 02:32:55 +00:00
mycroft 3e3c21dc5d Update a comment dating from 4.3/VAX. 1997-10-16 02:31:32 +00:00
thorpej 320cf86339 Garbage-collect definition of "com" driver. 1997-10-16 02:22:37 +00:00
sakamoto 8d05d254cd __VM_PMAP_HACK delete.
if_ed and lpt temporary support.
1997-10-16 01:55:21 +00:00
thorpej e89814fa69 Adjust for new "com" driver home. 1997-10-16 01:10:52 +00:00
thorpej 8bae901f73 Adjust for new home of "com" driver. 1997-10-16 01:06:37 +00:00
thorpej 19b8a62d74 Garbage-collect "com" driver declaration. 1997-10-16 01:02:56 +00:00
thorpej 6698c7b3e2 Adjust for new "com" driver home. 1997-10-16 00:58:08 +00:00
thorpej ce61c6263d Adjust for new "com" driver home. 1997-10-16 00:50:48 +00:00
thorpej a35a2a56e4 Garbage-collect "com" device declaration. 1997-10-16 00:47:23 +00:00
thorpej f124747d6d Add device declaration for the "com" driver. In a perfect world, this
would be done with attributes, but alas... *sigh*
1997-10-16 00:38:11 +00:00
thorpej bc6479768b Adjust for the new "com" driver home. 1997-10-16 00:29:28 +00:00
thorpej dfba65768d Moved by repository copy magick to sys/dev/ic. 1997-10-16 00:18:54 +00:00
thorpej 1ccf0984c2 "com" driver files copied by repository copy magick to sys/dev/ic, and
adjusted for their new home.
1997-10-16 00:01:00 +00:00
thorpej 0154e69e5a Pulldown from marc-pcmcia branch: minimal changes to change x68k port's
"com" (now "xcom") driver to avoid name collision with the more
heaviliy-used "com" driver.
1997-10-15 23:39:18 +00:00
thorpej e500671d62 Pulldown from marc-pcmcia branch: minimal changes to avoid namespace
collision between Pica port "com" (now "pcom") driver and more heavily-used
"com" driver.
1997-10-15 23:00:50 +00:00
thorpej 9ba1ceb091 Pulldown from marc-pcmcia branch. 1997-10-15 22:00:10 +00:00
matt 2e1df18229 Cleanup ISA probe code. Don't collect info first. Just do the probe. 1997-10-15 21:26:51 +00:00
thorpej 2939780605 Garbage-collect some old i386 console stuff that is no longer used, and
add a comment about something to be fixed later.
1997-10-15 21:13:36 +00:00
matt 0dc780c27d Fix media/console interaction problem on Alpha. Fix 21142/21143 problems
with 10Mb/s links.
1997-10-15 19:06:59 +00:00
matt 2a5a426a31 Some changes to get the 21142/21143 to work in 10Mb/s mode. 1997-10-15 18:51:00 +00:00
phil 64549a8105 Fix syntax errors. (missing ,s) 1997-10-15 18:08:01 +00:00
mycroft 91395f0f4f Regen. 1997-10-15 17:28:40 +00:00
mycroft 5570f69778 Adjust u_int arguments of some system calls to int, to match user-level
prototypes.
1997-10-15 17:27:46 +00:00
mycroft 68fb837229 Fix a typo inherited from kern/syscalls.master. 1997-10-15 17:18:17 +00:00
mycroft 3a2dfc05e9 Regen. 1997-10-15 17:07:35 +00:00
mycroft 2587de6af9 Adjust u_int arguments of some system calls to int, to match user-level
prototypes.
1997-10-15 17:03:52 +00:00
thorpej 8b921485a0 Pulldown from marc-pcmcia branch: adapt to changes in the MI dp8390 driver. 1997-10-15 16:58:21 +00:00
thorpej b1ba3c5488 Pulldown from marc-pcmcia branch: minor tweaks to make this a completely
bus-independent driver, and garbage collect a few unnecessary things
from the softc.
1997-10-15 16:54:39 +00:00
gwr 44365b6619 Bring back the optimized ether_cmp() that was lost when the
LLADDR() changes went in.  Mainly relevant on the Sun3/50,
where LANCE_REVC_BUG has to be defined.  Tested on sparc.
1997-10-15 16:34:10 +00:00
explorer 72dbc31c75 clean up ioctl arguments. 1997-10-15 07:22:46 +00:00
explorer b9f6e61f9d Add and/or update rnd_*() hooks 1997-10-15 06:12:44 +00:00