Commit Graph

19640 Commits

Author SHA1 Message Date
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
explorer 66f8a19d70 back out previous change (committed in error) 1997-10-15 06:08:27 +00:00
explorer f9370ddc7a Add and/or update rnd_*() hooks 1997-10-15 05:55:13 +00:00
explorer 1d74fdb6a3 minor formatting change 1997-10-15 05:48:56 +00:00
augustss edf79539db Add another SB AWE64 Value. 1997-10-15 05:13:31 +00:00
sakamoto 4c58649721 License indication changed. 1997-10-15 05:09:33 +00:00
jtk d6c9c08d70 put in place a proper bioscall.h (sorry about that!)
finish up incomplete job of moving structure used by bioscall() to
<machine/bioscall.h>, with associated changes in include file strategy,
genassym stuff, etc.
1997-10-15 01:20:33 +00:00
enami 4321b83ee2 Pull following change from marc-pcmcia branch:
> revision 1.1.2.4
> date: 1997/10/15 01:01:57;  author: enami;  state: Exp;  lines: +10 -8
> Use bus_space_write_1() directly instead of NIC_PUT(), since
> - same io port is accessed by bus_space_read_1() in the same function, and
> - can bypass sc_reg_map[].
1997-10-15 01:15:51 +00:00
mhitch c7422c2d87 Fix typo - list/libc/gen/nlist_ecoff.c still wasn't compiling. 1997-10-15 00:59:01 +00:00
mark 693c30544f Initial commit of the EtherM network slot driver. 1997-10-15 00:29:25 +00:00
mark 0731581015 Define the IRQ and DMA interrupt numbers in the podule structures so these
are passed to child devices.
Support disabling the attachment of specific podules with boot time
arguments.
1997-10-15 00:02:09 +00:00
mark da99d2d6ce Use the bs_notimpl* functions for unsupported bus space operations. 1997-10-14 23:52:46 +00:00
thorpej 005a9c192c Add ISA and PCI "ne" instances as appropriate. 1997-10-14 23:30:55 +00:00
mark 1d4c6912a3 Initial commit of a driver for the Simtec IDE podule. This driver just
provides attachments and I/O specific functions for the generic
arm32/dev/wd driver.
1997-10-14 23:20:51 +00:00
thorpej 061f16048b Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver. 1997-10-14 23:12:17 +00:00
mark 55ce4217fd Updated for new location of the wd driver.
Use the interrupt specified in the podule structure when claiming
interrupts.
Updated the attach and probe declarations.
1997-10-14 23:09:38 +00:00
thorpej 62e78a5174 Correct a comment. 1997-10-14 23:06:30 +00:00
mark 62331864bc Remove profiling calls from assembly routines. 1997-10-14 23:05:03 +00:00
thorpej ec0566e1f8 Pulldown from marc-pcmcia branch: garbage-collect NE2000 support from
this file.  The "ne" driver is now used, instead.
1997-10-14 23:04:19 +00:00
thorpej 4dee791caf Pulldown from marc-pcmcia branch: ISA front-end for "ne" driver. 1997-10-14 23:01:10 +00:00
mark 432c66fa8d Updated for new arm32 source structure.
Updated declarations of attach and probe functions.
Don't define dummy functions for un-supported bus space operations,
instead use the bs_notimp*() functions.
1997-10-14 22:59:08 +00:00
thorpej 457454d81f Pull down from marc-pcmcia branch: Common code used by NE2000 and compatible
ethernet cards.
1997-10-14 22:54:09 +00:00
thorpej f58d4fbf3c From marc-pcmcia branch: add declaration of the "ne" driver for
NE2000-compatible ethernet cards.
1997-10-14 22:49:02 +00:00
mark 4162ff2287 Updated for source code restructure.
Fix attach and probe declarations.
1997-10-14 22:43:28 +00:00
mark 82441d4be5 Use the podule interrupt number provided by the podule structure when
attaching interrupts.
Fixed declarations of the attach and probe functions.
1997-10-14 22:31:50 +00:00
mark dcbc0a0652 Fix a couple of typos. 1997-10-14 22:27:41 +00:00
mark 48d4e57477 Sync with new version of podules. 1997-10-14 22:22:50 +00:00
mark fa8313f451 Add a definition for a ROM-less ether3 podule. 1997-10-14 22:22:08 +00:00
mark 1fae101a44 Cleanup the cache cleaning code and remove the dead code. 1997-10-14 22:09:24 +00:00
mark a49828e8be Use a consistant method for obtaining the interface host id from the
boot arguments.
1997-10-14 22:07:47 +00:00
christos 37f905c2b8 Someone [who will remain nameless] forgot this... 1997-10-14 22:00:05 +00:00