Commit Graph

19947 Commits

Author SHA1 Message Date
jonathan
b29ce8697c Comment out PT_STEP for 1.3. Defining it causes gdb 4.16 to break.
(inferior debugee children die immediately with SIGTRAP.)
1997-10-20 07:29:23 +00:00
jonathan
bf4f202e7c Merge MINIROOT and NFSINSTALL into a single INSTALL config file,
with  config lines for both root-on-disk and root-on-NFS.
1997-10-20 03:50:05 +00:00
jonathan
8061da06c9 Add "options COMPAT_12". 1997-10-20 03:45:08 +00:00
perry
83a4427110 Sync with GENERIC; comment out a few more unneeded things. 1997-10-20 03:42:43 +00:00
phil
e0b89dfe15 Comment out aic driver to remove conflict with mi driver. 1997-10-20 03:19:16 +00:00
sakamoto
cd83f6a454 sys/sysctl.h depend on vm/vm.h 1997-10-20 02:46:20 +00:00
thorpej
cdc616ca77 Port the latest FreeBSD "fxp" driver to NetBSD-current. Changes include:
- Work around a bug in the 82557 that causes the receiver to lock up
  in certain conditions by kicking the multicast address filter if we
  haven't heard anything come down the wire for some period of time.
- Fix a bug that could cause TxCB descriptor chains to cross page boundaries
  on the Alpha.
- Remove some unneeded register masking.
- Fix a bug where too much data was copied from the config template, causing
  memory corruption.
- Fix handing of if_timer (it was be cleared too early in some cases).
- Attempt to reduce the chances of receiver overrun by doubling the
  number of receive DMA segments, and processing receive interrupts
  before transmit interrupts.
- Remove a gratuitous assignment.
- Fix a bug where incoming packets were counted twice.
1997-10-20 01:15:53 +00:00
fvdl
74f97b28cc Change various constants that depend on the kernel VM base address. Lower
it to 0xf0000000 to give it more breathing space.
1997-10-20 00:45:03 +00:00
fvdl
30c7fa3e36 Move kernel entry address down to f0100000 1997-10-20 00:43:21 +00:00
fvdl
9e76627586 Do hack around VOP_BMAP call to avoid recursive locks. The locking
interface doesn't allow currently to specify recursive locks.
Should fix vnd device locking panics.
1997-10-20 00:11:03 +00:00
pk
004f196dcf Nuke 5.25 inch formats. 1997-10-19 23:29:47 +00:00
jtk
0ad10a1970 change name in comment from apmregs to bioscallregs 1997-10-19 22:59:50 +00:00
pk
a0d6bae726 Add an odd-ball japanese floppy format (PR#2903).
A good time to get rid of the hard-coded floppy sector size.
1997-10-19 22:29:21 +00:00
jonathan
04c45d466a Define PT_STEP. 1997-10-19 21:49:50 +00:00
is
25d10d4369 zbus.c 1997-10-19 21:22:19 +00:00
jonathan
ed413accab Add PT_GETFPREGS, PT_SETFPREGS and process_{read,write}_fpregs. 1997-10-19 21:02:00 +00:00
is
c7f9237607 - Doesn't need to privately define AUDIO_SPEAKER and AUDIO_HEADPHONE any
longer.
- XXX Don't access the nonexistant backlog structure element.
1997-10-19 20:59:32 +00:00
ragge
efa4c7c48e MSGBUFSIZE must be in CLBYTES, not NBPG. Also expand it to 4 * CLBYTES. 1997-10-19 20:48:47 +00:00
is
b266316bea Fix pasto in symbolic name for string 1997-10-19 20:46:32 +00:00
oki
a6dfd800c9 Test device is configured in interrput handler. 1997-10-19 20:45:11 +00:00
oki
3e2d17592a add support for MK-HA2 Mach-2 SCSI host adaptor. 1997-10-19 20:41:02 +00:00
mycroft
b8267c1737 Count characters even when !OPOST and FLUSHO.
Don't output the \r for ONLCR if FLUSHO.
1997-10-19 20:35:21 +00:00
ragge
2260651129 Add match code to detect more than one SCSI adapter on 3100.
Provided by Bertram Barth.
1997-10-19 20:35:15 +00:00
christos
7507e6a5e9 Make this compile again. 1997-10-19 20:34:54 +00:00
mycroft
87b7a8ba91 Minor changes to make these more similar again. 1997-10-19 20:31:29 +00:00
fvdl
6cdaaab885 Only do readaheads when reading sequential blocks; check v_lastr to
achieve this. Improves performance for demand paging. From Chris Demetriou.
1997-10-19 20:27:32 +00:00
is
eb1b51cac1 tav_write_word -> tav_write_short 1997-10-19 20:21:49 +00:00
perry
838ebc1be2 Yet Another Massive Reorganization. I took the last reorg even
further. Devices are grouped by types and within the types segregated
by bus. Lots of comments fixed up, lots of nits cleaned. Extensive
comments from Jason and Charles incorporated.

We also really need an automatic way to generate INSTALL from GENERIC,
but that's a project for another day...
1997-10-19 20:14:21 +00:00
mycroft
1bb75c1efa Initialize the IER to 0 in com_attach_subr(). 1997-10-19 20:01:08 +00:00
carrel
c2418895f6 Add some more sysconf() types. (Mostly stolen from other compat_* s) 1997-10-19 19:25:07 +00:00
veego
f08eca2b03 Add CyberVision 64/3D support. 1997-10-19 19:20:30 +00:00
thorpej
3135cf9ecc Use bus.h 1997-10-19 19:17:07 +00:00
veego
7017046979 New unit number for the CyberVision 64/3D. 1997-10-19 19:08:00 +00:00
veego
09b9eff341 Add an entry for the CyberVison 64/3D to the aconftab and to the
preconftab list.
1997-10-19 19:07:08 +00:00
thorpej
29500b20c0 Make sure the i/o and/or mem addresses aren't wildcarded (i.e. -1) before
using the address in a bus_space_map() call.
1997-10-19 18:56:39 +00:00
veego
c9252fa879 First version of the CyberVision 3D driver. This driver is based on
the CyberVision64 driver. Modified by Tobias Abt with some bugfixes
from Bernd Ernesti.
ZorroII is at the moment not supported and there is a small problem
with the Console driver where you just get a black screen, but the
system boots and you can use X11 without a problem.
1997-10-19 18:55:21 +00:00
christos
542318240b Regen. 1997-10-19 18:48:57 +00:00
christos
2b8d4e9b82 Make mman(2) functions args consistent (caddr_t -> void *) 1997-10-19 18:48:16 +00:00
christos
1c89a817ba Simplify use of round_page() like in other emulations. 1997-10-19 18:48:00 +00:00
christos
eb2b299151 Regen. 1997-10-19 18:45:46 +00:00
christos
423b2ff7b4 Make mman(2) functions args consistent (caddr_t -> void *) 1997-10-19 18:45:04 +00:00
mycroft
429b08a2b4 Use S_IS*(), not S_IF*. 1997-10-19 18:40:11 +00:00
mycroft
762d77e123 Fix bogosity in mknod(2) translation. 1997-10-19 18:35:09 +00:00
mycroft
d771632c2f Add an O_MASK containing all the open(2) bits. 1997-10-19 17:27:53 +00:00
mycroft
9341cad610 After conversion of the file flags, if neither FREAD nor FWRITE is set,
return EINVAL.
1997-10-19 17:18:10 +00:00
oki
968a155917 Add options M68060, mha driver. 1997-10-19 16:04:57 +00:00
oki
742eb9d713 new bootfloppy kernel configuration file. 1997-10-19 16:03:11 +00:00
oki
ad0f2e276a pretty message. 1997-10-19 15:32:57 +00:00
oki
9e3da87164 Use common m68k/sig_machdep.c. 1997-10-19 15:17:24 +00:00
ragge
d379f24df5 #include <vm/vm.h>. Fix some erroneous declarations. 1997-10-19 14:33:48 +00:00
ragge
e0bc9f61d7 Add a sometimes needed round_page().
Always flush TLB when messing around with system mapping.
1997-10-19 14:32:42 +00:00
fvdl
ab36c13e4b Add 16650 hardware flowcontrol support. Basically PR 3844 from
Dave Huang <khym@bga.com>, with added check for broken early versions
of the 16650, taken from the Linux driver.

This should be extended to use, for example, higher trigger levels for
the bigger 16650 FIFO, and its capability for using a smaller divisor
and thus higher speeds. But this patch is very useful for 16650 users
already.
1997-10-19 14:26:25 +00:00
fvdl
961e39030d Add 16650 hardware flowcontrol support. Basically PR 3844 from
Dave Huang <khym@bga.com>, with added check for broken early versions
of the 16650, taken from the Linux driver.

This should be extended to use, for example, higher trigger levels for
the bigger 16650 FIFO, and its capability for using a smaller divisor
and thus higher speeds. But this patch is very useful for 16650 users
already.
1997-10-19 14:26:16 +00:00
enami
fe0c14e139 Fix typo; hang binary operator at the end of previous line. 1997-10-19 14:10:11 +00:00
enami
5c1050e68f Include locators.h and use symbolic name comes from it. 1997-10-19 14:07:19 +00:00
enami
0afff66463 Include locators.h and use symbolic name comes from it. 1997-10-19 14:04:29 +00:00
enami
4e304b8dd7 Make manufacturer' and product' 32bit wide so that they can contain
both 16bit id values found in card CIS and special value to indicate
that no value found in CIS.  Use that special value for the card that
doesn't have id values.  Test that value in ne2000_match().
1997-10-19 14:00:32 +00:00
carrel
ea9e34c2f7 cast to void * not caddr_t 1997-10-19 12:52:19 +00:00
ragge
a9510ace16 Only check for process switch if we are coming in from userspace.
Make ERESTART work for syscalls >63.
While we're here; clean up a little bit.
1997-10-19 12:32:52 +00:00
explorer
ebf03fd00c Add hooks for entropy collection. Right now, you must place
options RND_COM
in your kernel config file (along with the
	pseudo-device rnd
line) to enable this.  If results are positive, I will make this enabled
by default.
1997-10-19 11:45:33 +00:00
explorer
2a18497c3f o Remove most of the splhigh() protected regions, making them
splsoftclock() instead.  This is done with an event queue of raw data,
  and the entropy calculation etc. is done at splsoftclock().

o Use a private entropy pool rather than the global one defined in
  rndpool.c.  That global will probably go away, eventually.
1997-10-19 11:43:05 +00:00
oki
624322fb6a Make this compile new bootblock code. 1997-10-19 11:03:38 +00:00
oki
3f9967ed1d New bootblock code (compressed kernel support).
mostly written by ITOH Yasufumi.
1997-10-19 11:00:51 +00:00
oki
bbe9571856 Make this compile again. 1997-10-19 10:59:55 +00:00
scw
3c1ce11613 Fix includes. (Make sure <vm/vm.h> gets pulled in before <sys/sysctl.h>) 1997-10-19 10:53:14 +00:00
jonathan
4b537fb807 Warn user if we fail over from framebuffer console to serial console
when no supported framebuffer is found.
1997-10-19 10:25:52 +00:00
oki
cfe6621afa Support of MK-HA1 Mach-2 SCSI adaptor. 1997-10-19 09:29:25 +00:00
thorpej
17e98700bd Use symbolic names for default locator values. 1997-10-19 09:05:04 +00:00
mark
c1e2e66225 Handle a delay of zero in delay(). 1997-10-19 08:55:07 +00:00
oki
73c0b0f2a6 for ramdisk kernel 1997-10-19 08:16:40 +00:00
augustss
e7029fc0da Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
explorer
0b4da23f5c Start teaching the random driver to use timeout() rather than immediate mixing 1997-10-19 03:47:50 +00:00
mycroft
11c9f28f0e Update comment. 1997-10-19 03:29:20 +00:00
mycroft
e704745a3c Regen. 1997-10-19 03:26:22 +00:00
mycroft
606346112c umask(2) accepts and returns a mode_t. 1997-10-19 03:25:55 +00:00
mikel
fb7eb8074d fix some typos in comment about securelevel 1997-10-19 02:29:20 +00:00
mycroft
cc8b6d9037 Fix something that Christos forgot; remove st_lspare from the new stat
structure.
NOTE: THIS REQUIRES INSTALLING A NEW KERNEL BEFORE BUILDING NEW LIBRARIES.
1997-10-19 02:21:58 +00:00
mycroft
04daee4f9c Add const where appropriate. 1997-10-19 02:00:19 +00:00
mycroft
62f4958011 Copy the whole timespec, not just half of it. Other minor changes. 1997-10-19 01:52:51 +00:00
mycroft
16519602c5 Minor change; remove unnecessary casts. 1997-10-19 01:50:33 +00:00
mycroft
116608a359 Clean up some garbage from struct stat12. 1997-10-19 01:49:00 +00:00
fvdl
1cf3a3db94 * Implement optional 32 <-> 64 bit directory cookie translation. This uses
the directory cache as translation table. See nfs_subs.c for comments.
  Makes the code a bit more complex to look at than I would have liked,
  but doesn't affect the speed of the default behavior.
* Optimize caching behavior a bit when buffers are invalidated.
* Save some RPCs in readdir operations by not bothering if there is
  a small amount left to do to fill the buffer. It'll be done in the
  next RPC with a larger chunk anyway. Wastes a bit of buffer space
  but is faster.
* Make n_vattr an allocated vattr struct. This avoids nfsnode bloat,
  and is friendlier to the malloc routines.
1997-10-19 01:46:15 +00:00
fvdl
adecb9addf Add NFSMNT_XLATECOOKIE 1997-10-19 01:37:53 +00:00
cjs
1a546804ed First go at an INSTALL kernel (add ramdisk, remove unnecessary stuff). 1997-10-19 01:31:49 +00:00
fvdl
33074aa25a Eliminate compile warning because of mmap caddr_t -> void * change. 1997-10-19 00:16:08 +00:00
jonathan
2e47a5547e Use void* not caddr_t for 'addr' argument to native mmap(). 1997-10-19 00:15:31 +00:00
perry
b07dc2077e typo: that -> than 1997-10-19 00:00:18 +00:00
ragge
038cd08cce Make UBA adapter selection work on 8600 again. 1997-10-18 23:39:18 +00:00
is
fa78c4ba06 Driver for the VMC HyperCom3/zbus and the VMC HyperCom4.
lpt on HyperCom3 isn't supported yet.
1997-10-18 23:31:32 +00:00
is
84a59e77b2 Stopgap measure to handle EXTER interupts for the DraCo. Maybe this should
be handled by the locore.s code like for Amigas, but DraCos dont have
necessarily a CIA B.
1997-10-18 23:18:40 +00:00
is
1083b2ab71 Use long long in bitrate tolerance computation, else we'll overflow for
higher than standard-pc chip clocks.
1997-10-18 23:11:45 +00:00
jonathan
0fa286f23d Note non-inclusion of up-to-date bootblock source for 1.3, as
suggested by release engineers.
1997-10-18 22:33:28 +00:00
jonathan
92ed4b0f7f Make the __mcount entrypoint non-static for kernels, to avoid any
chance of gprof mis-report profile ticks in __mcount to  the following
function in libkern (currently _qdivrem).
1997-10-18 22:31:33 +00:00
cjs
bcced1d9be Check return values from lseek; use SEEK_SET instead of 0. 1997-10-18 22:27:46 +00:00
cjs
4b97411a80 Change sd.transparent to sd.compressed, so that we default to non-
compressed mode when we zero out the structure. Check_header() now
does not force us to uncompressed mode if we read no data (EOF);
it leaves the default, so that if we check at the end of a file,
we don't set the file to uncompressed mode and blow up later lseeks
on it.
1997-10-18 22:27:15 +00:00
ws
f92f4e8ac3 Correct handling of empty files (fixes PR4285 by (and tested by) Dave Huang) 1997-10-18 22:12:27 +00:00
hubertf
59b0f424db Prevent error if machine-symlink isn't already there (rm -> rm -f) 1997-10-18 21:46:27 +00:00
kml
c8e01708d1 remove extraneous icmp_do_mtudisc 1997-10-18 21:21:28 +00:00
kml
6b86b260cb change sysctl net.inet.icmp.mtudisc to net.inet.ip.mtudisc 1997-10-18 21:18:28 +00:00
thorpej
75e554c27d Implement two macros, scsipi_command() and scsipi_command_direct(), and
use them to hide the structure of the function pointers we jump through
to issue a command.
1997-10-18 19:50:51 +00:00
mhitch
20c5359658 If DDB and the boot loader has loaded the kernel symbol tables, save the
symbols and let ddb know about them.
1997-10-18 19:48:02 +00:00
carrel
052d2ca080 variable is sb not st 1997-10-18 16:39:46 +00:00
christos
0f4b4471a8 Regen. 1997-10-18 16:36:49 +00:00
christos
3130feba6d Fixed missed const char * in lstat (thanks enami) and changed caddr_t -> void *
in the mman family.
1997-10-18 16:35:25 +00:00
christos
3c07a14a75 Separate assigments of tv_sec and tv_nsec since tv_sec is a time_t (int on
the alpha) and tv_nsec is a long.
1997-10-18 16:34:17 +00:00
christos
e196a361ce Regen. 1997-10-18 16:31:59 +00:00
christos
885404d216 Use stat12; from Enami Tsugutomo 1997-10-18 16:30:25 +00:00
drochner
83d255de83 This driver can't handle wildcarded iobase.
(This is really a config file error.)
1997-10-18 14:09:52 +00:00
enami
acd4cefee0 In the function vattr_null(), assign each member individually
to prevent unintended conversion due to different sign and size.
1997-10-18 11:51:32 +00:00
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