perry
2c8717021d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 22:36:37 +00:00
is
878203d616
Cosmetics: it's a "HyperCom 3Z" on a ZBUS, no "HyperCom 3".
1998-08-09 22:25:18 +00:00
mycroft
cf7abcbe64
Minor cleanup to debugging cruft.
1998-08-09 22:11:48 +00:00
is
98f1a01dec
Actually probe the hardware.
...
This is for HyperCom 3i slaveboards (to be done soon) that might or might not
sit on top of a HyperCom 3Z or HyperCom 4 or ISDN Blaster.
1998-08-09 22:08:40 +00:00
perry
e6886047c9
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 21:58:52 +00:00
mycroft
592b1dd587
But seriously...
1998-08-09 21:41:45 +00:00
mycroft
a85ed63924
Oops; the previous was wrong on little-endian machines.
1998-08-09 21:35:03 +00:00
perry
4522c799a1
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:51:08 +00:00
perry
e1601dc2ca
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:36:58 +00:00
mycroft
4ffebebb25
Several things:
...
* Use the new trigger_{in,out}put interface.
* Allow the play and record channels to have different encodings (but the
same sample rate).
* Play u-law and a-law as 16-bit data. (This may not work yet...)
1998-08-09 20:32:34 +00:00
mycroft
17431823fb
Add trigger_output and trigger_input entry points, which replace
...
init_{in,out}put and start_{in,out}put, and are only called once.
1998-08-09 20:28:07 +00:00
perry
27ca6798df
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:15:38 +00:00
mycroft
8cbcfa0df2
Add mulaw_to_slinear16 and alaw_to_slinear16.
1998-08-09 19:22:15 +00:00
wrstuden
b1bb9aa490
Oops. We do still need to set t_dev in the first open part of zsopen,
...
so we get ttyXX vs cuaXX right. Leave the initialization in attach.
1998-08-09 18:36:45 +00:00
briggs
64e4a1fa7d
Support video interrupt for GrandVimage 17iL video card.
1998-08-09 18:19:09 +00:00
kleink
e9ef31ed72
msdosfs -> adosfs
1998-08-09 17:54:50 +00:00
tsubai
b872f9b8e7
avoid lint error.
1998-08-09 12:47:27 +00:00
mrg
4a75265273
defopt PFIL_HOOKS.
1998-08-09 08:58:18 +00:00
mycroft
a2fc689833
Make sure output is thoroughly halted on close, and remember that we stopped
...
it.
1998-08-09 07:25:58 +00:00
mycroft
b4e0bf5dfb
Use 4- and 8-byte DMA transfers.
1998-08-09 06:52:57 +00:00
mycroft
0611fc34f8
Don't actually touch the hardware in set_params; defer that until we actually
...
start a transfer. Instead, just check that the parameters are valid.
Also, use 16-bit output for u-law and a-law.
1998-08-09 06:38:30 +00:00
wrstuden
26e55969e4
Initialize the struct tty's t_dev field at attach rather than first open.
...
The attach routine calls zsparam if we're setting up the console, and
zsparam needs this field to tell which zstty to set up. Otherwise, we
set up zstty0 even if it's not the console!
1998-08-09 06:17:07 +00:00
mycroft
9bedf069cd
Mask off extra usemode bits.
1998-08-09 05:44:51 +00:00
mycroft
5eba82397c
Oops; fix typo.
1998-08-09 04:59:55 +00:00
mycroft
017b9af5fe
Clarify with a specific reference to the manual page in question.
1998-08-09 04:58:08 +00:00
mycroft
b3853549b3
Always copy back both the record and play parameters, in case the driver had
...
to change one behind our back.
1998-08-09 04:54:44 +00:00
mycroft
12f5a41e1f
Make the previous slightly more robust, and set AUDIO_PROP_INDEPENDENT.
1998-08-09 04:40:55 +00:00
mycroft
c8532af3b2
Make sure the sample rate is the same on both channels, tracking the change
...
from one channel to the other if only one is active.
1998-08-09 04:14:47 +00:00
mycroft
759ca5ee0c
The manual says to use the other crystal for 22050Hz.
1998-08-09 03:48:42 +00:00
mrg
5d236ade07
minr KNF nit ..
1998-08-09 03:16:23 +00:00
mrg
fe3c14b64d
use __sparc__ not sparc
1998-08-09 03:12:39 +00:00
mycroft
565adbaffb
Set the FIFO control bits correctly so that stereo recording works.
1998-08-09 02:54:50 +00:00
mycroft
80457a2c65
Use auto-initialize DMA for recording.
1998-08-09 02:05:52 +00:00
mycroft
093a8daf6b
Go to splhigh in the debugger.
1998-08-09 00:00:57 +00:00
mycroft
e2686d0a1b
Use splnet, not splimp.
1998-08-08 23:51:39 +00:00
mycroft
c49235f44c
Use splnet(), not splimp().
1998-08-08 23:44:12 +00:00
mycroft
7795559d04
Use splaudio on the arm32 port.
1998-08-08 23:40:03 +00:00
mycroft
d5eb56b2c2
Move splclock and splaudio outside splimp.
1998-08-08 23:39:38 +00:00
thorpej
f996a2e194
Define IFM_INST_MAX, the largest possible "instance" value.
1998-08-08 22:12:30 +00:00
mycroft
254afcaecb
Sleeping forever kinda sucks.
1998-08-08 21:37:00 +00:00
scw
09502c9fb2
Fix -Werror compilation failure due to lack of a couple of 'const's.
1998-08-08 20:57:55 +00:00
mycroft
17932f0575
Set the correct modes for the record channel.
1998-08-08 20:55:36 +00:00
ragge
e9534620b0
Netboot support for KA46 (VS4000/60).
1998-08-08 16:10:41 +00:00
kleink
88191aeeee
Reduce this file as done in the Alpha RAMDISK configuration, which makes
...
keeping it in sync less prone to errors.
1998-08-08 12:59:43 +00:00
kleink
4d9c340f85
Pathconf: for V2 mounts, revert back to failing with EINVAL if an RPC would
...
be necessary to obtain the information, as this fits the pathconf semantics
of `no association supported' better than `no limit available.'
1998-08-08 11:39:20 +00:00
ragge
8fdb1c8ebe
Lots of kernlib functions rewritten as inline macros.
1998-08-08 11:18:32 +00:00
augustss
94e9a8651a
Forgotten to commit this in last change.
1998-08-08 11:00:33 +00:00
ross
815f9f2445
1. Untangle preprocessor conditionals for sanity and {} balance
...
2. Fix a race between the first callout and the first non-polled ncr_start()
1998-08-08 00:14:08 +00:00
kleink
86233eeede
Regen again, to indicate which master revision these were generated from.
1998-08-07 17:21:35 +00:00
minoura
a6b5ab0c92
Moved parioctl.h to the system header directory.
1998-08-07 16:16:36 +00:00
minoura
4c4cdda003
Switched to MI zs driver.
1998-08-07 11:19:13 +00:00
kleink
e081a838b5
Add client pathconf support.
1998-08-07 11:02:39 +00:00
drochner
dabc8eb436
Implement the 'i' flag which makes the bootloader ask for the file to
...
load (as in OSF/1).
Useful for netboot where "-file" doesn't work as needed.
1998-08-07 10:38:37 +00:00
drochner
49637cda8d
use an md keyboard beep replacement function on alpha too
1998-08-07 10:28:36 +00:00
drochner
e8564df3b9
implemt a simple "beep" device to access the ISA speaker
1998-08-07 10:26:38 +00:00
drochner
026fbbe2db
Match PCI-ISA bridges on class/subclass instead of vendor/device.
...
2 reasons:
-no need to keep a list of all known parts
-there is at least 1 bridge (ACC micro 2051) which reports the same
device ID for its various subfunctions; this would require an additional
check in the match function
(keep the old list inside #if 0 in case one of the historical bridges
doesn't report the right class/subclass - I can't check them all)
1998-08-07 10:15:32 +00:00
thorpej
9bb616c621
Regen.
1998-08-07 06:59:31 +00:00
thorpej
88c6239026
Add product IDs for the 3Com Cyclone-based PCI Ethernet devices,
...
the 3c90xB DMA-only cards.
1998-08-07 06:58:57 +00:00
thorpej
558733ffc6
Track our carrier status and report it in the media status callback.
1998-08-07 05:55:14 +00:00
matt
202c97c54d
Add an isapnp frontend for the ess driver. It somewhat works
...
(sounds is made but one buffer is played continuously).
1998-08-07 00:53:23 +00:00
matt
7b044dea51
Make the irq checking logic somewhat less bogus.
1998-08-07 00:51:06 +00:00
augustss
51bb504a6e
Report a sensible MIDI device name.
1998-08-07 00:28:20 +00:00
augustss
48bae9ee88
Add MIDI support. The MIDI devices can be accessed as ``raw'' through
...
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
kleink
741d372539
Like for NFSv2, add a pointer to the NFSv3 RFC, too.
1998-08-06 19:44:28 +00:00
thorpej
ddb9746a51
Define the minimum and maximum "network type" values. These values are
...
incremented by the minimum to interate through them.
1998-08-06 19:16:37 +00:00
minoura
d082dd3db4
Moved grfioctl.h and iteioctl.h to the public include directory.
1998-08-06 14:08:53 +00:00
augustss
02c9ad1755
And fix pastos.
1998-08-06 12:26:51 +00:00
augustss
a79bb0d7ae
Fix tyop.
1998-08-06 12:23:39 +00:00
kleink
546365a27e
_POSIX_SOURCE -> _POSIX_C_SOURCE
1998-08-06 11:25:04 +00:00
kleink
709dda58f8
_POSIX_SOURCE -> _POSIX_C_SOURCE, and add missing protection bits.
1998-08-06 11:22:57 +00:00
drochner
e2a2525203
fix incorrect length of LOCATE CDB (reported in PR kern/5306 by
...
Dave Huang <khym@bga.com>)
1998-08-06 10:20:38 +00:00
perry
62cff0207c
comment out the prototypes for bcopy, ovbcopy, bzero, and bcmp.
...
uncomment macros transforming into memcpy, memmove, memset and memcmp.
the prototypes should be deleted from the file some time soon.
1998-08-06 04:50:14 +00:00
perry
b84f472652
Sigh. "consts in prototypes can be quite a drag..."
...
fix last two fixes one more time, this time dealing with ugly
prototype issues, including the fact that the bcopy returns nothing,
but memcpy returns a void *. Never mind that we don't use it...
1998-08-06 04:37:57 +00:00
perry
9f63941cfa
Fix botched prototype decl in last fix.
1998-08-06 04:25:55 +00:00
perry
df410f33db
Convert bcopy,bzero to memcpy,memset
...
This was semi-nontrivial, since a function pointer to bcopy gets used
in this file.
Note #1 : The catchpacket routine, which takes a function pointer to
bpf_mcpy or memcpy, should probably be converted to take a
flag that just says which is used, so memcpy can be inlined.
Note #2 : The code is heavily #ifdef'ed to run on older operating
systems. We probably want to clean that cruft out, unless
someone is planning a new release of the code at LBL (doubtful.)
1998-08-06 04:24:25 +00:00
mrg
7ba85a8779
if syscall_debug & compat_sunos, include sunos_syscalls.c
1998-08-06 02:58:44 +00:00
thorpej
dd588c0660
Add a macro to create a media word from type, subtype, options, and instance.
1998-08-06 02:38:19 +00:00
thorpej
b04ded7264
Completely rewrite the way media descriptions are represented. The same
...
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.
1998-08-06 02:19:34 +00:00
kleink
e2a897639d
KNF (only include one of <sys/{param,types}.h>).
1998-08-05 16:50:39 +00:00
augustss
0c6791d804
Add macro to test iobase validity.
1998-08-05 16:40:22 +00:00
augustss
28e2d6024a
Clarify a comment.
1998-08-05 16:38:09 +00:00
augustss
d8582601c5
Make panic message a little more explicit.
1998-08-05 16:34:36 +00:00
drochner
32fce55082
Improve generation of default disklabels:
...
-store printable product ID in cd's and sd's softc, use it as "typename"
-for this, add a "destination buffer length" argument to scsipi_strvis()
-return ATAPI device type for ATAPI devices
1998-08-05 16:29:04 +00:00
minoura
4df8f47ebc
Switched to MI zs driver.
1998-08-05 16:08:33 +00:00
minoura
e8551dcab3
Fixed stray pointer access reported by Yasufumi Itoh.
1998-08-05 15:57:43 +00:00
minoura
89f91f85fa
Fixed typo.
1998-08-05 14:40:20 +00:00
augustss
a0aeff98c4
Fix two pastos.
1998-08-05 10:16:25 +00:00
perry
c3579ce3f5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-05 02:45:08 +00:00
perry
54f97ab9d1
bzero->memset, bcopy->memcpy
1998-08-05 02:28:26 +00:00
perry
584757c02b
bzero->memset
1998-08-05 02:11:00 +00:00
perry
bf0943278c
Fix a problem first noticed by a user with a screwed up real time
...
clock past the End of Time.
If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).
This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037. This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.
This kludge is conditioned on an
if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.
Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
perry
f15ade7552
enable nanosleep in linux emul, per pr-5906 from Soren S. Jorvang
1998-08-05 00:44:32 +00:00
thorpej
9186d2da5c
Simple instrumentation of pmap_steal_memory().
1998-08-04 22:40:17 +00:00
jonathan
71c8693225
Add missing "-a" to mkdep line for pmax locore_machdep.S.
...
From Noriyuki Soda.
1998-08-04 20:17:09 +00:00
mark
25997dd19d
IPL_TTY -> IPL_SERIAL.
1998-08-04 20:09:37 +00:00
kleink
7b07ad780a
Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less
...
than or equal to 0 shall fail with EMSGSIZE; the latter condition was not being
checked for. Also, document the msg.msg_iovlen > {IOV_MAX} case.
1998-08-04 19:48:34 +00:00
mark
b6ffd3a85e
Don't call cpu_tlb_flushID() from the pmap_update macro.
1998-08-04 19:11:29 +00:00
dbj
e9545cf241
Fixed memory probe for color turbo machines.
1998-08-04 19:08:23 +00:00
mark
167a777474
Drop in the lastest round of optimisations from Neil Carson.
...
The cache cleaning code in pmap_copy_page() and pmap_zero_page()
has been rewritten and uses a new function pmap_clean_page().
pmap_remove() has been completely rewritten to make it more efficient
when there are only a few pages that actually need to be removed.
1998-08-04 19:02:19 +00:00
minoura
b72d8d17f9
__BROKEN_INDIRECT_CONFIG fixes.
1998-08-04 16:51:51 +00:00
minoura
ea7f1dbe36
Some files were not deleted with make clean.
...
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
mark
47ac4421e0
In setregs(), only pass the stack value in r12 if COMPAT_1[123] is defined.
1998-08-04 16:25:28 +00:00
mark
4b14908352
Fix the validation of source addresses in db_read_bytes() so that
...
memory ranges mapped with L1 section mappings do not cause aborts
due to lack of L2 page table.
1998-08-04 16:19:54 +00:00
mark
e9c872cd6b
Define a macro L1_MASK to mask out the level 1 pde type bits.
1998-08-04 16:16:22 +00:00
minoura
aced90770c
Message fixes.
1998-08-04 16:10:45 +00:00
minoura
233cd5d60b
RB_POWERDOWN is now supported.
...
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
augustss
f76fb48283
Use looping DMA for play channel.
...
More cleanup.
1998-08-04 13:14:42 +00:00
kleink
c6ef57702d
UIO_MAXIOV -> IOV_MAX
1998-08-04 12:19:15 +00:00
augustss
5b057ab09f
Allow option AUDIO_INTR_TIME even if the platform does not support
...
FP in the kernel.
1998-08-04 11:26:14 +00:00
kleink
3dc1e8147c
Kill "options FIFO" - they're mandatory now.
1998-08-04 11:19:02 +00:00
perry
242ff31b91
update bzero.c to stub from libc/string
1998-08-04 06:27:08 +00:00
perry
974739923b
replace several special targets with stub .c files, as in libc/string
1998-08-04 05:01:58 +00:00
perry
275d1554aa
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
...
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
1998-08-04 04:03:10 +00:00
perry
4d4aa090e9
add memcmp.c
1998-08-04 03:40:43 +00:00
perry
16039920c8
remove memcpy.c -- I forgot this gets built anyway
1998-08-04 03:40:12 +00:00
perry
612c53d05f
add memcmp.c
1998-08-04 03:39:49 +00:00
perry
0b8f8ffda2
remove memmove.c -- I forgot this gets built anyway
1998-08-04 03:38:28 +00:00
perry
58af7a969a
add memcmp.c memcpy.c memmove.c
1998-08-04 03:37:03 +00:00
perry
a611b37e29
add memcmp.S memmove.S
1998-08-04 03:35:59 +00:00
perry
6ee9cbf929
add memcmp.S memmove.S
1998-08-04 03:30:30 +00:00
perry
5ede68eddb
add memcmp.c memmove.S
1998-08-04 03:17:39 +00:00
perry
e0f41ebe62
add memmove.S
1998-08-04 03:16:19 +00:00
mark
d91830b032
Namespace cleanup. Prefix all the JMPBUF* macros with _JB.
1998-08-04 02:01:17 +00:00
perry
542f66b672
add memmove.S
1998-08-04 01:41:26 +00:00
perry
6ea886d397
add memcmp.S
1998-08-04 01:40:57 +00:00
perry
a8627d22ba
Fix formatting, and add memmove.S
1998-08-04 01:14:36 +00:00
perry
534fb67f27
fix silly comment typo
1998-08-03 20:32:48 +00:00
kleink
3d9b4a4320
Fix two off-by-one bugs, both present in each recvmsg(2) and sendmsg(2):
...
* the first one would cause an unnecessary malloc() of iovec storage for
a msg_iovlen of UIO_SMALLIOV although the required amount of memory has
been allocated on the stack.
* the second one would cause a recvmsg() or sendmsg() with a msg_iovlen of
UIO_MAXIOV to fail with EMSGSIZE, which is also a violation of XNS5.
1998-08-03 15:15:58 +00:00
kleink
c68582d64b
UIO_MAXIOV -> IOV_MAX
1998-08-03 15:01:00 +00:00
kleink
5404ba4886
Add support to query the
...
* availability of POSIX Synchronized I/O (kern.synchronized_io),
* maximum number of iovec structures to be used in readv(2) etc. (kern.iov_max)
via sysctl().
1998-08-03 14:38:20 +00:00
kleink
93897b8303
Per XSH5, define IOV_MAX which is provided via <limits.h>, and declare
...
UIO_MAXIOV deprecated.
1998-08-03 14:27:50 +00:00
kleink
af261318d9
Now that we have it, add a conversion for _PC_SYNC_IO.
1998-08-03 14:23:30 +00:00
kleink
12a866151b
Recognize _PC_SYNC_IO.
1998-08-03 14:19:57 +00:00
kleink
d2753d235a
Add _POSIX_SYNCHRONIZED_IO, _SC_SYNCHRONIZED_IO, _SC_IOV_MAX and _PC_SYNC_IO.
...
Fix a typo.
1998-08-03 14:16:04 +00:00
leo
5429ccda94
Pass the dma_tag to _bus_dmamap_load_buffer.
1998-08-03 13:09:01 +00:00
thorpej
1b58f59205
Add IFM_10_FL - 10baseFL (fiber)
1998-08-03 12:42:26 +00:00
augustss
ac2b25e392
Improve some error messages.
...
Make some preparations for isochronous transfers.
1998-08-02 22:30:52 +00:00
augustss
607075abc6
Use wskbd enable function.
1998-08-02 22:27:01 +00:00
mark
70fe6c76a1
Pass ps_strings in r0 when execing processes.
...
Use macros rather than absolute values in zero_page_read*() functions.
1998-08-02 21:50:31 +00:00
kleink
005ae749a7
Oops, make a sentence added in previous commit parseable.
1998-08-02 19:42:35 +00:00
nathanw
e719e2f606
Bump version to 1.3G:
...
- mbuf interface change from poolification (removal of m_clalloc).
- vnode IO_SYNC/IO_DSYNC interface change.
1998-08-02 19:19:11 +00:00
thorpej
85b7cfc8c3
Make sure we initialize pr_nidle.
1998-08-02 19:07:47 +00:00
kleink
933111f98f
Implement support for IEEE Std 1003.1b-1993 synchronous I/O:
...
* in the read vnode operator, check for IO_SYNC being set in the ioflag and
synchronously update the file's meta-data if appropriate.
* in the write vnode operator, update the appropriate checks for IO_SYNC being
set in the ioflag to reflect that IO_DSYNC is now inclusive-or'ed into
IO_SYNC, and require all IO_SYNC bits to be set for operations defined by
synchronized I/O file integrity completion but not by synchronized I/O data
integrity completion.
1998-08-02 18:57:23 +00:00
kleink
b7877d3fc0
Implement support for IEEE Std 1003.1b-1993 syncronous I/O:
...
* if synchronized I/O file integrity completion of read operations was
requested, set IO_SYNC in the ioflag passed to the read vnode operator.
* if synchronized I/O data integrity completion of write operations was
requested, set IO_DSYNC in the ioflag passed to the write vnode operator.
1998-08-02 18:39:14 +00:00
kleink
d8b09acbf7
Per IEEE Std 1003.1b-1993, Synchronous I/O Option, add O_DSYNC (synchronized
...
I/O data integrity completion) and O_RSYNC (complete read operations at the
same level of integrity requested for write operations).
1998-08-02 18:31:09 +00:00
kleink
5e466df173
Add a new I/O flag, IO_DSYNC, which requests the operation do to synchronized
...
I/O data integrity completion and change IO_SYNC (synchronized I/O file
integrity completion) do inclusive-or it, since it's a superset of the former.
1998-08-02 18:26:30 +00:00
sommerfe
6ee9772e54
Fix PR5898: ppp delays last packet.
1998-08-02 15:09:50 +00:00
drochner
0dc548ce7d
Adapt to wskbd interface changes; add dummy enable/disable function.
1998-08-02 14:22:25 +00:00
drochner
86b0985e69
Adapt to wskbd interface changes; implement enable/disable function.
...
Disable the keyboard on attach if not console.
1998-08-02 14:21:02 +00:00
drochner
4ee71fe4f4
Split the wskbd_attach arguments into console and autoconfiguration parts
...
(again); put some constant data into shared structures. This makes it
more look like the mouse part, and it helps USB integration.
Implement wskbd_enable() to enable/disable the keyboard.
1998-08-02 14:18:07 +00:00
thorpej
a4c7bab10e
Use the pool allocator for sockets.
1998-08-02 04:53:11 +00:00
thorpej
0e28b643e9
Use a pool for proc structures.
1998-08-02 04:41:32 +00:00
thorpej
6f739e1a66
Fix a braino in the idle page instrumentation.
1998-08-02 04:34:46 +00:00
thorpej
833061914a
Use the pool allocator for tcpcbs.
1998-08-02 00:36:19 +00:00
thorpej
d319e4b419
Use the pool allocator for syn_cache entries.
1998-08-02 00:35:51 +00:00
thorpej
47e9dcf841
Use the pool allocator for inpcbs.
1998-08-02 00:35:31 +00:00
thorpej
7c61b8cdd8
Instrument "idle pages" (i.e. pages which have no items allocated from
...
them, and could thus be freed back to the system).
1998-08-01 23:44:20 +00:00
thorpej
bf8f319d0e
Remove some lint.
1998-08-01 21:12:32 +00:00
augustss
eba74b9369
Abort interrupt pipe on disconnect.
1998-08-01 20:52:45 +00:00
thorpej
8eeb95fce4
Implement pci_intr_disestablish().
1998-08-01 20:25:12 +00:00
augustss
6aff95b06c
Make sure to abort the interrupt pipe on disconnect of a mouse or keyboard.
...
Improve some error messages.
1998-08-01 20:11:38 +00:00
thorpej
92fa3a68ad
In sio_intr_disestablish, also make sure that IRQs 0, 1, 8, and 13
...
default to edge-triggered, just like in the setup.
1998-08-01 19:38:29 +00:00
thorpej
0b60fda7c8
Implement sio_intr_disestablish(), and ensure that an initially-enabled
...
interrupt is never disabled and an initially-level-triggered interrupt
never becomes untyped.
1998-08-01 18:54:21 +00:00
thorpej
528dab6808
Implement alpha_shared_intr_disestablish(). Simply removes the handler
...
fromthe list, allowing the caller to manipulate the sharing type,
if appropriate.
1998-08-01 18:52:36 +00:00
augustss
f654e0188e
Switch from a global flag to tell if the host controller should use
...
polling to a local one for each controller.
1998-08-01 18:16:19 +00:00
augustss
5a1f4dd6bc
Complete the scancode conversion table.
...
Tell the keyboard not to send idle reports.
1998-08-01 17:46:22 +00:00
scw
aec399e36f
Changes to keep lint happy.
...
In particular, fix some Makefiles so the include
paths are passed to lint.
1998-08-01 11:22:51 +00:00
thorpej
3c658f1f41
Don't call the protocol drain routines if how == M_NOWAIT, which typically
...
means we're in interrupt context. Since we can be called from a network
hardware interrupt, we could corrupt the protocol queues we try to drain
them at that time.
1998-08-01 01:47:24 +00:00
thorpej
45d17e02f7
We need to be able to specify a uvm_object to the pool page allocator, too.
1998-08-01 01:39:03 +00:00
thorpej
c56c24f4fd
Initialize the mbuf allocator _before_ autoconfiguration; it might be
...
called when devices attach, take two.
Note that it is necessary that mbinit() NOT allocate memory, since it
is called before mb_map is created. This is not a problem with the
pool allocator that is now used for mbufs and mbuf clusters.
1998-08-01 01:36:35 +00:00
thorpej
e7521693c1
Use the pool allocator for mbufs and mbufs clusters (two pools, one for
...
each). Partially from pk@netbsd.org .
1998-08-01 01:35:20 +00:00
thorpej
e8b92fa131
Oops, back out previous. I need to attack that problem differently.
1998-08-01 01:20:43 +00:00
augustss
ce69d417a2
Make it compile without DIAGNOSTIC
1998-07-31 23:54:09 +00:00
perry
2b8a659f68
make libkern build memmove() properly
1998-07-31 23:44:41 +00:00
perry
730baa7431
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
1998-07-31 22:50:48 +00:00
pk
6c727e1651
dvma_malloc(), dvma_mapin() and dvma_mapout() are gone; all drivers
...
the use bus_dma(9) interface now.
1998-07-31 22:35:07 +00:00
pk
359cf8c23d
Move `dvma_cachealign' here from vm_machdep.c
1998-07-31 22:23:30 +00:00
pk
a0818b4b8b
Use bus_dmamem_alloc/bus_dmamem_map.
1998-07-31 22:21:35 +00:00
thorpej
17e88cf50e
Initialize the mbuf allocator _before_ autoconfiguration; it might be
...
called when devices attach.
1998-07-31 21:59:55 +00:00
thorpej
fe7696eacb
Un-static pool_head; vmstat wants to find it.
1998-07-31 21:55:09 +00:00
thorpej
55bf1fd9ad
Allow an alternate splimp-protected map to be specified in the pool page
...
allocator routines.
1998-07-31 20:46:36 +00:00
mjacob
6e34b79e01
Suggestion from Matthias Drochner: If at close you decide to write
...
filemark 'coz you opened write only and didn't do anything else,
call st_check_eod to possibly write TWO furshlugginer filemarks.
Also- return any errors from writing filemarks out of stclose.
1998-07-31 17:25:55 +00:00
thorpej
0869d8f714
Blargh, deal with some fallout from the ISA PnP goo, this will go away once
...
we can pull in files.isa properly.
1998-07-31 16:42:01 +00:00
pk
519f1f7f0e
Convert to bus dma.
1998-07-31 15:53:11 +00:00
kleink
17de9df6c1
Reject an iovcnt argument of 0 to readv(), writev(), preadv() and pwritev()
...
as invalid. This has been stated by the respective manual pages at least
since Net/2, and is the behaviour specified by XSH5.
1998-07-31 15:38:58 +00:00
ross
22554e01a9
Following discussions with eeh and mrg, change most of these types so
...
that they should make an ILP32 setup with an ILP32 compiler and an LP64
setup if run through an LP64 compiler. None of the data sizes actually
change right now, and any type errors that show up would have to be fixed
eventually anyway.
1998-07-31 15:30:40 +00:00
augustss
6b407a79c6
Major cleanup of the ESS driver. It now sorta works. More to come.
1998-07-31 15:17:17 +00:00
mycroft
a24dbc8065
(Always) (practice) (safe) (macro expansion).
1998-07-31 15:07:41 +00:00
pk
c206cad36e
Convert to bus_dma.
1998-07-31 12:45:48 +00:00
thorpej
53878c1925
Change one word to be consistent w/ a previous message.
1998-07-31 05:37:02 +00:00
thorpej
99d64ae1ca
Oops, unused variable.
1998-07-31 05:29:48 +00:00
thorpej
4ea9132164
Rearrange isapnp_callback() slightly.
1998-07-31 05:28:24 +00:00
thorpej
c489673819
Ensure we're probed only once per ISA bus.
1998-07-31 05:26:15 +00:00
wrstuden
06761b1ed4
Merge in a register definition mentioned only in passing in one place in
...
the Zilog docs.
1998-07-31 05:08:38 +00:00
thorpej
6ec566abd2
Add BeBox support.
1998-07-31 04:56:55 +00:00
thorpej
46c7e2fa53
ISA PnP goo.
1998-07-31 04:55:30 +00:00
thorpej
2e33e4c2fa
First-cut support for ISA PnP for NetBSD/bebox.
1998-07-31 04:54:38 +00:00
thorpej
c46ad7a0cc
Add NetBSD/arm32 support.
1998-07-31 04:50:54 +00:00
thorpej
29ad6dac50
ISA PnP goo.
1998-07-31 04:50:01 +00:00
thorpej
6f3b1afe37
First-cut ISA PnP support for NetBSD/arm32.
1998-07-31 04:48:42 +00:00
thorpej
171cebde9c
Actually add support for the Atari.
1998-07-31 04:45:01 +00:00
thorpej
92d42c0871
Add a comment about why we can (and must) use bus_space_{,un}map() directly
...
in this file.
1998-07-31 04:44:10 +00:00
thorpej
75db93cec2
Pull in files.isapnp here; the two busses are linked together quite closely
...
(more than we'd like maybe, but don't we wish ISA didn't suck...)
1998-07-31 04:40:39 +00:00
thorpej
a138b68143
Don't include files.isapnp here.
1998-07-31 04:39:23 +00:00
thorpej
9589268364
Add unused zskbd and zsms entries, and ISA PnP entry.
1998-07-31 04:38:51 +00:00
thorpej
e2ce6c8a28
Machine-dependent ISA PnP goo for NetBSD/alpha.
1998-07-31 04:38:04 +00:00
thorpej
f948e430bb
Provide a hook for bypassing space accounting, needed to support ISA PnP
...
for now.
1998-07-31 04:37:02 +00:00
thorpej
54de49fcb9
Add support for NetBSD/alpha.
1998-07-31 04:35:22 +00:00
thorpej
f40a42d5c4
Use config_defer() to scan for ISA PnP cards.
1998-07-31 04:00:35 +00:00
mjacob
b90b2a3798
Several more changes. First of all, move CTRL_MODE to have I/O behaviour
...
like a no-rewind device. Secondly figure out whether the initial TUR
for a CTRL_MODE open resulted in a tape being actually found (if so,
then do a mount session).
Move the 'sun compatibility' behaviour into stdone && stclose- don't
mark a tape as having been written in stopenm, fer gosh sakes.
1998-07-31 04:00:22 +00:00
thorpej
03ffe0a516
Use the pool allocator for scsipi_xfer structures.
1998-07-31 03:00:51 +00:00
thorpej
310dc86986
Add PR_NOWAIT (0) for symmetry.
1998-07-31 02:53:34 +00:00
thorpej
6056af462f
Use the pool allocator for vndxfer and vndbuf structures.
1998-07-31 02:24:26 +00:00
thorpej
dcfe0e1506
Back out part of previous; it is perfectly reasonable, and desirable, to
...
print out debugging info ifdef DEBUG.
1998-07-31 02:14:40 +00:00
thorpej
ecf815f930
Back out previous; it is perfectly reasonable, and desirable, to print out
...
debugging info ifdef DEBUG.
1998-07-31 02:10:12 +00:00
mjacob
bec14b0ce3
Part A (Cosmetic nonsense):
...
>We're not Linux. If we still want driver version strings to be displayed
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
Part B:
Field interrupts in OS layer so that (in this OS) bus_dmamap_sync(POSTREAD)
can (formally) ensure that the result queue is stable wrt to buffering
and that for sending a command a bus_dmamap_sync(PREWRITE) is done to
ensure that the device gets a good view of what the mailbox contents
should be.
1998-07-31 02:08:16 +00:00
mjacob
36f9ab27ce
>We're not Linux. If we still want driver version strings to be displayed
...
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
1998-07-31 01:56:49 +00:00
thorpej
4356136193
Use the pool allocator for component buffer headers.
1998-07-31 01:23:56 +00:00
rvb
11c3d96b49
Flush spurious #endif after ADDMULTI
1998-07-31 01:10:13 +00:00
thorpej
3cd681ef27
Typo.
1998-07-31 00:42:31 +00:00
thorpej
34529b444b
From cd.c: call disk_unbusy() if we are unable to enqueue our command.
1998-07-30 23:57:07 +00:00
pk
6026f141fd
Enable bus_dmamem_alloc/bus_dmamem_map
1998-07-30 22:44:51 +00:00
pk
af89712b25
Use bus_dma_*() instead of dvma_mapin/dvma_mapout.
1998-07-30 22:42:04 +00:00
pk
32a5557426
Adapt to changes in the base bus_dma* functions.
1998-07-30 22:29:34 +00:00
pk
8a39d7a7fb
The IOMMU now has its own dma bus tag and associated functions.
...
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.
1998-07-30 22:28:44 +00:00
pk
862c0bafcc
Define a BUS_DMA flag for devices that have a 24-bit address space.
...
Update _bus_dma* prototypes.
1998-07-30 22:20:31 +00:00
thorpej
bf52ef5697
Squash unused variable.
1998-07-30 22:17:34 +00:00
thorpej
7b68dfc9c7
Fixup include paths.
1998-07-30 21:58:48 +00:00
thorpej
d85ed3d973
Put the SoundBlaster stuff back for files.ofisa (Until we can just
...
properly include files.isa).
1998-07-30 21:51:00 +00:00
is
ae2fb64e3a
Document supported boards near the top of the driver source code.
1998-07-30 21:28:15 +00:00
thorpej
4f8d24662e
Uncomment the SoundBlaster ofisa attachment; the Shark isn't the only
...
potenial user of ofisa (e.g. my FirePower). An ofisa attachment for the
SoundBlaster is prefectly legitimate.
1998-07-30 21:25:05 +00:00
thorpej
0bd4f9291c
Use the correct "compatible" strings (ESS, not generic SB!), and correct
...
some comments about what we expect as far as interrupt and dma properties.
1998-07-30 21:22:59 +00:00
thorpej
16ad73c288
Add the Simple Technology Communicator 28.8.
1998-07-30 20:47:11 +00:00
thorpej
b25d4941cd
Regen.
1998-07-30 20:45:35 +00:00
thorpej
965404c104
Add Simple Technology vendor ID, and Simple Technology Communcator 28.8
...
product ID.
1998-07-30 20:44:25 +00:00
pk
741c837f77
Get to DMA map functions through parent tag, instead of calling some base
...
functions directly.
1998-07-30 18:54:06 +00:00
christos
b7a585b61d
Use the previously committed pnp hook.
1998-07-30 18:03:34 +00:00
christos
c1303944f7
Add a hook that resets the bios configuration from the pnp devices
...
thus making them invisible to isa probes [from OpenBSD]
1998-07-30 18:02:50 +00:00
christos
dd49f248a4
Protect against multiple inclusions.
1998-07-30 18:01:44 +00:00
is
8bd9c69e11
Multicast support.
1998-07-30 16:40:19 +00:00
augustss
c0ca4781ed
ESS attachments for ofisa.
1998-07-30 14:15:59 +00:00
augustss
cdeb158d5f
A first stab at making the SHARK sound work. It doesn't really work
...
yet, but it probes and makes a noise when used. Stay tuned!
1998-07-30 14:11:42 +00:00
mrg
7712d62ed7
allow ${SIZE} to be set from the environment, also allow using genassym.sh (both for cross compiling).
1998-07-30 13:34:09 +00:00
leo
3a8b550914
Make this a bit more complete. (Triggered by Julian Coleman ;-)
1998-07-30 12:02:41 +00:00
drochner
326ffe6cd3
regen
1998-07-30 09:47:49 +00:00
drochner
085f3ce0cc
add entry for Boca 56k (from Fujie Zhang <fzhang@NMSU.Edu>)
...
update comment for OPL3-SA2 / OPL3-SA3 (same PnP ID)
1998-07-30 09:45:16 +00:00
mjacob
e404c0efec
Some minor comment tweaking.
...
Also- to be fair and on review, kern/391 isn't really addressed by
the previous commits. In reviewing, I'm embarassed to find that this
talks about reading at EOT. I'm actually going to claim that this
is 'not a bug' or 'fixed already' in that at the end of media (at the
edge of recorded media), you may continuously open the tape (should
you choose to) issue a read, and zero bytes will transfer- this is a
sufficient EOF indicator.
1998-07-30 04:11:43 +00:00
mjacob
c45a129a99
Clarify and name some of the 'open' modes. Clarify a few comments. Remove
...
a now unused variable. Also, remove the restriction against at density
code being greater than the max SCSI 2 density code: 0x80..0xff are the
Vendor Unique codes and most certainly should be allowed. The check for
invalid values should be less than 0 or greater than 255.
Oh- yeah, the previous commit addressed kern/391.
1998-07-30 03:17:22 +00:00
mjacob
7692effeed
Make some changes wrt EOM behaviour. Distinguish EIO_PENDING from
...
EOM_PENDING. Set up a persistent EARLYWARNING behaviour flag. If
set, EOM behaviour forces a 'short read' to signal logical (as
opposed to physical) end of media. The user application may, of
course, do with this information what it will.
The EARLYWARNING behaviour may be enabled/disabled by a MTIOCTOP
operation. The default action is to not have EARLYWARNING enabled-
but this may be reversed by an option ST_ENABLE_EARLYWARN in
the kernel build.
1998-07-30 00:55:20 +00:00
mjacob
4205ca3d2a
opt_scsiverbose.h now is opt_scsi.h and contains the defopted
...
SCSIVERBOSE and the new ST_ENABLE_EARLYWARN.
1998-07-30 00:49:19 +00:00