bouyer
d6c3ef56b4
Guard pool_get()/pool_put() with splbio()/splx(). Fix kern/8245.
1999-08-25 17:08:20 +00:00
augustss
02a79dc13e
Add Multitech MT5634ZBA. From FreeBSD.
1999-08-25 16:28:12 +00:00
itojun
809ab7f1ff
When listening socket goes away, remove assockated syn cache entires.
...
Stale syn cache entries are useless because none of them will be used
if there is no listening socket, as tcp_input looks up listening socket by
in_pcblookup*() before looking into syn cache.
This fixes race condition due to dangling socket pointer from syn cache
entries to listening socket (this was introduced when ipsec is merged in).
This should preserve currently implemented behavior (but not 4.4BSD
behavior prior to syn cache).
Tested in KAME repository before commit, but we'd better run some
regression tests.
1999-08-25 15:23:12 +00:00
sommerfeld
197579af47
Change variable used for directory offset from "int" to "off_t".
...
Overkill, but avoids a host of truncation problems.
1999-08-25 14:42:35 +00:00
itojun
ad853adad7
sync with recent kame: fix source address selection on IPv6 tunnel ipsec.
1999-08-25 12:56:38 +00:00
itojun
d48c55f4f0
ctlinput handling must look at ip6_src, not ip6_dst.
...
(this makes path mtu handling wrong)
1999-08-25 12:38:14 +00:00
ad
9a61ce5bff
When clearing the entire display, point to the start of the framebuffer,
...
not start of console output. Also, do not advance by ri_delta every row.
1999-08-25 08:45:25 +00:00
nisimura
de9efb01d3
- Fix an error in cursor image manipulation. I learned a pair of Bt431
...
were populated in reverse order from PMAG-A MX ...
1999-08-25 07:56:22 +00:00
thorpej
4aafee104b
Regen.
1999-08-25 05:06:31 +00:00
thorpej
dc8ecaa15b
Overhaul of the SVID IPC facilities, primarily to use the types specified
...
by the Single UNIX Specification version 2, rather than the SVR2-derived
types. While I was here, I did a namespace sweep to expose the constants
and strucutures, and structure members described by SUSv2; documentation
updates coming shortly.
Fixes kern/8158.
1999-08-25 05:05:48 +00:00
thorpej
0174ee34d0
Add COMPAT_14.
1999-08-25 04:55:53 +00:00
thorpej
2c358fca82
Update for new msgctl()/semctl()/shmctl() calls.
1999-08-25 04:52:06 +00:00
thorpej
03a42efc4b
Regen.
1999-08-25 04:51:06 +00:00
thorpej
0dc5bd44d5
Update for new SVID IPC calls, and also update the list of syscalls
...
to include the complete set as of 9.x.
1999-08-25 04:50:53 +00:00
thorpej
0d32655143
Completely rewrite the HP-UX SVID IPC compat calls.
1999-08-25 04:50:08 +00:00
thorpej
c1f3fb3299
Regen.
1999-08-25 04:48:48 +00:00
thorpej
710fa26673
Update for new msgctl()/semctl()/shmctl().
1999-08-25 04:48:21 +00:00
thorpej
9244fc5b3e
Add compatibility calls for the 1.4 System V IPC *ctl() calls, and
...
update the 1.0 compat calls.
1999-08-25 04:47:12 +00:00
thorpej
ed1f903927
Regen.
1999-08-25 04:45:43 +00:00
thorpej
943b6fe91f
Update for new msgctl()/semctl()/shmctl(), and add fhopen(), fhstat(),
...
and fhstatfs().
1999-08-25 04:45:24 +00:00
simonb
d65a712698
Fix some small tyops.
1999-08-25 02:12:05 +00:00
christos
ec608f7058
changes from ppp-2.3.9 [synchronous]
1999-08-25 02:04:05 +00:00
nisimura
0bdb76e5cf
- 24bit per pixel TX framebuffer occupies 0x600000.
1999-08-25 02:02:22 +00:00
christos
6f3787b1ea
preliminary support for HDLCDISC [from pppd-2.3.9]
1999-08-25 01:47:33 +00:00
ross
3844ce8324
Spelling.
1999-08-25 00:59:08 +00:00
simonb
c8276b07d3
Remove ifdef'd alpha call to set_clockintr() - the pmax and alpha clock.c
...
have diverged, and set_clockintr() doesn't exist on the alpha anymore!
1999-08-25 00:44:36 +00:00
sommerfeld
2e649e46d3
Fix PR8270:
...
Problem turned out to be due to improper handling of reads beyond EOF:
they should just return without error with the uio unchanged, and the
caller will recognize this as a zero-byte return (EOF).
The previous fix to protect directory reads against bogus uio_offset
values returned EINVAL, which broke mount -o union, which only
union'ed in the lower directory if the upper directory cleanly
returned EOF.
While we're here, protect kernfs as well.
1999-08-24 23:29:08 +00:00
soren
aa550d38fb
Regenerate.
1999-08-24 21:32:25 +00:00
soren
fa181849a2
Add Intel i740.
1999-08-24 21:32:04 +00:00
soren
205c3f5a73
Regenerate.
1999-08-24 21:25:52 +00:00
soren
82cb092b79
Fix typo in comment.
1999-08-24 21:25:22 +00:00
tron
766b5fef17
Regen.
1999-08-24 17:48:31 +00:00
tron
7a80808434
Add Allied Telesis LA-PCM (NE2000 compatible) and Contec C-NET(PC)C
...
(MB8696x based) pcmcia ethernet cards. Patches supplied by
Kawamoto Yosihisa in PR kern/8260 and kern/8261.
1999-08-24 17:47:44 +00:00
christos
ebe3adee33
Someone removed dmap.h but forgot to remove it from here.
1999-08-24 16:32:46 +00:00
bouyer
4f806e660f
Fix for kern/7831 from Darren Reed after discussion on tech-net 2 weeks ago:
...
check that the packet if of the rigth protocol before giving it to the
proxy module, otherwise let the ipnat code handle it.
What happens in kern/7831 is that a router sends back a icmp message for
a TCP SYN, and ip_proxy.c forwards it to ip_ftp_pxy.c which can only
handle TCP packets. The icmp message is properly handled by ipnat, no need to
go to ip_ftp_pxy.c.
1999-08-24 16:10:35 +00:00
bouyer
075ea2cfea
Fix ifa_ifwithnet() for the netatalk case: netatalk uses blocks of addresses
...
which can't be handled by netmask, and ifa_ifwithnet() didn't find the
interface associated with an adress if it was in the same block but not with
the same prefix. This prevented 'route add' and atalkd to work properly
with some network configs.
This has been discussed on tech-net some weeks ago.
1999-08-24 16:02:27 +00:00
rh
5cfe8783f9
Regen.
1999-08-24 12:47:20 +00:00
rh
416c42cc34
Add AdLib MSC 32 Wave PnP board (wss audio device).
1999-08-24 12:46:55 +00:00
ad
c9adbf13c2
Update to match new rasops_init semantics.
1999-08-24 11:16:03 +00:00
ad
2c13aef146
- Update to match new rasops_init semantics
...
- Set RI_FULLCLEAR so that we clear the *entire* display
- Set RI_CURSOR and cursor position so that old cursor glyph gets wiped
Fixes PR: port-sparc/8121
1999-08-24 11:12:08 +00:00
ad
7f2b1ba8f2
- Change the semantics of rasops_init slightly
...
- Re-name rasops_setfont to rasops_reconfig
- Add some new run-time 'features'
- Bring all run-time 'features' under control of rasops_info::ri_flg
- Some cosmetic changes
1999-08-24 11:07:31 +00:00
itojun
fd8ab6e67c
sync with recent KAME.
...
bark when bogus prefix length (> 32 for IPv4, for exapmle) is specified.
1999-08-24 00:46:12 +00:00
augustss
1f2661798f
Make sure to mark the device as dying already in the (de)activate routine.
...
This avoids access to it before the detach routine has blown it away.
1999-08-23 22:55:14 +00:00
augustss
007da22e55
At attach time, get and print (parts of) the IEEE 1284 device id.
1999-08-23 22:35:19 +00:00
thorpej
4eaee7a5ce
This file is long since obsolete.
1999-08-23 22:30:52 +00:00
ross
52a638cbe3
Fix minor type () bug. Fall thru correctly when the minor type is not known.
1999-08-23 22:29:41 +00:00
thorpej
2cf3330a1b
Garbage-collect reference to <sys/dmap.h>.
1999-08-23 22:29:37 +00:00
thorpej
d30f8c710b
Erg, fix a typo that snuck in there.
1999-08-23 20:59:33 +00:00
ragge
86a3dd1701
Don't reference a unexisting address on 4000/90.
1999-08-23 19:10:43 +00:00
ragge
895fe9eaf6
Add support for 4000/90. Also handle interrupts more intelligent.
...
XXX - countdown doesn't work on 4000/90.
1999-08-23 19:09:27 +00:00
thorpej
0693721b59
A more-or-less complete list of the types used in HP-UX 9.x hp9000s300.
1999-08-23 18:40:43 +00:00
augustss
70020635c3
Regen.
1999-08-23 16:54:13 +00:00
augustss
c206e4ab37
Add a Kawatsu mouse.
1999-08-23 16:53:32 +00:00
christos
d6f8878423
PR/8254: Wolfgang Rupprecht: Incorrect logging of tcp connections; Fix src/dst
...
confusion.
1999-08-23 14:14:30 +00:00
pk
65cfdf2877
Disable inclusion of debugging code by default.
...
Turn compile-time flag I82586_DEBUG into a boolean switch.
1999-08-23 12:12:42 +00:00
pk
9fceb1947d
Do not report "spurious interrupts"; this is a relic of the PC-only
...
days of this driver.
1999-08-23 12:00:11 +00:00
kleink
ed6d5be482
Sync with libc: use _ALIGN_TEXT from <machine/asm.h>.
1999-08-23 09:07:35 +00:00
kleink
5663256d0a
Unlike in an i386 a.out assembler, where in an .align n directive n is meant
...
to be the logarithm to base 2 of the alignment, in an ELF environment n is
the actual alignment boundary; thus, adjust the directives accordingly.
Albeit the wonderful i386 architecture doesn't mind the smaller alignment in
an obvious way, it is likely to have resulted in some performance penalty
during the a.out->ELF transition.
1999-08-23 08:24:36 +00:00
augustss
592de98a19
Remove some unneeded needs-flag.
1999-08-23 07:07:47 +00:00
augustss
4c217fdaf8
Merge the soft_{td,ed} with the real {td,ed}. This saves time and space.
...
(And fix typo in corresponding uhci change.)
1999-08-22 23:41:00 +00:00
augustss
cc8b61583c
Merge the soft_{td,qh} with the real {td,qh}. This saves time and space.
1999-08-22 23:19:56 +00:00
augustss
be7e2fac07
More things to do...
1999-08-22 22:24:25 +00:00
augustss
1de0531d8b
Simplify ulptwrite() by calling usbd_bulk_transfer(). This also makes
...
it interruptible.
1999-08-22 22:22:43 +00:00
augustss
f747201099
Move more of the transfer completion processing to HC independent code.
...
Fix some problems with transfer abort & timeout.
1999-08-22 20:12:39 +00:00
kleink
79ce98b212
Per discussion with Lennart Augustsson, change the behaviour to report emulated
...
encodings, too. (This is currently an issue with the eso(4) driver, which,
due to different byte orders in playing and recording directions, sets the
emulated flag for all 16-bit encodings, although it could be argued that this
is an unfortunate weakness of the query_encoding() interface.)
1999-08-22 13:43:09 +00:00
kleink
6ddc52bb61
ONOEOT isn't X/Open.
1999-08-22 13:12:41 +00:00
kleink
a6a1795f0e
Nuke a comment of mine (obsoleted by previous revision).
1999-08-22 13:11:38 +00:00
matt
82d58cbe82
export elf_machdep.h
1999-08-21 23:35:44 +00:00
augustss
5d8adfb5a2
Disable interrupts early.
1999-08-21 21:35:36 +00:00
matt
741f18b695
Initial VAX ELF32 support (mostly untested). It's checked primarily for
...
testing and archival for now. I don't expect anyone to work with it
since the binutils and gas changes are still pending. But you got to
crawl before you walk.
1999-08-21 19:26:18 +00:00
sommerfeld
2e95b13365
Use ${SIZE}, ${OBJCOPY} rather than size and objcopy.
1999-08-21 14:18:36 +00:00
simonb
3c185af5fd
Include <sys/endian.h> after defining whether where are little- or
...
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.
1999-08-21 05:53:50 +00:00
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
simonb
3596245a00
Add bswap.h and endian.h to ${INCS}.
1999-08-21 05:31:12 +00:00
simonb
d747020b0d
MI prototypes and macros for the {h,n}to{n,h}() functions, and macros
...
for the hto{le,be}{16,32,64}() set that convert a given size argument
to a specific endianness.
1999-08-21 05:27:26 +00:00
simonb
4a7617ac2b
MI prototypes for the bswap*() functions.
1999-08-21 05:20:50 +00:00
matt
f421eec6fe
Add needs-flag to if_fddisubr.c for previous commit
1999-08-21 03:47:50 +00:00
matt
d3448593e5
Cleanup a little kludge in mtu handling in route.c. Bring down FDDI
...
mtu to legal IP max but don't affect other protocols.
1999-08-21 03:46:35 +00:00
thorpej
23e83a7ac7
When handling the MADV_FREE case, if the amap or aobj has more than
...
one reference, go through the deactivate path; the page may actually
be in use by another process.
Fixes kern/8239.
1999-08-21 02:19:05 +00:00
matt
4751ed4b55
Add the newly blessed magic number for VAX.
1999-08-21 00:26:28 +00:00
wrstuden
ba891a728d
Deal with device vnodes which aren't on the spechash tables, rather than
...
panicing. So now we make sure vp->v_hashchain != NULL before removing
the node from the chain.
1999-08-20 22:21:25 +00:00
thorpej
a21be175c5
Clean up some whitespace issues in the generated syscallargs.h file.
1999-08-20 19:07:31 +00:00
augustss
a293a6cc73
Make sure not to call tsleep() from suspend/resume routine.
1999-08-20 16:42:38 +00:00
itojun
00cf8638cb
do not capture packets by gif, when gif interface is down.
1999-08-20 10:07:40 +00:00
mouse
1705bbe96b
Get rid of ugly vertical bars which occurred when
...
character-cell boundaries != byte boundaries.
("width" (despite the poor name) should be computed based on the
*old* value of bg, not the *new* one.)
Fixes PR 8221.
1999-08-20 06:46:44 +00:00
chs
cb6a6fecce
copy some definitions from the sparc port. fixes PR 7880.
1999-08-20 03:53:50 +00:00
chs
dd6caaf3f9
fix typo in previous commit. fixes PR 7879.
1999-08-20 03:52:38 +00:00
sommerfeld
be5fe633b8
clean up attach messages slightly.
1999-08-20 03:36:59 +00:00
mjacob
9ed023d94e
remove LIMITMEM code because it does not work anyway anymore
1999-08-19 21:31:43 +00:00
mjacob
f28eb7f5cc
make alpha compiler happy
1999-08-19 21:29:04 +00:00
ragge
8a0eac0ab5
Detect NVAX also.
1999-08-19 20:50:18 +00:00
augustss
0f99933822
Use the right type for the size argument when calling usbd_bulk_transfer().
1999-08-19 19:57:21 +00:00
augustss
a9563e089b
A first stab at making the UHCI driver endian independent.
...
(It doesn't seem to be quite working yet.)
1999-08-19 19:52:38 +00:00
augustss
c0f0486836
Add a utility function, usbd_errstr(), to print error strings. From FreeBSD.
1999-08-19 19:51:36 +00:00
augustss
462e2614ff
Add some mass storage definitions.
1999-08-19 19:50:42 +00:00
thorpej
f2c2e160b1
Fix "print vnodes for dirty buffers" change: use vprint(); VOP_PRINT()
...
is only meant to be used by vprint(), and vprint() provides more
information about the vnode.
1999-08-19 18:09:44 +00:00
drochner
6bd627f17f
back out last rev - it looks like a local hack which shouldn't go here,
...
and it breaks the "opms at pckbc" case
1999-08-19 15:33:16 +00:00
simonb
c620766979
In vfs_shutdown() print any vnodes for busy buffers if DEBUG is defined.
...
Patch from Bill Studenmund.
1999-08-19 13:54:06 +00:00
ad
afb0c7b853
Make this compile. Patch from Simon Burge.
1999-08-19 11:20:34 +00:00
tron
f625e72668
Regen.
1999-08-19 08:06:50 +00:00
tron
93f86e5ed5
Recognize a 3Com 3c509 Combo configured in EISA mode. Fixes PR kern/8234
...
by Thomas Pfaff.
1999-08-19 08:06:31 +00:00
itohy
5de5ad21a2
Revoke revoke(2) bug.
1999-08-19 03:42:23 +00:00
mycroft
f3f36d8fc4
Remove __DO_NOT_DO_WEAK__. We have enough weak symbols in libc for this to be
...
useful; it at least prevents namespace problems with third party code.
1999-08-19 03:04:50 +00:00
matt
fd59bba7cb
after bus_dmamem creating some memory, zero it out. This has stopped
...
my alpha from getting COMMAND FAILED on random boots.
1999-08-19 00:43:45 +00:00
augustss
bf35d2940c
Add some more items.
1999-08-19 00:31:40 +00:00
simonb
9e0209e2c8
Remove prototype for find_inode().
1999-08-19 00:19:16 +00:00
sommerfeld
3931d8c7c9
Add umodem; fixes kernel build error..
1999-08-18 23:34:27 +00:00
mark
7ec8276d95
Fix compiler warning.
1999-08-18 22:01:53 +00:00
cgd
b18820272a
add bootxx_lfs
1999-08-18 21:34:24 +00:00
cgd
a97b5505e4
add lfs support
1999-08-18 21:34:11 +00:00
cgd
b43600a96e
note that these files should be easily diffable (until they share common code
1999-08-18 21:33:50 +00:00
cgd
b4ecb1b468
Add a standalone LFS implementation. Currently not merged with ufs (FFS),
...
but should be (and will be before too long). Until then, it and ufs.?
should be easily diffable.
1999-08-18 20:04:39 +00:00
cgd
82729b7302
add a makefile for an LFS primary
1999-08-18 20:02:39 +00:00
cgd
30d5d8a1e3
mention that putstr.c and putulong.c might want to be included when debugging
1999-08-18 20:01:06 +00:00
cgd
b28ae57077
add a gross putulong() function which can be useful for debugging.
...
It's not normally included.
1999-08-18 20:00:27 +00:00
augustss
abebf3e12d
Make it compile with DIAGNOSTIC.
1999-08-18 16:25:52 +00:00
jdolecek
1647f47ddf
list of things which need to be done
1999-08-18 15:05:10 +00:00
jdolecek
b8947f73c1
s/ntfs_toupper_used/ntfs_toupper_usecount/, make it static
...
ntfs_toupper_unuse(): check if ntfs_toupper_usecount is negative only when
DIAGNOSTIC
1999-08-18 13:35:44 +00:00
augustss
1107c3f6ea
Back out last change. The ugliness of the Audio Class should not have
...
to pollute the general USB definitions.
1999-08-18 07:55:19 +00:00
augustss
7fb139742d
Update the endpoint descriptor struct with the two oddball entries
...
that only the Audio Class has.
1999-08-18 07:45:56 +00:00
nisimura
3708c0dfd6
- Replace three splx() calls with _splset(). splx() should not be
...
considered the equivalent of 'set processor register'.
1999-08-18 04:43:31 +00:00
chs
bb0c381fb9
two changes to prevent the kernel's pmap from being locked recursively
...
via interrupts:
(1) pmap_map_ptes() and pmap_unmap_ptes() don't need to do anything to
map the kernel's pmap, since all pmaps contain the kernel's PTPs.
this fixes interrupt-context calls to pmap_extract().
(2) pmap_kenter_*() and pmap_kremove() no longer adjust the kernel pmap's
resident and wired counters.
1999-08-18 03:59:36 +00:00
wrstuden
b0e95cadb7
Modify VDESC_NOMAP_VPP and VDESC_VPP_WILLRELE so that they don't
...
overlap with VDESC_VP0_WILLUNLOCK and VDESC_VP1_WILLUNLOCK. This bug
was inherited from an old 4.4BSD import in 1994.
1999-08-18 01:34:27 +00:00
drochner
57882d3779
oops - there got something into the last commit which shouldn't
1999-08-17 21:31:57 +00:00
augustss
54adf47f36
Redo the UHCI data toggle handling.
...
Make sure data toggles get synchronized on open and
when clearing an endpoint stall.
1999-08-17 20:59:04 +00:00
drochner
fcf48304c2
add some v1.2 bits, comment out the APM_IOC_DEV_CTL ioctl which I didn't
...
find a use for
1999-08-17 19:05:53 +00:00
drochner
e0444db55a
-let the driver identify itself as v1.2 for the BIOS, recognize the
...
added APM event type and print out some more info if APMDEBUG
-separate segment lenghts of 16-bit and 32-bit code cleanly
-minor fixes in segment lenght calculation
1999-08-17 19:04:24 +00:00
drochner
601f4102cc
add a flag to control use of APMv1.2
1999-08-17 18:58:49 +00:00
thorpej
0f7db9c21c
Now that we have read/write spin locks, use them for the pmap_main_lock.
1999-08-17 18:48:22 +00:00
drochner
58cde1da1e
add rl* at pci? (Realtek Ethernet)
1999-08-17 17:48:38 +00:00
drochner
a47874ac23
correct a comment
1999-08-17 16:15:05 +00:00
augustss
3016e1ebe0
Make some small changes to make it compile on OpenBSD.
1999-08-17 16:06:20 +00:00
drochner
f61d8fd937
regen
1999-08-17 09:42:14 +00:00
drochner
c8aabedc83
-mention a location where the old PCI database can still be found
...
-add Alteon Gigabit Ethernet
1999-08-17 09:40:25 +00:00
enami
29e46296e8
DEVPAGER, SWAPPAGER and VNODEPAGER are no longer used (except std.pica).
1999-08-17 06:42:41 +00:00
dbj
383544139f
remove some debugging hacks that were no longer being used.
1999-08-17 05:09:13 +00:00
dbj
ab21be8e3c
implement _bus_dmamap_load_raw_direct
1999-08-17 05:07:59 +00:00
cgd
cd10ee60f6
set f_seekp to 0 in ufs_open() before returning. It ended up being 0
...
in most situations, but not always: if the terminal path name component
being opened couldn't be found in the first fs block of the directory
that contained it, f_seekp would be non-zero (and Bad Things would result).
1999-08-17 02:26:32 +00:00
thorpej
e71ad5a0ac
The CCB already contains its DMA address, so no need to recompute it
...
over and over.
1999-08-17 02:09:47 +00:00
mark
35b63730ff
Fix typo.
1999-08-17 01:39:09 +00:00
augustss
24f66ce158
Get rid of FreeBSD code; there was so little to share in this driver
...
that it should be split.
1999-08-16 23:36:25 +00:00
augustss
f7c5edea20
Mention mux # when ignoring it for the console.
1999-08-16 23:22:22 +00:00
augustss
db574ba708
Add umodem device.
1999-08-16 22:27:08 +00:00
mcr
03946f957a
Added Solidum Systems PCI vendor ID and Device IDs
1999-08-16 21:36:39 +00:00
wrstuden
e4a256cf0c
Fin uninitialized variable use noted by Simon Burge.
1999-08-16 21:24:53 +00:00
augustss
9a0281ff87
Some new ioctl()s for the umodem driver.
1999-08-16 20:27:55 +00:00
augustss
aa7264892d
Implement a modem driver for the Abstract Control Model, i.e. AT commands.
...
It is accessible through the usual tty abstraction.
XXX The driver needs better error handling and a special call device.
XXX It also needs more testing.
1999-08-16 20:26:53 +00:00
augustss
290c03447b
Change the way transfers are dequeued so thet we know that they
...
are removed from the queue before being deallocated.
1999-08-16 20:24:33 +00:00
augustss
23fa3682af
Remove some, add some.
1999-08-16 20:21:09 +00:00
augustss
72b1f5a4b0
Add more CDC definitions.
1999-08-16 20:20:19 +00:00
augustss
7e4e93390d
Change DIAGNOSTIC behaviour a little.
1999-08-16 20:19:55 +00:00
augustss
df65083b45
A small roadmap of the USB files.
1999-08-16 20:18:07 +00:00
is
f0e0b02d7c
Add a quick and dirty FBIOGVIDEO implementation. This is hardware independent,
...
by saving the last written FIOSVIDEO/GRFIOCBLANK value into a shadow variable
in the grf_softc and returning this value on FBIOGVIDEO.
The presence of this ioctl is needed by screenblank(8) nowadays.
Original problem reported by Lars Hecking on the port-amiga mailing list.
1999-08-16 19:55:27 +00:00
tron
14cc7c79c1
Regen.
1999-08-16 19:13:29 +00:00
tron
327a8cdf75
Add stime() to syscalls table.
1999-08-16 19:13:01 +00:00
tron
c3ea560498
Add emulation for Linux stime(2) required for MuPAD's X11 interface.
1999-08-16 19:06:29 +00:00
tron
992156ec89
Remove the prototype for settime(), it is in "sys/time.h" now.
1999-08-16 18:53:55 +00:00
tron
35ba1291c8
Make settime() public because we need to use it for the Linux emulation.
1999-08-16 18:42:25 +00:00
jdolecek
aface6ce9f
guard PDIRUNLOCK usage with ifdef __NetBSD__ where appripriate
1999-08-16 15:52:05 +00:00
simonb
17f87d3816
Print out the module number that causes the ECC error.
1999-08-16 13:13:00 +00:00
simonb
1eda4ea610
Remove bogus CSR #defines and replace with known ones.
1999-08-16 13:12:41 +00:00
simonb
7e9978db4e
Neaten up #defines for the CSR.
...
XXX: Still not sure if some of these are right.
1999-08-16 13:12:17 +00:00
simonb
259ba92fef
Pass (csr & KN0x_CSR_BNK32M) to dec_mtasic_err() so that it knows what
...
size individual memory modules are.
1999-08-16 13:11:45 +00:00
simonb
120f2d5c70
Remove board-specific CSR definitions.
1999-08-16 13:10:52 +00:00
jdolecek
129d05b5b3
the Unicode uppercase translation table is read when first ntfs volume
...
is mounted and all ntfs volumes share it; the space occupied by the
table is freed upon last ntfs volumen umount. Saves 128KB for every
ntfs volume mounted.
XXX for now, read just first 256 entries - no more would be currently used
anyway
1999-08-16 08:11:34 +00:00
nisimura
44861c8d16
- Fix a severe bug I introduced May 7th. MIPS kernel ran for long time
...
in kernel mode after master interrupt (MIPS_SR_INT_IE) disabled. Tons
of appreciation for Noriyuki Soda and Masanari Tsubai for almost full
time help to spot of the issue.
1999-08-16 07:53:18 +00:00
jdolecek
6d72115a23
msdosfs_access(): initialize mode to ap->a_mode instead of 0. Fixes PR 7619.
...
The bug has been accidentaly introduced in revision 1.56.
msdosfs_setattr(): do ROFS checks as appropriate; while here optimize
to only call deupdat() if there actually has been any change
Tested by: jdolecek
Rewieved by: wrstuden
1999-08-16 07:43:12 +00:00
tsubai
775199a39f
Make configurable without ams.
1999-08-16 06:28:09 +00:00
thorpej
95755c54bb
Pull in <machine/alpha_cpu.h>.
1999-08-16 06:24:07 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
thorpej
a01d72e890
Fix several LP64 problems, and clear up kernel pointer vs. physical
...
address confusion. This driver now works on the Alpha.
1999-08-16 02:01:11 +00:00
thorpej
f06d918d30
Protect userland from the vast majority of this file.
1999-08-15 18:32:51 +00:00
tsubai
be72fab2f7
My last change was wrong. Revert.
1999-08-15 12:47:15 +00:00
oster
770de7bb5a
Print a error message instead of panicing in rf_RecoveryPQFunc().
1999-08-15 03:44:46 +00:00
oster
d516e7b571
Make these compile with RF_INCLUDE_RAID6.
1999-08-15 02:36:40 +00:00
oster
ff6d7dd494
Cleanup a bit.
1999-08-15 02:36:03 +00:00
oster
07cc4855f1
Minor cleanup. No functional changes.
1999-08-14 23:34:18 +00:00
kleink
48f055e09b
Add missing MPU interrupt glue.
1999-08-14 22:42:16 +00:00
oster
4ba14d22b0
Fix an 'off-by-one' error in a RF_ASSERT which meant that a reconstruct
...
would panic in the case where the stripe width was 1 block.
1999-08-14 21:44:24 +00:00
augustss
c97c41e5c8
Add opl* at wss?
1999-08-14 21:20:45 +00:00
augustss
19570e813c
Implement opl at wss.
1999-08-14 21:19:29 +00:00
leo
d7601eb1b1
Correct the argument order for memcpy(). This tremendously improves the
...
behaviour of wscons.... (Why did history create both bcopy & memcpy?)
1999-08-14 20:48:33 +00:00
ragge
7638e3fbe3
Add boot support for the VAX 3300/3400 LANCE chip.
1999-08-14 19:41:14 +00:00
itojun
b0ad0eaf51
typo fix (from koji@dti.ad.jp).
...
remove things that are already done.
1999-08-14 19:17:19 +00:00
ragge
b906b753ad
Support for ibus-attached LANCE.
1999-08-14 18:44:00 +00:00
ragge
33baeca394
Search for LANCE.
1999-08-14 18:42:46 +00:00
ragge
9752aa250e
Support interrupt vector auto-detection on level-trigged devices also.
1999-08-14 18:42:17 +00:00
ragge
962bc94a90
Support for on-board LANCE on MicroVAX 3300/3400. Also use MI LANCE
...
code for VAXstations again; though not functioning correctly on all
types of machines. (Will fix that later).
1999-08-14 18:40:23 +00:00
kleink
7b34e008a9
Forgot to initialize a pointer; from Simon Burge.
1999-08-14 15:05:02 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
23906f1d41
defopt COMPAT_14
1999-08-14 14:40:08 +00:00
drochner
7317aa4924
make it report the correct ISA port range
1999-08-14 14:32:12 +00:00
tron
b6c7adba38
Regen.
1999-08-14 13:43:27 +00:00
tron
3622436247
Add support for 3Com 3CXEM556B-INT as suggested by Noriyuki KOIZUMI in
...
PR kern/8188.
1999-08-14 13:43:02 +00:00
simonb
6b7eee9252
Initialise "error" in wsmux_detach_sc() before testing if it set.
1999-08-14 11:40:31 +00:00
ragge
6535fd2313
Erroneous checking of return value from bounds_check_with_label().
...
Massbus disks should work now.
1999-08-14 11:33:09 +00:00
ragge
eab2e881a5
Fix UBA IO space scan addresses; was searching at the wrong place.
1999-08-14 11:31:48 +00:00
ragge
650524ed75
Fix CMI probe bug on VAX 11/750. Prettify CPU printout.
1999-08-14 11:30:48 +00:00
hwr
4882320d4b
Initialize error variable. Should fix spurious init errors.
...
From Dave Huang in PR 8205.
1999-08-14 11:23:39 +00:00
hwr
af827a1284
Remove dulicate "Ethernet" output. From Dave Huang in PR 8206
1999-08-14 11:09:18 +00:00
augustss
b23490d39f
Implement timeout and abort of requests.
...
Compute length of short transfers correctly.
1999-08-14 08:56:09 +00:00
ross
0833f2de7b
Arrange struct simplelock more efficiently. (Megabytes of these can be
...
allocated dynamically.)
1999-08-14 06:56:07 +00:00
ross
7c367407aa
In uvm_anon_init() and uvm_anon_add(), initialize the ref count lock.
1999-08-14 06:25:48 +00:00
ross
2f76dd5371
In getnewvnode(), initialize v_interlock when the vnode comes from the
...
pool allocator.
1999-08-14 06:23:59 +00:00
ross
4ed22602e7
In pmap_page_protect(), don't (try to) use the pv_entry_t we just
...
freed in order to find the pmap to unlock.
1999-08-14 06:19:49 +00:00
oster
740b9848cc
Decrease the number of outstanding IO's threashold slightly.
...
The previous value may have been too high in some instances.
1999-08-14 03:47:07 +00:00
oster
6409e641a6
Remove a 'struct proc *'-passing abomination that's been bugging me
...
for quite some time.
1999-08-14 03:10:03 +00:00
oster
4a058e82c5
Correct and/or improve detection of bogus row/column values
...
passed in via ioctls.
1999-08-14 02:41:36 +00:00
christos
582a6def8b
protect against large uio_offset
1999-08-14 02:20:19 +00:00
christos
063e3b9f0f
protect against large uio_offsets
1999-08-14 02:17:17 +00:00
bad
9e8bff3633
Another sacrifice to appease egcs: wrap "if .. if .. else" in braces.
1999-08-13 11:40:46 +00:00
itojun
8dba61e664
fix multicast demux.
...
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
1999-08-13 10:57:05 +00:00
ad
8974edc06c
The 8bpp PROM console uses index 0 as black, 255 as white. Update ri_devcmap
...
to cater. Partially addresses PR port-sparc/8121.
1999-08-13 09:59:47 +00:00
ad
a7510095cc
Pass color index through ri_devcmap; don't assume that it already
...
matches the device's color map.
1999-08-13 09:45:46 +00:00
simonb
4be158521b
Put original contents of the TURBOchannel bus-cycle counter clkread()
...
from an old version of machdep.c into kn03_clkread(). Fixes problems
with wild CPU time usage noted on port-pmax.
1999-08-13 06:21:39 +00:00
oster
db2eaf18cf
rf_sys.h does not need to be #included in any of these files, and, actually,
...
is no longer needed at all.
1999-08-13 03:41:52 +00:00
oster
1ec5208866
This file is no longer needed.
1999-08-13 03:31:20 +00:00
oster
8deb1f5f2e
dev/raidframe/rf_sys.c is no longer needed.
1999-08-13 03:30:14 +00:00
oster
1aa6ce1041
Garbage collect rpcc().
1999-08-13 03:27:46 +00:00
oster
02acd1910a
First kick at cleaning up the RF_ETIMER code. New timer handling code
...
provided by Peter Galbavy via OpenBSD.
1999-08-13 03:26:55 +00:00
oster
eca431e87c
Nuke configuration of ETimer stuff during main configuration.
1999-08-13 03:25:01 +00:00
oster
5cab826918
Clean up reconstruction accounting a bit. While it worked before, it was
...
slightly broken in the case where the RAID set did not support reconstruction.
1999-08-13 01:43:33 +00:00
ragge
33bc1af047
PGOFSET should be VAX_PGOFSET.
...
Remove two unused prototypes.
1999-08-12 20:23:49 +00:00
itojun
98fab25334
fix sototcpcb(). this sometimes caused panic on OOB data reception.
...
the macro may need to be expanded into dedicated function, rather than a macro,
to capture unsupported values.
1999-08-12 16:04:52 +00:00
bouyer
3c4909c449
Add wi* at pcmcia, wawelan adapters can be used for installs.
1999-08-12 15:32:24 +00:00
thorpej
ba76e54050
Use C-style comments.
1999-08-12 10:46:33 +00:00
bouyer
59af828a94
Regen.
1999-08-12 09:43:18 +00:00
bouyer
7c3cb9c796
Add Promise Ultra66, change entry of Ultra33 to reflect the fact that can
...
"only" do ultra/33.
1999-08-12 09:42:11 +00:00
thorpej
af1e02ad91
Fix a few bugs in the TCP New Reno code:
...
- Make sure that snd_recover is always at least snd_una. If we don't do
this, there can be confusion when sequence numbers wrap around on a
large loss-free data transfer.
- When doing a New Reno retransmit, snd_una hasn't been updated yet,
and the socket's send buffer has not yet dropped off ACK'd data, so
don't muddle with snd_una, so that tcp_output() gets the correct data
offset.
- When doing a New Reno retransmit, make sure the congestion window is
open one segment beyond the ACK'd data, so that we can actually perform
the retransmit.
Partially derived from, although more complete than, similar changes in
OpenBSD, which in turn originated from Tom Henderson <tomh@cs.berkeley.edu>.
1999-08-11 17:37:59 +00:00
thorpej
e48f29e82b
Make sure the echoed RFC 1323 timestamp is valid before using it to
...
compute the round trip time. From Mark Allman <mallman@lerc.nasa.gov>.
1999-08-11 03:02:18 +00:00
thorpej
ae6f518821
Garbage-collect CCDF_SWAP; no longer used, and doesn't make any sense
...
with the UVM swap code.
1999-08-11 02:44:35 +00:00
thorpej
dd5ae858e0
We really only need *one* componenet buffer pool...
1999-08-11 02:41:02 +00:00
oster
33e458640f
Garbage collect unused struct rf_test_acc.
1999-08-11 02:20:35 +00:00
matt
74ed5b7f0f
Add <machine/apmvar.h> for sparc so that apmd can be built. Eventually
...
this allow it work on Tadpole SPARCbook 3 laptops (and/or other sparc
with power management).
1999-08-11 02:00:09 +00:00
matt
4efe97d08f
remove some more devices that are not the tadpole.
...
add the tctrl device (which controls the tadpole microcontroller).
1999-08-11 01:46:25 +00:00
matt
ec55b51b3a
do a little colormap manipulation. use the tft power hooks in tctrl
1999-08-11 01:41:06 +00:00
matt
385ed7074b
This now works properly and uses interrupts. If you close the lid, the
...
screen will turn off and when you open the lid screen turns on. If you
do too rapidly, the driver won't be notified but you can press the micro
switch and it will come back. Also "halt -p" now works so you don't
have to do Pause-P to powerdown.
1999-08-11 00:46:06 +00:00
wrstuden
14693e0ca1
Modify comments regarding VOP_LOOKUP. Revised lookup description, and also
...
document both cases which can set PDIRUNLOCK.
Reviewed by Bill Sommerfeld.
1999-08-11 00:20:50 +00:00
thorpej
6be04b7f5c
Move cpu_info and related info into <machine/cpu.h>, and implement the
...
other MP API components discussed on tech-smp.
1999-08-10 23:35:43 +00:00
thorpej
213802d0d3
Pull in <machine/cpu.h> in the MULTIPROCESSOR case to get curcpu() for
...
use in the `curproc' declaration. Note that machine-dependent code can
still override `curproc' in the single- and multi-processor case as before,
for its own convencience (the SPARC port does this, for example).
1999-08-10 23:33:27 +00:00
oster
31b98d3572
When reporting the status of a component during configuration,
...
provide more intuitive information about whether a component is clean
or not.
1999-08-10 22:56:20 +00:00
oster
620eda50c7
Don't allow reconstructs, copybacks, or forced failures of components if
...
using a RAID 0, since RAID 0 can't handle those sorts of things.
1999-08-10 22:46:59 +00:00
oster
0b08c839eb
Don't go ape if there is a problem verifying the parity. Note the condition
...
and inform the user (as opposed to panicing the system!).
1999-08-10 22:19:27 +00:00
oster
49efd10006
Oops. Make minor change that I forgot when adding the parity check ioctl.
1999-08-10 21:41:37 +00:00
thorpej
cca4496da7
Use cpuid_t and cpu_number().
1999-08-10 21:10:20 +00:00
thorpej
402c277c43
Add a cpuid_t typedef (u_long).
1999-08-10 21:09:18 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
b701be7c86
Use atomic operations to manipulate the SSIR, and fix a problem introduced
...
with the spllowersoftclock() changes where more interrupts than necessary
were blocked while software interrupts were being processed.
1999-08-10 18:53:03 +00:00
oster
a3aefdaee3
Add support for easily checking the parity status from userland.
...
Also: spl protect rf_RewriteParity().
1999-08-10 18:18:30 +00:00
thorpej
ce3252697d
u_char -> u_int8_t in the IPv6 goo.
1999-08-10 18:16:07 +00:00
christos
4f5d78ae59
s/(sbus | obio)/sbus for the sbus attachments. These were vestiges from
...
the old code.
1999-08-10 12:50:35 +00:00
fvdl
d04fb757d6
Correct comment about family 6 not being available from AMD, since that's
...
no longer true.
1999-08-10 12:16:13 +00:00
fvdl
fbcdd32245
Recognize K7^WAthlon
1999-08-10 12:00:50 +00:00
christos
be4c7c3513
split bwtwo driver in obio and sbus parts
1999-08-10 05:04:08 +00:00
christos
072b17778f
split bwtwo driver in sbus and obio parts.
1999-08-10 04:56:30 +00:00
oster
a531d8c31e
Trying to rebuild parity on a degraded set is bogus, so don't allow that.
...
Also, check sooner for a RAID 0 set, since rewriting parity makes no
sense there either.
1999-08-10 01:53:26 +00:00
matt
ede200e1ab
Add a driver for the Tadpole SPARCbook microcontroller. It doesn't
...
do much yet (except for power down support). As sson as I figure
out to get its interrupts enabled, it will be much more functional.
(e.g., print console messages on low power warnings, be able to turn
off the TFT, etc.).
1999-08-09 18:39:58 +00:00
matt
84e306ed83
Tadpoles don't use the standard sun4m power down hardware. So add
...
support for doing it the Tadpole way.
1999-08-09 18:35:58 +00:00
matt
1b0bd3757f
add entries for the tadpole microcontroller (tctrl) and the
...
tadpole pcmcia controller (tpcic). Drivers for the former will
show up today, and the latter later this week or next weekend.
1999-08-09 18:34:43 +00:00
bouyer
385f47fe73
Add wi at pcmcia.
1999-08-09 18:13:26 +00:00
christos
26297cb6e9
PR/8178:Julian Coleman: sparc kernel will not build with cgtwo/cgsix but
...
without sbus. Remove call to cgsix-sbus-attach (impossible code). Make
routines static (they were declared static, but not defined static and
some compilers can complain).
1999-08-09 12:16:10 +00:00
itojun
a9b7fe4621
return with doing nothing from xx_ctlinput(), when sa->sa_family
...
is not the expected one.
I see PRC_REDIRECT_HOST with sa->sa_family == AF_UNIX coming to
{tcp,udp}_ctlinput() when I use dhclient, and I feel like adding
more sanity checks, without logging - if we log it it is too noisy.
1999-08-09 10:55:29 +00:00
bouyer
26db0bba90
Garbage-collect C_INUSE and C_NEEDDONE.
1999-08-09 09:56:00 +00:00
bouyer
5885dbb878
- use pool(9) for wdc_xfer, instead of managing a free list.
...
- fix printing of Ultra-DMA modes (shows up when the drive supports highther
modes than the controller).
- Don't use C_NEEDDONE anymore. We were setting this flag in a possibly
freed wdc_xfer (this didn't create problems, as it was free'd in the POLL
case only, while IRQs are blocked, but it's not good practice anyway
and pool(9) complains about it ;)
1999-08-09 09:55:18 +00:00
bouyer
7eb1fae5d3
Add a missing 'return' in previous commit.
...
Don't use C_NEEDDONE anymore (it's safe to always call scsipi_done()).
1999-08-09 09:49:48 +00:00
bouyer
7e874499c9
Don't call wddone() from _wdstart(), the ata_wdc system will do it now.
...
call wd_flushcache() with the proper flags (especially don't set
AT_WAIT | AT_POLL).
1999-08-09 09:48:04 +00:00
bouyer
c0da6c9129
Don't use C_NEEDDONE, it's deprecated.
1999-08-09 09:43:11 +00:00
ross
ff87f817c1
Call stopprofclock(p) from sys_execve().
1999-08-09 02:42:20 +00:00
itojun
7a60aa28c2
log() needs "\n" at the end.
1999-08-09 02:24:52 +00:00
ragge
1008019f62
Detect "ze" as root device.
1999-08-08 16:33:13 +00:00
ragge
80c17df099
Give numeric machine checks, instead of incorrect strings.
1999-08-08 11:47:54 +00:00
ragge
2785184329
Tell if we get stray interrupts, if cold == 0.
1999-08-08 11:46:30 +00:00
ragge
f2e960f907
Add support for the SGEC.
1999-08-08 11:45:01 +00:00
ragge
148c244c15
Driver for the DEC SGEC, Second Generation Ethernet Controller.
1999-08-08 11:41:28 +00:00
ross
70fad30289
In the kludges-on-top-of-kludges dept, print SWITCHING TO SERIAL CONSOLE
...
(but iff we started on the framebuffer) so the would-be installer doesn't
think everything just locked up.
1999-08-08 01:44:57 +00:00
ross
c85f77e109
ifndef NEW_SCC_DRIVER, tell sccattach() if we are on a fb or serial cons
1999-08-08 01:40:20 +00:00
ross
a404c48c54
Another size_t printf kludge, sigh. XXX noted in source.
1999-08-08 00:40:06 +00:00
augustss
38de172f03
Add usbd_set_hub_feature() and usbd_clear_hub_feature().
1999-08-07 23:14:17 +00:00
ragge
3766555455
Reset the interface when loading is finished, to avoid spurious writing
...
to memory.
1999-08-07 18:30:36 +00:00
augustss
d6331b4ef4
Some new items.
1999-08-07 15:05:46 +00:00
augustss
cdfc12a291
Make it possible to open wskbd devices for write (i.e. ioctl) even
...
if it is already open.
1999-08-07 15:04:35 +00:00
drochner
f6f48ed7e7
clean up error handling in TC graphics console attachment: all functions
...
return 0 on success and an errno on failure
1999-08-07 12:58:27 +00:00
itojun
e5d7b92a94
remove invalid initialization if in6_iflladdr.
1999-08-07 12:33:04 +00:00
ragge
ae5dbfbe84
BI bus files has moved.
1999-08-07 11:19:04 +00:00
ragge
bc163ccc30
Clean up all bus handling stuff, it has become a mess the latest years.
...
Add a new bus; "ibus" that is the internal MicroVAX bus.
1999-08-07 10:36:43 +00:00
thorpej
333c98b6e2
Add the AdvanSys SCSI boards.
1999-08-07 07:40:40 +00:00
thorpej
a8d8fc178f
Fix a typo.
1999-08-07 07:36:19 +00:00
thorpej
ec368bb906
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
...
was being initialized to a KVA, when we really wanted a DMA address. Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.
Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.
Garbage-collect two functions which are no longer used because of the
above changes.
1999-08-07 07:20:15 +00:00
mycroft
6b33521af9
Increase several timeouts to 30s.
1999-08-07 02:51:51 +00:00
ragge
a7361f3acf
Moved to dz_ibus.c,v
1999-08-06 18:58:28 +00:00
ragge
c7d47daa04
Moved from dz_vsbus.c,v
1999-08-06 18:58:27 +00:00
bouyer
fae9929734
- Add some debug printf (WDCPROBE) in _wdcreset_wait(), I've needed these
...
2 times in the past
- Set up timeout per xfer instead of per interrupt. This helps with
PIO transfer (we would call timeout()/untimout() several times for a
transfer).
- If we missed an interrupt for a PIO transfer, reset and restart it
immedialy, don't try to recover and continue. If we missed an interrupt we
may have lost a read/write cycle on the IDE bus. If this happens 1) we
corrupt data and 2) we enter an interrupt loop at the end of the xfer, as
the drive has some more data to read/write, but the host thinks the xfer is
done.
This last change fix the (or at last some of the) 'lookup after lost interrupt'
some peoples have been experiencing.
1999-08-06 12:00:23 +00:00
leo
54f2532106
Change the way that bit's are cleared in the InterruptPending register of
...
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
cgd
0ef6a875b8
regen for updated pcmciadevs
1999-08-06 06:39:57 +00:00
cgd
1780131e5c
add an entry for the IBM EtherJet Ethernet PC Card (cs8920 based)
1999-08-06 06:39:29 +00:00
thorpej
2d720e5ff0
Don't truncate syscall return values on LP64 platforms.
1999-08-06 00:11:02 +00:00
augustss
3ad1ac1cf6
mpu needs needs-flag
1999-08-05 22:38:01 +00:00
thorpej
1c0e017cff
Change spl calls to always raise priority, except for the ones which are
...
specifically supposed to lower it.
1999-08-05 21:16:55 +00:00
thorpej
d936f02b0b
Implement priority raising, and use it as appropriate.
1999-08-05 18:48:55 +00:00
thorpej
37554502cf
Correct a comment.
1999-08-05 18:31:06 +00:00
thorpej
2ff657adb8
Fix the raise/lower semantics of splsoftclock()/spllowersoftclock().
1999-08-05 18:28:01 +00:00
thorpej
1e07c3fad7
Bump version to 1.4J -- semantics of splsoftclock() changed.
1999-08-05 18:10:20 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
itojun
6d8996ba49
import recent kAME fixes.
...
- initialize hoplimit for raw6 socket properly.
- respect SO_TIMESTAMP on udp6.
- more sanity checks.
1999-08-05 16:01:07 +00:00
minoura
e89db1c459
Make use of _C_LABEL and other macros in m68k/asm.h.
1999-08-05 15:58:17 +00:00
jdolecek
d61380b6b4
mark file system NTFS as experimental
1999-08-05 15:52:11 +00:00
jdolecek
836c862c38
add file-system NTFS, commented out and marked as experimental
1999-08-05 15:51:36 +00:00
minoura
74431c5ae2
IPv6 options from GENERIC.v6.
1999-08-05 15:05:56 +00:00
minoura
e0a8602baf
Install kernel should not require COMPAT_14.
1999-08-05 15:05:11 +00:00
minoura
e684a9ad5b
Sync.
1999-08-05 15:04:38 +00:00
minoura
4901b4afde
Use of pointer to register variables.
1999-08-05 14:57:38 +00:00
briggs
3988bc1c06
Deal with the fact that ipls (specifically mac68k_clockipl) are now in an array.
1999-08-05 12:35:55 +00:00
briggs
4292c9d32b
Define MAC68K_CLOCK_IPL.
1999-08-05 12:34:49 +00:00
augustss
03c29debf5
Make this file compile again.
1999-08-05 11:25:47 +00:00
sommerfeld
08e495eda4
Delete debug printfs from arp_drain()
1999-08-05 04:36:56 +00:00
sommerfeld
2aa9696fee
Implement arp_drain(), which frees packets tied up in the arp cache if
...
mbufs are in short supply.
Create a (trivial) protocol domain for arp so that the drain routine will
be called from m_reclaim()
1999-08-05 04:04:28 +00:00
sommerfeld
b8e4538f80
Create new pool flag PR_LIMITFAIL, indicating that even PR_WAIT
...
allocations should fail if the pool is at its hard limit.
Document flag in pool(9).
Use it in mbuf.h for the first allocate call for M_GET, M_GETHDR, and
MCLGET, so that m_reclaim gets called even for blocking allocations.
1999-08-05 04:00:03 +00:00
thorpej
428443a130
Add some more diagnostic information to the 3 different `panic("m_copym")'
...
calls.
1999-08-05 02:24:29 +00:00
thorpej
99584ccf61
M_HASCRC -> M_HASFCS, as suggested by Christoph Badura.
1999-08-05 02:07:38 +00:00
dbj
18221f52fc
changed dma segment field "ds_read_len" to "ds_xfer_len" since it is valid for
...
either read or write transfers.
1999-08-05 01:50:59 +00:00
thorpej
191ab2b8e4
Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
...
anyway, take advantage of this and greatly simplify the programming
of the multicast filter. This solves the last reported "device timeout"
problem with this driver.
1999-08-05 01:35:40 +00:00
tsubai
d633663ab8
Add mediabay.
1999-08-05 00:31:01 +00:00
mycroft
f85ee5e22e
The old compaction test had an off-by-one error that caused it to not compact
...
in some cases where it could have. Fix this, and the new version as well.
1999-08-04 22:33:20 +00:00
matt
0dc0497a97
Don't compress mbuf clusters which are referenced by multiple
...
mbufs since you might overwriting valuable data. (think of
m_copy'ed data from a TCP re-transmission queue. Since those
might be in clusters and referenced in two sockets).
1999-08-04 21:40:39 +00:00
mycroft
545d8679c0
It's now possible for sbcompress() to compact mbuf clusters, so do it.
...
This helps prevent mbuf cluster exhaustion when receiving lots of small
packets.
1999-08-04 21:30:12 +00:00
tron
439a6c4942
Add missing prototype for read_tekram_eeprom() to make driver compile if
...
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00
thorpej
b51de33f23
In ether_input(), if M_HASCRC is set, trim the CRC off the packet.
1999-08-04 19:29:01 +00:00
thorpej
3462650350
Define an Ethernet-specific flag which drivers can use to tell
...
the input routine that the CRC is included at the end of the frame.
1999-08-04 19:16:48 +00:00
ragge
128cc8e9b2
For now; don't include the devices that are not yet converted.
1999-08-04 19:15:56 +00:00
ragge
2661ddc378
smg/lkc must have "qfont".
1999-08-04 19:15:11 +00:00
ragge
d1ffb22ab2
"files" also needed.
1999-08-04 19:13:05 +00:00
ragge
1aa825ae03
Converted to (mostly) MI code.
1999-08-04 19:12:22 +00:00
ragge
bebf926694
Adopt to new BI bus design.
1999-08-04 19:11:01 +00:00
ragge
fe04287ec0
Moved to dev/bi.
1999-08-04 19:09:46 +00:00
jdolecek
eadf853bb8
define M_NTFS and use it instead of M_TEMP when allocating memory
...
for NTFS structures
1999-08-04 18:56:35 +00:00
jdolecek
419f8e4fd4
defopt NTFS_DEBUG
1999-08-04 18:46:58 +00:00
wrstuden
169a5eda2d
Pull in changes which parallel rev 1.22 -> 1.25 of ufs_lookup().
1999-08-04 18:40:47 +00:00
wrstuden
45ce38544f
Make the compiler happy..
1999-08-04 18:40:06 +00:00
jdolecek
387c0ba4b3
fix a warning
1999-08-04 18:39:08 +00:00
jdolecek
2092677df5
ntfs_lookup():
...
* return EROFS for volume mounted RO when the nameiop is DELETE or RENAME
(the same way ufs_lookup() does)
* add explicit call to cache_lookup() on NetBSD (handled by generic VFS
layer in FreeBSD)
* avoid using strncmp() when checking whether the name is . or ..
* fix locking of parent directory for ISDOTDOT case
* call cache_enter() always (even for . and ..)
* vnodeops array: add entry for vop_fcntl_desc, remove unnecessary casts
Reviewed by: wrstuden
Tested by: jdolecek
1999-08-04 18:17:00 +00:00
wrstuden
3598f580dc
Fix tyop in previous.
1999-08-04 18:14:59 +00:00
wrstuden
1eeee9e04a
Modify ISDOTDOT case so that we only clear PDIRUNLOCK if we really
...
re-lock the parent vnode.
1999-08-04 18:07:39 +00:00
thorpej
654051453f
Use an array for PSL values, rather than individual shortwords, like
...
the hp300 port.
1999-08-04 16:01:47 +00:00
thorpej
51fe928d5e
Slight cleanup; do all of the spl*()s with imask[].
1999-08-04 15:54:28 +00:00
leo
7bff22bddc
Catch a console configuration error. Instead of jumping through cdevsw indexed
...
on major(NODEV), call panic...
1999-08-04 14:40:54 +00:00
augustss
fe98b81a44
Get the dependencies on NWSMUX right (I hope).
1999-08-04 11:26:04 +00:00
augustss
84d5e946e6
Use NMPU not NMIDI around call to mpu_intr.
1999-08-04 10:50:52 +00:00
augustss
c1c87dde4a
Add another file I forgot in my MPU changes.
1999-08-04 10:46:34 +00:00
dbj
dddabc6fbd
sync with mvme68k/mvme68k/trap.c:1.32
1999-08-04 07:18:21 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
dbj
677f2cf93d
fixed prototype of allocate_sir()
1999-08-04 07:14:13 +00:00
dbj
dd097da50a
remove setting of WSDISPLAY_DEFAULTSCREENS
1999-08-04 06:49:50 +00:00
thorpej
5ea625fe90
Almost completely rewrite the receive logic, making it as close as possible
...
to the EPIC/100 driver's (adjusting for the fact that Intel Ethernet chips
are from Pluto):
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() is changed to handle compressing clusters.
Simplify some of the receive list logic:
* Rather than using a homegrown queue and additional software RX descriptors,
use an ifqueue to queue receive buffers, and M_{GET,SET}CTX() to hook DMA
maps and receive buffers together.
Clean up a bit:
* Macroize a bunch of things to make the code a bit easier to follow.
1999-08-04 05:21:18 +00:00
thorpej
11e9392b3e
Only tick the MII if we are using it.
1999-08-04 00:17:28 +00:00
thorpej
0ae14b58eb
Be a little less selective in the transmit interrupt path.
1999-08-04 00:14:08 +00:00
thorpej
f1c6287a6e
Use the Interrupt bit in the command block to generate interrupts, rather
...
than interrupting after every Command Unit Not Active event.
1999-08-03 23:37:14 +00:00
thorpej
1051ab605d
G/c a flag.
1999-08-03 23:18:32 +00:00
thorpej
5c2b83a0ad
Don't bother with interrupt-driven multicast setup.
1999-08-03 23:18:09 +00:00
thorpej
3012cf91af
Completely rewrite the transmit logic, making it look more like the
...
EPIC/100 driver's. Also, fix the "all multicast" logic. Also do some
general cleanup.
1999-08-03 22:43:28 +00:00
oster
e0c8203cb3
Nuke unused #define.
1999-08-03 22:07:39 +00:00
wrstuden
0833711f66
Modify msdosfs_getattr() so that it will report archived files (ATTR_ARCHIVE
...
cleared) as mode S_ARCH1 in addition to having flags SF_ARCHIVED.
1999-08-03 22:02:21 +00:00
is
6dee6d1d3f
In classic Amigae, physical address zero is perfectly reasonable (it is the
...
base of the Chipmem). With the new pmap_extract, we distinguish this from
an invalid kernel mapping. Don't confuse the reader with the old panic
message.
1999-08-03 21:54:50 +00:00
is
a1d4b83a5e
Fix typo in the last change, which resulted in invalid global pmap structures,
...
leading to a spectacular panic when the first address is entered into a
pmap the normal way. The problem was reported by Adam Ciarcinski.
1999-08-03 21:50:18 +00:00
wrstuden
3bf14d81e9
Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
...
call with F_FSCTL set and F_SETFL calls generate calls to a new
fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0
for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems
use genfs_fcntl().
Reviewed by: thorpej
Tested by: wrstuden
1999-08-03 20:19:16 +00:00
ragge
0b6c232028
BI bus has become MI now.
1999-08-03 19:56:21 +00:00
ragge
43bbc0f5c7
Protect against multiple includes.
1999-08-03 19:53:23 +00:00
drochner
29a8d333b6
put biosdiskclose() inside LIBSA_NO_FS_CLOSE
1999-08-03 19:46:22 +00:00
ragge
901fb270ef
Add a "generic" struct for dma without anything fancy.
1999-08-03 19:45:47 +00:00
drochner
f04cb4036f
move common support functions for phy drivers from mii.c to mii_physubr.c,
...
so that they are not includes if no PHY is configured
(avoids code bloat if an interface driver has the "mii" attribute but
mii is not used by the particular version)
1999-08-03 19:41:49 +00:00
drochner
12a6593f79
clean up inclusion of "opt_ffs.h" and use of "FFS_EI" a bit
1999-08-03 19:22:43 +00:00
drochner
bc2afccc69
g/c unused LIFFS
1999-08-03 19:02:31 +00:00
wrstuden
ae0e9776a4
Add flags for two archive states. For files, ls -l will show one as
...
'A' and the other as 'a'.
1999-08-03 18:32:03 +00:00
wrstuden
ae0b6372e0
Regen for revision: 1.19 of vnode_if.src.
1999-08-03 18:20:22 +00:00
wrstuden
5896b56eae
Add VOP_FCNTL.
1999-08-03 18:19:08 +00:00
wrstuden
cca0c4f6de
Modify how lookup walks up mount points. As suggested by Konrad
...
Schroder <perseant@hitl.washington.edu>, unlock the mounted on
vnode before we call VFS_ROOT so that we cover the case where the new
root vnode shares a lock with the mounted-on vnode. Note that we have
asserted vfs_busy on the new fs before unlocking, so no other process can
steal the mount out from under us.
1999-08-03 18:17:24 +00:00
thorpej
4bd8f1566c
Be a little nicer about memory usage:
...
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() it changed to handle compressing clusters.
1999-08-03 17:25:51 +00:00
dbj
97278e1db2
fix prototypes and quiet compiler warnings on next68k
1999-08-03 10:52:06 +00:00
dbj
29ed3cd11b
added define for %b bitfield labels
1999-08-03 10:03:22 +00:00
dbj
705311bcee
resync bus_dma functions with current alpha versions.
...
added a field to a dma segment to return the actual length of that segment that
was successfully transferred.
1999-08-03 09:16:00 +00:00
dbj
34fbdba354
defopt SERCONSOLE
1999-08-03 09:02:10 +00:00
tsubai
4eb4de3592
Make ``boot kernelname'' work on OF-3.x too.
1999-08-03 07:08:36 +00:00
dbj
9eb133fc08
removed unused variable.
1999-08-03 06:55:21 +00:00
nisimura
50eca69f4e
- A minimal patch work to make TCWSCONS useful with sfb/zskbd.
1999-08-03 05:30:56 +00:00
thorpej
35730a15fe
Add the "sip" driver (SiS 900 Ethernet).
1999-08-03 03:23:28 +00:00
thorpej
050aaac26e
Fix the error recovery in uvm_map_pageable_all().
1999-08-03 00:38:33 +00:00
matt
42c15639e0
Remove the false positive on the probe of the built-in modem
...
on tadpoles by calling comprobe1 to see if the modem is really
there.
1999-08-03 00:32:33 +00:00
augustss
dbb71e4b35
Add the file I forgot at the previous MPU changes.
1999-08-03 00:27:27 +00:00
augustss
208dad78d1
Get data toggle right for short bulk transfers.
...
(XXX This code needs to be rewritten.)
1999-08-02 23:35:55 +00:00
wrstuden
6dfc303f3b
Add PDIRUNLOCK support.
1999-08-02 22:58:29 +00:00
matt
864afe0bc7
Add video blanking support. It does not power-down the TFT
...
since that requires talking to the H8 microcontroller and
that support is not yet done.
1999-08-02 20:36:57 +00:00
augustss
caffcd4895
Another debug message.
1999-08-02 19:49:50 +00:00
augustss
2d4d29a1fa
Test return values the right way.
1999-08-02 19:36:48 +00:00
augustss
094852eb36
Change it so that a pipe can be open RW instead of just R or W.
...
This makes close() work properly, but it is still not ideal. Perhaps
there should be different device nodes for input and output on to
and endpoint with the same number?
Pay attention to the SHORT_XFER_OK ioctl().
1999-08-02 19:32:56 +00:00
augustss
d2db832909
Do abort of transfers in a sane way. Fixes PR 8041.
1999-08-02 19:30:34 +00:00
wrstuden
3954583ce7
Teach nfs_lookup() to set PDIRUNLOCK when appropriate. Should resolve
...
PR 8051 by Konrad Schroder.
1999-08-02 18:58:23 +00:00
matt
016599a30b
Colormaps now work. Besides a small fencepost error, the real problem
...
is that the Tadpole 3GX tech-ref-man was WRONG. The RAMDAC registers
at at 4 byte offsets, not 8. Once that was discovered, all the code
just worked.
1999-08-02 18:00:21 +00:00
augustss
dd3788e008
Alphabetize.
1999-08-02 17:44:59 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
jdolecek
cd613f7348
ntfs_{read|write}ntvattr_plain(): bread() can return maximum one block
...
worth of data under NetBSD -- FreeBSD bread() seems to be able to
return more data and code counted with it
it's possible to actually mount NTFS volume now
1999-08-02 15:31:31 +00:00
ad
233d3887c1
In pm_screen(), return 0 if fballoc() fails, not 1.
1999-08-02 12:52:27 +00:00
mrg
39a5b02150
if there are no FB devices, tc_consprobeslot() fails always.
1999-08-02 12:01:46 +00:00
itojun
6f3fbf1ce6
remove sys/netinet6/in6_systm.h, as it is very empty.
...
crypto-us IPSEC build will be broken.
could someone please update?
1999-08-02 11:04:38 +00:00
darrenr
01f3c66113
merge patch from PR#6279 as suggested some time ago.
1999-08-02 08:34:50 +00:00
nisimura
9ab80b75b8
- Fix MX framebuffer size which should occupy 2MB in address range.
...
- Restore 72Hz interrupt service mistakenly ruined in the previous commit.
1999-08-02 06:00:40 +00:00
nisimura
e78e58a7b8
- Fix TX 8bpp framebuffer size, which occupies 2MB.
...
- Rework CX RAMDAC register access like as other TC framebuffers.
1999-08-02 04:19:03 +00:00
matt
f7141a0ffb
The Tadpole 3GX uses a modified Sun Mouse protocol. Instead of
...
sending 5 bytes per sample, it sends 3 omitting the 2nd set of
dx/dy updates. You can distinguish between the two forms since
the first byte of 5-bytes seq will be 0b10000xxx which a 3-byte
will have 0b10001xxx. This changes allows the Xsun server to
run unchanged on the Tadpole 3GX (ignoring for now that the
colormap is still broken).
1999-08-02 01:50:27 +00:00
matt
825e233d2e
Allow the mouse baud rate to be patched (rather than forcing a recompilation
...
of the kernel). Also, if the mouse baud rate is 0, say the mouse the isn't
there (so a terminal may be attached in its place). Make debugging mouse
problems much easier.
1999-08-02 01:44:22 +00:00
christos
2f73c9bc1d
sparc is not defined anymore... Use __sparc__ and __i386__. Also default
...
to the standard elf NOADDR...
1999-08-01 23:55:40 +00:00
sommerfeld
d96e35f23c
Fix PR4439: directory link count in unions where only upper directory
...
exists is bogus. The goal here is to produce a synthetic link count
which won't confuse fts and similar routines which "know" that
directories with a link count of 2 don't have subdirectories (and
thus, they can avoid having to stat every entry in the directory
looking for subdirectories which aren't there).
We know that non-UNIX filesystem implementations may return a link
count of `1' for directories with an indeterminate number of
subdirectories; if either the upper or lower layer returns a link
count of `1', return a link count of 1. If both layers return a link
count of 2, return a link count of 2; otherwise, return the sum of the
link count of both layers.
Also, fix PR7430: unionfs ignores read-only mounts. Check for
MNT_RDONLY in union_lookup (more-or-less as in layer_lookup) as well
as union_access() and union_setattr().
Note that a read-only union layer may still cause side effects on the
underlying filesystems... Most notably, we'll still attempt to create
shadow directories in the upper layer. Also, of course, we'll
side-effect atimes in the lower layer.
1999-08-01 23:16:34 +00:00
thorpej
868dfcb228
Store computed PSL values in an array indexed by abstract interrupt
...
level, rather than individual shortwords.
1999-08-01 21:50:17 +00:00
thorpej
6489500f0a
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:43:04 +00:00
thorpej
d721481d50
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:32:17 +00:00
thorpej
22d6c3f13b
Fix APCI console initialization; we were forgetting to update cn_tab.
...
From Christoph Badura.
1999-08-01 21:30:21 +00:00
thorpej
9c48987e94
Ooops, add a missing break.
1999-08-01 18:17:26 +00:00
augustss
694384f946
Add the MPU 401 ISA attachment.
1999-08-01 18:16:35 +00:00
augustss
cbf1f6f1b9
Move the MPU driver isa/ to ic/.
...
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
1999-08-01 18:05:39 +00:00
augustss
0c0dc211d4
Make an MPU attachment to ISA. Used for old Roland cards. Written
...
by me and gson@araneus.fi (Andreas Gustafsson).
1999-08-01 17:53:39 +00:00
ragge
6ca9b225e7
Add a timeout-routine that checks if transmit logic dies, and reset it
...
in that case. This is not uncommon when the interface is heavy loaded.
1999-08-01 15:25:41 +00:00
ragge
8f9615d62c
A bunch of changes:
...
- Free pte pages not in use anymore.
- Inline pmap_extract().
- Fix annoying page reference/modify bug. Fixes PR#7858 & PR#7859.
1999-08-01 13:48:06 +00:00
ragge
870769b516
Cpu_swapin() only need to set red zone now.
1999-08-01 12:07:31 +00:00
scw
ba922d31d8
Re-work the Tx side to avoid calling into the tty layer at
...
interrupt time. This was the cause of the 'mmu fault' panics
seen by several people, as the Tx interrupt is at a higher
priority that spltty().
1999-08-01 09:35:05 +00:00
veego
9baa857f5b
Regen.
1999-08-01 08:32:48 +00:00
veego
9657de4af2
Add an entry for the TI PCI1211 PCI-CardBus Bridge.
...
From the cardbus patches.
1999-08-01 08:32:08 +00:00
thorpej
a843b027bd
Sync w/ the i386 port. Fixes some bugs in the conventional interrupt
...
heirarchy. Reviewed by sakamoto@netbsd.org .
1999-08-01 07:52:22 +00:00
matt
d8f4dbb171
fix a few mmap bugs. pretend to be a cg3 and implement a hack
...
to fack the Xsun server to believe that the p9100's framebuffer
is really a cg3's. So if only colormaps worked, X would be able
to run.
1999-08-01 06:27:00 +00:00
matt
4b814be9cf
Initial stab at a P9100 console FB driver for the Tadpole 3GX.
...
It supports RASTERCONSOLE only and the colormap support is
broken (the hardware doesn't seem to be doing what the tech.
docs. say it should be doing). But it is usable as a console
(but with blue on white as the only color choice). I figured
I'd check it in since it is somewhat usable and someone else
might figure what I screwed up in the color map support.
1999-08-01 00:23:48 +00:00
sommerfeld
cb448a064d
Fix PR5146: reboot with working directory in unionfs causes
...
"panic: lockmgr: using decommisioned lock"
(only if DIAGNOSTIC)
The problem turned out to be due to the way LK_DRAIN was (not) handled
in union_lock; it just got passed through to the lock on the upper
vnode (which got marked as decommissioned, instead of that happening
to the union vnode. When the upper vnode was next locked (typically
when it was released), it went kaboom.
1999-08-01 00:00:57 +00:00
sommerfeld
29469abdbd
On forced unmount, do a few passes of non-forced cleanups and then do
...
a single forced pass. Along for the ride with PR5146 fix.
1999-07-31 23:56:15 +00:00
sommerfeld
d6fd753892
Let arm32 kernels build after addition of wsmux.
1999-07-31 23:12:20 +00:00
thorpej
749eee308d
If building without ITECONSOLE, don't install our own NMI handler. Just
...
leave the ROM's NMI handler in place.
1999-07-31 21:49:03 +00:00
thorpej
f4da661b4a
Nuke the DCA check. ACPI can only be console on a 425e.
1999-07-31 21:17:08 +00:00
thorpej
c870d5243c
Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on every
...
other 4xx model, and the "not configured" could be pretty annoying.
1999-07-31 21:15:20 +00:00
thorpej
e1f99936c8
Nuke apcicheckdca(). Since "serial 1" only exists as an APCI serial
...
port on the 425e, key off that instead.
1999-07-31 21:14:36 +00:00
thorpej
232492c350
Oops, forgot to add MMUID_385.
1999-07-31 20:50:48 +00:00
thorpej
5ab8857d4e
Add HP385.
1999-07-31 20:19:31 +00:00
thorpej
f7b10e4c9f
defopt HP385.
1999-07-31 19:56:48 +00:00
thorpej
72fa12a41c
Oops, forgot the HP_385 case in identifycpu().
1999-07-31 19:52:35 +00:00
itojun
70ada0957e
sync with recent KAME.
...
- loosen ipsec restriction on packet diredtion.
- revise icmp6 redirect handling on IsRouter bit.
- tcp/udp notification processing (link-local address case)
- cosmetic fixes (better code share across *BSD).
1999-07-31 18:41:15 +00:00
thorpej
ca091a5e33
Fix oversight in last.
1999-07-31 17:20:22 +00:00
christos
93146392a8
OpenBSD patch to prevent non-root users who own block or character devices
...
(typically ttys or ptys) from changing the flags on them. [Commit by cjs.]
1999-07-31 03:18:43 +00:00
thorpej
7d1889a8bd
Identify the 385 and 425e. Partially from OpenBSD.
1999-07-31 01:26:04 +00:00
thorpej
7c21482563
Add 385 and 425e SPU detection. From OpenBSD.
1999-07-31 00:45:28 +00:00
thorpej
834772047c
Add MMUIDs for the 385 and 425e, and a machine ID for the 385. From OpenBSD.
1999-07-31 00:28:20 +00:00
matt
d4b9056054
Add preliminary support for the built-in modem on Tadpole 3GX/S
...
laptops. There is currently something wrong with the interrupt
code but it does attach and sense a 16550a. (anyways the built
in modem is only a 14.4Kb and you'd really want to use a PCMCIA
modem to get faster dialup rates).
1999-07-30 23:58:25 +00:00
matt
8c0f3c5a5f
Add config file specificially for Tadpole 3GX/3GS laptops.
...
It save ~800KB over the standard GENERIC config file.
1999-07-30 23:55:43 +00:00
augustss
b6b44d6809
Eliminate the need for needs-count for wsmux. This should make
...
wsdisplays work properly again.
1999-07-30 20:52:27 +00:00
thorpej
fff1639c50
GRR! Kludge around the extremely annoying wsmux configuration lossage
...
by removing the "| wsdisplay" from the wsmux.c file declaration. This
will cause any kernel which includes wsdisplay but not wsmux explicitly
to fail to link, but at least those of us with multiple wsdisplays on
a single machine can build kernels again.
1999-07-30 20:42:16 +00:00
ross
02140cb46f
Fix the 16-bytes-of-death bug by generating specific-EOI cycles during
...
sio_intr_setup().
1999-07-30 20:33:43 +00:00
thorpej
d7bf3732b0
The new rasops stuff is a LOT faster; turn on rasterconsole on the cgsix.
1999-07-30 18:11:38 +00:00
nisimura
c03616646c
- Fix TX 66Hz interrupt handling. Verified ok with PMAG-JA as an 8bpp
...
console. XXX troubles in cursor color.
- Typo in comments of MX.
1999-07-30 16:23:43 +00:00
drochner
44b56d917e
regen
1999-07-30 16:04:41 +00:00
drochner
287f2ffe69
emulate fcntl(F_SETLK) & Co.
...
(seti@home works now:-)
1999-07-30 16:03:49 +00:00
bouyer
2917356cae
Guard tsleep() with a while (!(wdc_c->flags & AT_DONE)) {}, as suggested by
...
Constantine Sapuntzakis confirmed by Bill Sommerfeld. Although nothing is
supposed to call wakeup on this without setting AT_DONE, it's good practice to
do it this way (the process may be waken up by a setrunnable() call).
1999-07-30 14:59:10 +00:00
augustss
09e76a1645
Remove two items that are done.
1999-07-30 11:40:19 +00:00
itojun
06c350054d
remove reference to in6_systm.h (file itself will be removed afterwords)
1999-07-30 10:35:34 +00:00
fvdl
3c9ce57651
Don't try to copy an mbuf that may have been freed in case of an error.
1999-07-30 09:46:24 +00:00
mycroft
1880910b3a
Sync with GENERIC.
1999-07-30 02:35:18 +00:00
mycroft
0900226864
Make one code path a bit clearer.
1999-07-30 01:55:38 +00:00
thorpej
76dcbfad36
Regen.
1999-07-29 20:58:19 +00:00
thorpej
8548b384f5
Add some Initio SCSI controller IDs.
1999-07-29 20:56:55 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00
augustss
3652732791
Add wsmux device.
...
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss
265b6769d5
Add mux locator to wsmouse and wskbd.
1999-07-29 18:25:53 +00:00
augustss
3d3f77c49e
Add the wsmux pseudo device.
1999-07-29 18:20:02 +00:00
thorpej
d7f9efdafc
In nfs_create(), make sure error is reset to 0 if we restart the operation.
1999-07-29 17:01:21 +00:00
sommerfeld
3267e5e87d
Probable fix for PR7943: lookups fail spuriously over NFS.
...
The problem was due to an interaction between the doomed unmounts done by
amd and getnewvnode.
I convinced myself that it's ok for getnewvnode() to do a sleeping vfs_busy().
Tested with multiple builds running while another process attempted to unmount
/usr once a second.
1999-07-29 13:31:45 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
bouyer
a81c366fed
Bump MAX_START to 256, so that the ncr driver can work with more than 5
...
devices on the same bus. See PR kern/6347 for details.
1999-07-29 10:00:34 +00:00
itohy
5d4686cb63
Fix typo in comment.
1999-07-29 08:19:55 +00:00
jdolecek
053ce167b6
ntfs_statfs(): correct previous: only use mp->mnt_op->vfs_name on NetBSD,
...
FreeBSD does it differently
1999-07-29 07:55:23 +00:00
thorpej
0f0a99bb48
Make sure that pmap == pmap_kernel() when skipping pager mappings.
1999-07-28 23:23:46 +00:00
soren
7220690fb8
Regen.
1999-07-28 22:38:00 +00:00
soren
4341d92cb3
Correct Acard device names.
...
Add and update a few IBM devices.
Add Toshiba and NEC devices in Portege 3K's.
1999-07-28 22:36:10 +00:00
jdolecek
251052b682
ntfs_statfs(): don't forget to copy the fs name into struct statfs buffer
...
on NetBSD
ntfs_vgetex(): make compilable with NTFS_DEBUG defined (should be ok
for both Free&NetBSD)
1999-07-28 20:42:54 +00:00
jdolecek
6ec5efc535
ntfs_strategy(): make compilable with NTFS_DEBUG
1999-07-28 20:36:46 +00:00
thorpej
cb41412726
Fix a thinko in draining of spin locks: bump waitcount in the spin case,
...
too. Remove some needless code duplication by adding a "drain" argument
to the ACQUIRE() macro (compiler can [and does] optimize the constant
conditional).
1999-07-28 19:29:39 +00:00
ad
3d71693ea7
In fbconnect(), append ' (console)' to printed message if called for
...
the console framebuffer at attach time.
1999-07-28 17:13:54 +00:00
drochner
36e00c28de
fix the previous fix
1999-07-28 10:03:02 +00:00
drochner
b513c9a6ad
update comments for mi VME
1999-07-28 09:48:36 +00:00
drochner
6922e1976e
adapt to mi VME attachment (sorry for being late)
1999-07-28 09:45:08 +00:00
drochner
f6fddabf3f
back out previous - there is really a "vmebus" attribute
1999-07-28 09:39:48 +00:00
thorpej
51d09124f9
Fix another locking error: if freeing a PV entry, don't attempt to
...
free a PV page if the PV entry was associated with the kernel pmap,
since the kernel pmap is locked, and freeing the page will execute
a code path which will attempt to lock it again, resulting in deadlock.
No real loss, since the next time a PV entry is freed, the page will
be freed, too.
1999-07-28 06:54:41 +00:00
christos
fb4ecab492
make these compile again s/#endif/#else/
...
again, it is impossible for me to make sure that they work.
1999-07-28 06:35:06 +00:00
is
b0cd4e82f1
regenerate: no gvpbus on DRACO
1999-07-28 05:56:07 +00:00
is
d2cd47b6b2
no gvpbus on DRACO
1999-07-28 05:55:19 +00:00
christos
223cc34183
make the vme stuff compile again; I am not sure this is correct as I don't
...
have the hardware to test, but it has been broken for 3+ weeks now. Hi
Mr. Drochner!
1999-07-28 05:45:50 +00:00
thorpej
eced87ad87
Fix a locking error: When allocating a PV page for the kernel pmap,
...
the pmap would be locked, and we would deadlock when mapping the
newly allocate PV page.
1999-07-28 05:37:54 +00:00
mellon
a976011fcf
- Correct the definition of the COUNT macro so that it takes the same
...
number of arguments when compiled without DIAGNOSTIC as with.
1999-07-28 01:59:46 +00:00
mellon
6d03d79b64
- compat_aout requires compat_13_machdep.c for definition of sigreturn.
1999-07-28 01:57:05 +00:00
thorpej
9d4524778d
Slight adjustment to last; move pmap_kenter_pa() to where the other
...
pmap_k* functions are.
1999-07-28 01:17:01 +00:00
thorpej
31fa5c6f78
Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
...
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
thorpej
6ec1ededf1
Make a slight rearrangement in how <machine/lock.h> is included.
1999-07-27 23:45:13 +00:00
thorpej
cc668e410f
Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
...
semantics of ldstub.
1999-07-27 22:22:33 +00:00
thorpej
0b1b32b6ff
Make sure the kprintf_slock is initialized, and use the low-level atomic
...
locking primitive directly to lock it, since those will never attempt
to call printf() to display debugging information (and thus deadlock
on recursion into the kprintf_slock).
1999-07-27 21:50:37 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +00:00
thorpej
d17dfae658
1.4I - simplelock changed
1999-07-27 21:33:57 +00:00
thorpej
cd992b17df
In _pool_put(), call simple_lock_freecheck() if we're LOCKDEBUG before
...
we put the item on the free list.
1999-07-27 21:31:17 +00:00
thorpej
6390046137
Improve the LOCKDEBUG code:
...
- Now compatible with MULTIPROCESSOR (requires other changes not yet
committed, but which will be later today).
- In addition to tracking simple locks, track exclusive spin locks.
- Count spin locks like we do sleep locks (in the cpu_info for this
CPU).
- Lock debug lists are now TAILQs, so as to make the locking order
more obvious when dumping the list.
Also, some suggestions from Bill Sommerfeld:
- SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED constants, which may be
defined in <machine/lock.h> (default to 1 and 0, respectively). This
makes it easier to support architectures which use test-and-clear
rather than test-and-set.
- Add __attribute__((__aligned__)) to the `lock_data' member of the
simplelock structure. This makes it easier to support architectures
which can only perform atomic operations on very-well-aligned memory
locations. NOTE: This changes the size of struct simplelock, and
will cause a version bump.
1999-07-27 21:29:15 +00:00
castor
0a1820a4e7
regen
1999-07-27 17:55:00 +00:00
castor
424a28aa79
Add vendor ID for Geocast
1999-07-27 17:52:59 +00:00