Commit Graph

33028 Commits

Author SHA1 Message Date
enami
9be459a1fb Regen. 1999-11-06 00:59:56 +00:00
enami
9c7bc44f91 Support an earlier version of IO-DATA PCLA/T. 1999-11-06 00:58:32 +00:00
drochner
db5d01fc72 back out the "ep"/"ex" guessing part of the previous - the check was
removed from the kernel and the device name is only informational now
1999-11-05 22:57:39 +00:00
drochner
8625e61c24 don't check the device name passed by netboot ROMs against the driver
name - drivers change too often, bus attachment information should be
sufficient to identify the boot device
1999-11-05 22:54:43 +00:00
thorpej
718f6380a7 Add tlp, document TLP_MATCH_* options, and add some missing PHYs. 1999-11-05 21:36:21 +00:00
jdolecek
f759642ae2 Fix a problem in previous: we can't blindly assume that we have
wincnt entries available at the offset the file has been found. If the dos
directory entry is not preceded by appropriate number of long name
entries (happens e.g. when the filesystem is corrupted, or when
the filename complies to DOS rules and doesn't use any long name entry),
we would overwrite random directory entries.

There are still some problems, the whole thing has to be revisited and solved
right.
1999-11-05 21:33:21 +00:00
thorpej
803d0b1a4b Add some missing Ethernet cards: rl, ti (not in INSTALL), sip, tlp. 1999-11-05 21:30:21 +00:00
perseant
b46550bdcf Better fix for PR# 8577: before setting dirops, check for cross-device
rename and error out.  This avoids possible problems with attempting
rename between two LFSs.
1999-11-05 20:14:56 +00:00
scottr
7aa7583c8e Enable interrupts during delay calibration. We pretty much have
to allow this exception so that accurate tuning of delay() can be
done (i.e. avoiding VIA-related wait states and cache effects as
much as possible).

XXX During this narrow window, it is still conceivable that we could
get interrupts from devices other than the VIA timer.  Normally this
shouldn't be a problem because interrupt handlers should generally
not be registered until we get to autoconfig.  It is, however, a
potential pitfall to be aware of.
1999-11-05 19:14:56 +00:00
scottr
55c161d3da Since nothing depends on interrupts during autoconfig proper
any longer, we can finally avoid enabling interrupts until the
end of cpu_configure().  This resolves a long-standing issue that
has caused us trouble several times in the past.
1999-11-05 19:06:39 +00:00
pk
23c39b410d Fix some diagnostic output with a patch from Jonathan O'Brien. 1999-11-05 19:00:44 +00:00
scottr
41ae6be989 Defer ADB configuration until interrupts are (normally) enabled. 1999-11-05 18:27:11 +00:00
scottr
902801374a An aesthetic change to autoconfig output to complement Colin Wood's
change to macrom.c in June.
1999-11-05 18:08:02 +00:00
jdolecek
ead528ba12 msdosfs_lookup(): initialize denode's de_fndcnt properly even for
"found" case. This information is important for msdosfs_rename(),
when the target filename is "long" and the file exists -
it gets unlinked and the entries are re-used, but if de_fndcnt was
left zero, createde() thinks there are no entries to store the
long filename of moved file and long filename is "lost".

Fixes PR #5468 by Dave Huang <khym@bga.com>.

Tested by: jdolecek
Reviewed by: Wolfgang Solfrank
1999-11-05 16:49:15 +00:00
itojun
e127ba2f0b fix well-known CPI handling bug. (sync with KAME code) 1999-11-05 14:57:00 +00:00
itojun
37ecccca6b decrease amount of history buffer to use for IPcomp.
the default setting of zlib allocates too much memory and of no use for
network packets (which are like < 2k).

From: Laine Stump <lainestump@rcn.com>
1999-11-05 14:56:26 +00:00
mycroft
895de56d08 Fix recent bug in sys_accept(): we must remove the file descriptor from the
file descriptor table before freeing the file description.
1999-11-05 11:48:57 +00:00
ad
341c38ac01 In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.
1999-11-05 10:16:11 +00:00
fredb
92d294b3dc Add and enable Coda file system and pseudo-device vcoda. Closes PR 8625. 1999-11-05 09:59:25 +00:00
fredb
8e579b4df3 Enable mi Coda driver (PR 8625). 1999-11-05 09:54:07 +00:00
sommerfeld
73bf131124 Add rcsid's 1999-11-05 05:13:36 +00:00
chs
07e5d68b51 several fixes to copy{in,out,}str() from charles and myself:
don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates.
avoid crashing if the userspace address is >= KERNBASE.
make sure *done is 0 when no bytes are copied.
1999-11-05 04:49:26 +00:00
takemura
5546e92c75 Clear interrupt register before check keys. 1999-11-05 04:28:14 +00:00
nisimura
392a4acdd7 - Remove temporary hack to recognize PMAGD since SFB+ rendering function
is found not fully upward compatible to its predecessor.  sfbp.c is now
  under development.
- Reduce copycols() malfunction, but has still lot of troubles.
1999-11-05 03:28:40 +00:00
sato
db87b456fa inherit WinCE timezone only when 'options RTC_OFFSET=..' is not specified. 1999-11-05 03:27:54 +00:00
takemura
f030408088 TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
1999-11-05 02:43:23 +00:00
jdolecek
fe54414362 msdosfs_readdir(): set iovec offset correctly so that some long filename
entries won't be ignored when contents of the directory don't
fit in user buffer all at once.

Fixes kern/4492 by Rick Byers <rickb@iaw.on.ca>.
1999-11-04 23:08:57 +00:00
thorpej
8e930a51fe Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
bouyer
fb8b192c0a Pass xfer->c_bcount instead of sc_xfer->datalen to the device, so that
it gets the rigth len for a request sense (from OpenBSD).
1999-11-04 21:16:53 +00:00
thorpej
0ad32f07d2 Revert this part of rev 1.59:
- Be more conservative when resetting the interface after a transmit error.

It caused the interface to totally wedge on the (somewhat common) transmit
FIFO underrun condition.
1999-11-04 20:27:11 +00:00
sommerfeld
458feeb836 Add awi 1999-11-04 19:43:13 +00:00
thorpej
06a4c7fe53 Allow rd/line, rd/mult, and wr/inval. 1999-11-04 19:15:22 +00:00
thorpej
a3759d67fe Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's. 1999-11-04 19:11:51 +00:00
thorpej
4a09180976 Don't pass rd/mult capability though a PCI-PCI bridge. The bridge would
have to break it up into mutliple rd/line's anyhow, so why bother letting
the device issue it in the first place.
1999-11-04 19:04:04 +00:00
thorpej
110ac27449 Make sure devices are told they can use rd/line, rd/mult, and wr/inval. 1999-11-04 19:03:00 +00:00
sommerfeld
d9bc6e4f98 Conditionalize so this builds on 1.4.x.. 1999-11-04 18:43:42 +00:00
sommerfeld
12b00b0444 Allow this to build on 1.4.x, too 1999-11-04 18:41:14 +00:00
sommerfeld
fd0062aeab Attempt to be smart about whether to use I/O space or memory space to
access the card's shared memory: if we can't allocate the 32k we need,
fall back and just use I/O space access.
1999-11-04 17:48:13 +00:00
mhitch
54b3de8b6f Only check for cache index compatiblity on MIPS3 if there is no secondary
cache.  With secondary cache, the CPU will detect cache coherency errors
and the Virtual Coherency Exception handler will flush the appropriate
cache lines to maintain cache coherency.  This allows much better
performance than inhibiting the cache for the entire page.  This is
very noticable when shared library mappings occur with incompatible
mappings, since there's a very likely chance the mappings will remain
for long periods of time.  Systems without secondary cache will still
have the cache inhibited, so there will still be performance issues if
shared libraries don't get mmaped() on correct memory alignments.

This fixes the current problems on DECstations using the R4x00 getting
coredumped programs.
1999-11-04 17:20:57 +00:00
sommerfeld
2ee5984fa6 Driver front-end for BayStack 650 PCMCIA 802.11 card.
Committed using the driver.
1999-11-04 17:12:43 +00:00
sommerfeld
58e709f695 Minimally functional driver for the am79c930 802.11 controller chip).
Working well enough to support dhcp; i'm doing this commit using the
interface.

Supports FH only.  Does not yet do ad-hoc mode; works in
infrastructure mode.  Not yet tested in environments with multiple
access points.
1999-11-04 17:10:53 +00:00
tsarna
c0b20561f7 regen 1999-11-04 16:18:41 +00:00
tsarna
9df6f09e30 Add Aureal AU8820 1999-11-04 16:02:20 +00:00
takemura
c7bb567f7c Move consinit() from findcons.c to machdep.c and remove file 'findcons.c.
Modify kernel boot options.
1999-11-04 13:11:23 +00:00
augustss
fb580e3f6e Regen. 1999-11-04 10:34:40 +00:00
augustss
1289659618 Add SBLive! 1999-11-04 10:34:03 +00:00
joda
c8532c3ebe regen 1999-11-04 09:39:17 +00:00
sato
5eba2f8c9b if rtc_offset is 0, rtc_offset inherit WindowsCE timezone. 1999-11-04 09:39:10 +00:00
joda
dbfcb792e1 add Xircom X3201-3 Fast Ethernet Controller 1999-11-04 09:38:38 +00:00
jonathan
0588cdfc88 Update user-level PPS-API to match -05 draft.
Change PPS_<xxx> ioctls to PPS_IOC_<xxx>.
1999-11-04 05:33:58 +00:00
mrg
bd0928e723 find "SUNW,hme" as well as "hme". this matches the onboard
ultra2 hme.  haven't actually tested this beyond it probing
because my scsibus is hanging.  anyway, it reports:

hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
1999-11-04 05:31:38 +00:00
sato
829c8ef0f2 GENERIC_JP include GENERIC. 1999-11-04 04:58:25 +00:00
simonb
986464bd89 Remove duplicate line. 1999-11-04 02:53:03 +00:00
thorpej
97bbad1f0b Do rd/line and rd/mult on the MX98725 and LC82C115, too. 1999-11-04 01:27:32 +00:00
thorpej
e3f20e8ff1 Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.
1999-11-04 01:20:55 +00:00
thorpej
a4e1bde0b3 Print out if the read {line,multiple} and write/invalidate commands are
okay to use.
1999-11-04 01:03:34 +00:00
thorpej
1825cdf45b Tell the PCI layer that Memory Read Line, Memory Read Multiple, and
Memory Write and Invalidate are okay PCI commands to use.
1999-11-04 01:02:38 +00:00
thorpej
ca9b9a3b2e Adapt to mii_phy_probe() change. 1999-11-04 00:24:00 +00:00
thorpej
bedeeb9896 Allow mii_phy_probe() to be called multiple times, and allow the caller
to specify either the PHY number or the PHY `offset' (1st, 2nd, 3rd, etc.)
to configure.
1999-11-04 00:22:07 +00:00
thorpej
3750d3f592 Update for ifmedia changes. 1999-11-03 23:07:10 +00:00
thorpej
e19c356e76 Make the ifmedia_entry list a TAILQ. This is pretty much for cosmetics
(media added to tail, so that when e.g. the list is run to print out
what media exist, they appear in-order).
1999-11-03 23:06:35 +00:00
augustss
1e460723a5 Don't flag an error when doing ioctl() on a mux without any
multiplexees.  Should fix PR 8723.
1999-11-03 22:48:38 +00:00
thorpej
bc82bff1dc Don't add any loopback versions of media, for now. 1999-11-03 22:32:45 +00:00
thorpej
8fc600c3b1 Clean up the code that adds media a little, and make media selection
table-driven in preparation for some other changes to be made.
1999-11-03 22:30:32 +00:00
thorpej
e017601bd3 More or less completely rewrite the way DECchip media is handled, and
add support for the DECchip 21142/21143 SIA/SYM media.  Make the Macronix
98713 behave like a 21140A, and the 98713A and later behave like a 21143.
Nuke all of the Macronix-specific Nway code, as it will be identical to
the 21143 Nway code once it is written.
1999-11-03 22:25:08 +00:00
thorpej
eb16cd3aa7 Define DECchip 21142/21143 register bits, and since the Macronix chips
are nearly perfect 21143 clones, delete a bunch of redundant info in that
section of the file.
1999-11-03 22:22:49 +00:00
mycroft
9a6b48c680 Fix compilation error due to cpp headaches. 1999-11-03 22:13:20 +00:00
ragge
94b8f863fa Don't use structs for BI space definitions, use offsets. 1999-11-03 21:57:40 +00:00
matt
31ba134e32 use __vax__ and __i386__ instead of vax and i386 1999-11-03 20:50:17 +00:00
mycroft
b2ecb4ad21 In copy*str(), explicitly check for maxlen==0, rather than implicitly making it
act like 2^32.

Tested by: simonb
1999-11-03 16:21:22 +00:00
chs
f13d3f5b3b from jason:
avoid biodone()ing the original buf twice when a component buf
gets an error.  fixes PR 8704.
1999-11-03 16:04:03 +00:00
mycroft
d2b362b685 Only update the cursor state if it's enabled. 1999-11-03 15:55:27 +00:00
chs
b2eeefd2b9 mycro-optimization (ie. from charles). 1999-11-03 15:32:45 +00:00
enami
144cdf4dd7 Use tabs to indent. 1999-11-03 14:55:53 +00:00
mycroft
4f1f2c6398 Fix silly error that caused the secondary channel to be ignored if the primary
channel was disabled.
1999-11-03 14:54:07 +00:00
jdolecek
34eaf12c8f adapt to latest scsipi changes
XXX this is not tested, but should be okay
1999-11-03 14:16:33 +00:00
jdolecek
9c9df2bf71 adapt to latest scsipi changes
XXX this is not actually tested, but should be okay
1999-11-03 14:12:19 +00:00
enami
60ba1b7481 Do options<space><tab> magic. 1999-11-03 14:09:53 +00:00
enami
022e07f47f make sure to sync mask bit and array index. 1999-11-03 13:55:41 +00:00
takemura
c3db78c27f Always override color table. 1999-11-03 13:48:07 +00:00
ad
0f1d754327 QIOCGMAP is what I like to call QIOCGINFO during my more confused moments,
but other people can't be expected to know that. Noted by mhitch.
1999-11-03 13:45:11 +00:00
mycroft
3c702c1d8d Recognize the 3c595, and use `ex' for 3c90x now. 1999-11-03 12:38:54 +00:00
augustss
3b576cc6b2 Update. 1999-11-03 12:11:26 +00:00
shin
59131de0d3 add rasops15, rasops16 to fb 1999-11-03 11:40:58 +00:00
mycroft
dfc00b5b24 Back out the GDT changes in the previous. Didn't mean to commit that. 1999-11-03 09:55:32 +00:00
mycroft
1ee8f66dfe Picking a few nits...
* The direction flag wasn't set right in the presence of ROMDEBUG.
* There were missing data32's.
* We weren't as careful as we should be with relocations.
1999-11-03 09:28:15 +00:00
jdolecek
3999099463 proc_sysctl(): initialize ptmp to NULL - theoretically, ptmp might
be used uninitialized when name[0] != PROC_CURPROC and
proclists[0]->pd_list == NULL; actually, this can never happen
(proclists[0] == &allproc), but the compiler can not know this, so it
complains
1999-11-03 09:12:15 +00:00
takemura
199c644d0b Remove disused lines, 'disable clock interrupts (until startrtclock()). 1999-11-03 04:00:04 +00:00
he
5d30149598 Provide multiple inclusion protection. 1999-11-03 00:47:21 +00:00
jdolecek
8b2a23fb1a db_cmd_list(): variable ``width'' might have be used uninitialized, initialize
it to 0
1999-11-02 23:53:31 +00:00
augustss
3fc5780b19 Allow irq 15 since some clones use it. 1999-11-02 23:35:02 +00:00
thorpej
3b8a1e5d8c Implement PT page stealing for extreme low memory conditions. This
has the side-effect of eliminating a locking protocol error in some
memory-desperation code in pmap_physpage_alloc().
1999-11-02 18:09:31 +00:00
augustss
361b083d4c Shorten some delay()s. From WITEK Wnuk <witek@atari.org> 1999-11-02 17:48:01 +00:00
augustss
35483ee3bf Set mixer controls after a reset. 1999-11-02 17:05:05 +00:00
augustss
b952f8727b Print a little more information when attaching. 1999-11-02 16:54:27 +00:00
drochner
e6d27a3a83 correct debug printf() to make it compile with DISK_DEBUG again,
closes PR kern/8718 by Takahiro Kambe
1999-11-02 16:52:25 +00:00
kleink
b536890c88 Add a mixer control for the Master Volume Mute knob. 1999-11-02 12:11:42 +00:00
augustss
72a864f78c Add the midibus attribute to the fms driver. 1999-11-02 11:58:06 +00:00
takemura
5cba30bd7e Wsdisplay use small font, VT220 8x10. 1999-11-02 10:36:52 +00:00
takemura
e68b59e2c6 Add new function, bicons_printf(). 1999-11-02 10:33:05 +00:00
takemura
8f94bda30c Add new font sets - VT220 8x8 and 8x10.
I brought them from arch/i386/isa/pcvt/Util/fonts.
You can specify FONT_VT220L8x8 or FONT_VT220L8x10 in a configuration file.
1999-11-02 10:25:22 +00:00
erh
5779957787 undo confusion. 1999-11-02 08:02:43 +00:00
chs
4659d58793 return an error if `len' is 0. 1999-11-02 07:45:59 +00:00
scottr
a15f217211 [Redo] Allow rates higher than 57600, per PR 8070. Change originally
from Bill Studenmund.
1999-11-02 06:51:45 +00:00
chs
f8d11b005f only clear pcb_onfault if we actually set it. fixes PR 7838. 1999-11-02 06:48:33 +00:00
scottr
9894ab10b4 [Redo] Catch up with recent changes to scsipi flags. Closes PR 8675. 1999-11-02 06:42:26 +00:00
soren
bc18b45323 Clean up attachment printing a bit. 1999-11-02 05:41:27 +00:00
soren
09c41837ce Fix crash when both 1370 and 1371/1373 devices are configured.
Update documentation links.
XXX The initial volume of the 1371 mixers is set to 255. Should be ~200.
1999-11-02 05:40:59 +00:00
thorpej
c8852145bc Get fms MPU and OPL module inclusion right. 1999-11-02 00:29:20 +00:00
augustss
04235d23f6 Enable fms device again. 1999-11-01 23:27:56 +00:00
augustss
3c40153ea9 Fold some long lines and make it compile with the new auconv functions. 1999-11-01 23:26:58 +00:00
thorpej
b03d459244 From Ross Harvey:
- Fix a bug where IPL wasn't being lowered to process SIRs, which
  effectively caused them to be processed at splserial(), and loop
  over the ssir, like we do for astpending.
- Optimize the flow of exception_return().
1999-11-01 22:41:55 +00:00
mycroft
ee3ba7ce7a Fix obvious typos. 1999-11-01 22:34:37 +00:00
is
13c27090e8 Don't call the sc->sbic_dmago() function if the data length is zero.
This avoids a zero pointer dereference, which fixes PR 8571.
Make sbic_dmago() report selection timeouts to the upper layer.
This makes sbic really work again with 1.4L.
1999-11-01 22:22:33 +00:00
augustss
7c8206c662 Add a missing file for the fms driver. 1999-11-01 21:54:12 +00:00
augustss
6d6d495cfa Disable fms driver for the moment. 1999-11-01 21:44:35 +00:00
fvdl
f39cfa5c7b Stuff values in va_blocksize that are closer to reality. 1999-11-01 21:32:41 +00:00
augustss
8cd393778b Regen. 1999-11-01 20:43:51 +00:00
augustss
684aa0605c Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.
1999-11-01 20:43:12 +00:00
jdolecek
96a3d5b1cd install only headers which are actually used when compiling userland 1999-11-01 20:40:48 +00:00
thorpej
f3055da377 Simple little speed hack in pmap_is_referenced()/pmap_is_modified(): don't
need to have the pv_head lock in order to test the REFERENCED or MODIFIED
attribute; the load of `pvh_attrs' is atomic.
1999-11-01 20:25:39 +00:00
thorpej
79a1245dbb - Fix a case where we weren't acquiring the pv_head lock when modifying
the page attributes in pmap_enter().
- It's no longer necessary (and hasn't been for a while in this pmap) to
  go to splimp() to use the physical->virtual table, so remove all such
  uses.
1999-11-01 20:18:25 +00:00
thorpej
6bb1df8224 Fix a race condition in AST processing described by Andrew Gallatin on
the freebsd-alpha mailing list which basically boiled down to increasing
stack depth due to lowering the IPL before checking for an AST.

This changes AST processing to do basically what the i386 port does (as
described by Charles Hannum):

 check_ast:
        if (astpending) {
                lower IPL
                process AST
                raise IPL
                goto check_ast
        }
1999-11-01 19:59:58 +00:00
perseant
ea1f38ce2f Check that the destination vnode is on an LFS before trying to twiddle
its superblock.  Fixes PR#8577.
1999-11-01 18:29:33 +00:00
augustss
860ebb7a92 Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.
1999-11-01 18:12:19 +00:00
augustss
fb4a4525a8 Be cautious about the blocksize returned by the hardware driver to
avoid division by 0.
1999-11-01 18:06:36 +00:00
haya
88f1d44cc2 Change the interface of cardbus_function_enable() and
cardbus_function_disable().
1999-11-01 09:59:23 +00:00
haya
8553661a5e Maintainance the name of Ricoh PCI-CardBus bridges. 1999-11-01 08:58:45 +00:00
scottr
8a407bd3c3 Reserve a character device slot for wsdisplay. 1999-11-01 05:29:21 +00:00
soren
d2827a09c0 Install dvdio.h. 1999-11-01 00:00:43 +00:00
jdolecek
94b1798c8c struct ntnode: g/c i_uid, i_gid, i_mode - use directly appropriate
ntnode->ntmp->ntm_* values
ntfs_inactivate(): as NTFS doesn't support any filesystem changes,
	it's not needed to check whether the file handle is stale;
	the check was bogus anyway - besides the value of vp->v_usecount
	was checked with unlocked vnode, the vnode was unnecessarily
	_always_ recycled when the filesystem containing it has been
	mounted with mask (-i parameter to mount_ntfs(1))
	not specified or 0 -- unbelievable, but true
ntfs_reclaim(): don't call VOP_UNLOCK() even on FreeBSD - it's not
	done for any other their filesystem, so it should not be done even
	for NTFS
ntfs_access(): remove the commented-out check for immutable flag, it doesn't
	make sense for NTFS
other miscelaneous cosmetic cleanups
1999-10-31 19:45:26 +00:00
jdolecek
e0909d1564 adjust the Unicode support comment
NTFS ACL support would be nice, though it's real world usefullnes would
be probably very limited
1999-10-31 18:31:39 +00:00
chs
53a262dfa4 fix DEBUG printfs to compile. 1999-10-31 15:49:27 +00:00
mrg
6a29b62403 make this compile in the absense of DDB. 1999-10-31 15:22:32 +00:00
joda
74b6d909b1 add fxp CardBus cards 1999-10-31 15:17:03 +00:00
joda
d094848950 uncomment fxp_cardbus 1999-10-31 15:14:17 +00:00
joda
b0e5ebfddc commit a more working version if this driver; so far only tested on an
Intel `PRO/100 LAN+Modem56 CardBus II'
1999-10-31 15:12:39 +00:00
mycroft
8efdaab402 Fix the size of start_sector, end_sector and end_sector_l0. (I'm just going to
assume the Linux people will also fix this, since I reported it to them.)
1999-10-31 14:03:16 +00:00
he
09e6fcd222 Print drive vendor_id/product_id/revision strings also for SCSI-3 devices.
before: sd0 at oscsi0 targ 0 lun 0: type 0x0, qual 0x0, ver 3
after:  sd0 at oscsi0 targ 0 lun 0: <IBM, DGHS09U, 0350> (SCSI-3)
1999-10-31 12:36:30 +00:00
scottr
5c0a9c0483 Sync trace trap handling with other m68k ports, originated by
ITOH Yasufumi.  Coincidentally closes PR 7738.
1999-10-31 08:18:59 +00:00
frueauf
4f3fdd1096 fix typo: s/EM_68k/EM_68K/ 1999-10-30 22:56:29 +00:00
augustss
6346873ea6 Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-10-30 17:03:30 +00:00
bouyer
98b5a519ce In sddump(), check sd->sc_dev.dv_flags once sd has been initialised.
Patch supplied by tsutsui@ceres.dti.ne.jp in kern/8708.
1999-10-30 16:35:12 +00:00
sommerfeld
db05febdfa Add enable/disable support and EEPROM size selection, prerequisites
for getting the cardbus fxp attachment to work.

Tested on the built-in 82559 in a VAIO Z505S.

From Johan Danielsson / PR8631; changed slightly to KNF.
1999-10-30 16:07:58 +00:00
augustss
3d0e8ae9dd Make this file compile again by using the same names as in pcidevs. 1999-10-30 16:02:28 +00:00
uch
6da8c0e207 fix comment. 1999-10-30 15:15:08 +00:00
augustss
a498fbea5f Add midibus attribute for eap. 1999-10-30 14:11:16 +00:00
enami
781f26d383 back out unnecessary stylistic changes in recent changes, to keep coding
style closer to NKF.
1999-10-30 12:11:27 +00:00
enami
b9451ead47 remmove unncecessary empty line. 1999-10-30 12:07:08 +00:00
enami
77827095c6 remove unnecessary quotation. 1999-10-30 11:36:43 +00:00
enami
599fbaa394 replace tab in ascii figure with space. 1999-10-30 11:29:19 +00:00
uch
943a325978 TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
1999-10-30 11:03:39 +00:00
uch
786f12a1cb regen. 1999-10-30 10:58:33 +00:00
uch
103b19f92f Change TX39XX -> TX3900, TX392X -> TX3920 (use its core name)
Remove TX3910 (no such a product)
Add Sharp Telios, Victor InterLink entry
1999-10-30 10:56:49 +00:00
uch
5f1af37e34 include disk.h 1999-10-30 10:54:13 +00:00
enami
fc21ddd943 Call epstop at the beginning of epinit, especially to make sure that
ep_tick is untimeouted before new one is scheduled.  This makes 3C574-TX
works at least in 10Mb/s mode.
1999-10-30 01:35:47 +00:00
enami
3f199cc5e4 Add and delete a reference to an adapter at aicattach(), to make sure
that the adapter is disabled even if it wasn't enabled/disabled during
configuring its children.  This fixes the bug that if an aic pcmcia card
is inserted in a slot during boot, further attaching of any card on the
slot fails once the card is removed.
1999-10-30 00:58:32 +00:00
augustss
613db45d20 Add MIDI support.
Closes PR 8578.
1999-10-29 23:03:18 +00:00
matt
b326762ef1 forgot one patch. add a define for wavelan 1999-10-29 21:41:19 +00:00
matt
b2db663942 fix entry for lemac on isa. add entry for wavelan on isa 1999-10-29 21:38:04 +00:00
matt
5fcccf1e9c Add a placeholder for the ISA WaveLAN card 1999-10-29 21:35:43 +00:00
matt
471ab17680 Regen. 1999-10-29 21:31:30 +00:00
matt
c707186f57 Add AHA-1480 (adaptec cardbus scsi) 1999-10-29 21:30:19 +00:00
ragge
12c16f443f DEC specifies that dealing with CSR0 in the interrupt routine must be
done in a special order. Do that here also, but for now inside #ifdef vax
because of the (possible) impact on other arch's.
Now vaxen without IOMMU can use the MI LANCE driver.
1999-10-29 19:50:07 +00:00
drochner
52f922f960 correct last change: mkboot depends on (sizeof(struct boot_block)==512) 1999-10-29 15:21:13 +00:00
mycroft
e45ef6abcd Emulate the Linux DVD_* ioctls(2). This gets us 90% of the way to running the
LiViD DVD player.  (See forthcoming mail to current-users.)
XXX NOTE: We should do something to probe capabilities, rather than allowing
these ioctls on any device.
1999-10-29 15:02:56 +00:00
joda
ee08428d1c handle multi function cards 1999-10-29 12:02:13 +00:00
joda
1ea6cd1de0 add cardbus_exrom.c to cardbus device 1999-10-29 11:31:40 +00:00
joda
54fed4c419 add support for reading memory mapped CIS via BAR or EXROM register 1999-10-29 11:30:27 +00:00
haya
65c3b4c4c7 Maintainance the name of Ricoh PCI-CardBus bridges. 1999-10-29 07:57:38 +00:00
haya
47fc621312 Remove unnecessary check in cardbusmatch. 1999-10-29 07:29:08 +00:00
haya
dd9c83a378 Change cardbus messages when cardbus does not configured. 1999-10-29 07:27:43 +00:00
simonb
80e4097b69 Fix cut'n'pasto in comment. 1999-10-29 03:36:18 +00:00
thorpej
9d820e6fab Add some 21142/21143 goo. 1999-10-28 23:32:37 +00:00
joda
8ff7881953 add macro to get ROM image number, given a CIS pointer 1999-10-28 22:29:04 +00:00
joda
12d5a03a7f code to read PCI expansion ROM 1999-10-28 22:27:00 +00:00
scottr
d0583ec22c Rearrange a little bit for consistency with spl(9); add splserial()
check to intr_computeipl().
1999-10-28 20:25:41 +00:00
sommerfeld
77ee68352f regenerate 1999-10-28 20:00:29 +00:00
sommerfeld
2acce3142f Add BayStack 650 802.11 FH card 1999-10-28 19:59:31 +00:00
sommerfeld
652701006d Fix suspend/resume-related problems observed on fxp0 on Sony Z505S:
Symptoms: system would crash with "data modified on free list" pool
panic from the mbuf cluster pool shortly after a resume.  The cluster
in question contained a valid 82557 receive descriptor and an IP
packet.  Happened sporadically in normal use.  Easiest way for me to
reproduce it was to run tcpdump and a flood ping and do a
suspend/resume cycle or two.

Changes:
 - in interrupt handler, if the interface isn't in IFF_RUNNING state,
just ack interrupts and return; don't try to receive packets, queue
new descriptors, etc., etc.,
 - add power control hook to take interface down on suspend,
and restart it (if it was up) on resume.
 - tweaks to fxp_stop and fxp_shutdown to avoid recursive panics due
to the (now fixed) bug.
1999-10-28 19:21:51 +00:00
mjacob
7c3f92fd69 Remove f/w from tree. The licences are not acceptable to TNF. 1999-10-28 16:13:43 +00:00
mjacob
44c603dd7b Remove reference to loadable f/w. 1999-10-28 16:11:19 +00:00
leo
38cae5303b Remove htopci(). bus_space_write_4() takes care of necessary endian conversions. 1999-10-28 13:49:19 +00:00
leo
b9ba082e30 Define an audio device at c-major 42 and reserve 41 for wscons. 1999-10-28 13:43:54 +00:00
leo
4c4e4258e2 Use extent maps. 1999-10-28 13:38:35 +00:00
augustss
9388a61d05 Add a few more tests for safety. 1999-10-28 12:08:38 +00:00
jun
061402cc4a add
SOCKET LOW POWER ETHERNET Compact Flash Card.
1999-10-28 09:21:46 +00:00
jun
0f51f21761 add entry Corega PCC-TX PCMCIA card. 1999-10-28 08:12:14 +00:00
augustss
357dc256c9 Make sure read() and write() fails on the control pipe. 1999-10-28 07:28:51 +00:00
jun
a6e07f236b Sorry backout Patch about COREGA FAST_ETHER_PCC_TX. 1999-10-28 07:21:28 +00:00
lukem
50f7ec2271 sort sparc_db_command_table[] 1999-10-28 06:56:31 +00:00
lukem
c75ca4bcee sort db_machine_cmds[] 1999-10-28 06:55:31 +00:00
lukem
dc8817eb44 sort mips_db_command_table 1999-10-28 06:54:16 +00:00
lukem
fa284ad64d sort arm32_db_command_table[] 1999-10-28 06:49:20 +00:00
augustss
e33e7aa647 Regen. 1999-10-28 06:41:40 +00:00
augustss
786bc11173 Another device... 1999-10-28 06:41:13 +00:00
jun
312acdff00 add Corega PCC-TX PCMCIA Card (not CardBus but 100Base-TX) Entry. 1999-10-28 06:38:51 +00:00
lukem
4a2b49cb31 - change db_cmd_list() to list commands vertically rather than horizontally
- sort entries in the various command tables, so that the `help' lists
  are easier to use. this included hacking db_machine_commands_install()
  to search for the "machine" entry to change the `more cmds' pointer,
  rather than assuming it was the first entry
- add a `sync' command, which is effectively `reboot 0x100'.
- remove db_help_cmd(); it was unused (and was almost a duplicate of
  db_cmd_list()).
- move some extern decls to db_output.h, since they're used in more than one
  place now
- rename NEXT_TAB to DB_NEXT_TAB and move to db_output.h
1999-10-28 06:37:32 +00:00
mycroft
093997a6f6 Remove totally gratuitous check on the unit number in dev2bios(). 1999-10-28 05:20:05 +00:00
mjacob
7227a97ad0 I was misinformed. I cannot get away from specifying tags for FC. Some devices
are happy w/o them- some are unhappy (IBM drives).
1999-10-28 02:50:34 +00:00
jdolecek
45ddf3387a *sigh* - don't try to be more clever than other filesystems and
don't use LK_RETRY in ntfs_lookup() when re-locking the directory
vnode
1999-10-27 20:56:41 +00:00
is
5ef42fc055 Regenerate. 1999-10-27 19:10:58 +00:00
is
5a76bfb229 Yet another Fujitsu Ethernet card.
Contributed by HEO SeonMeyong in PR 8658.
1999-10-27 19:10:02 +00:00
thorpej
00ba1a42eb Fix a braino in some currently-disabled code. 1999-10-27 19:05:44 +00:00
thorpej
98109043a9 Expose the ifmedia_match() function. 1999-10-27 17:59:24 +00:00
ragge
2334c8a315 Allocate memory for printouts directly instead of (trying to) use the
yes uninitialized VM system.
1999-10-27 16:40:47 +00:00
ragge
9318cd75a1 Let smg be probed as all other possible consoles. 1999-10-27 16:38:54 +00:00
ragge
4bec31640a Avoid calling cninit() too early. 1999-10-27 16:37:54 +00:00
christos
040891d3e1 regen 1999-10-27 15:12:28 +00:00
christos
c48725b28e PR/8692: maximum entropy: Recognize Creative SB Awe 64 joystick. 1999-10-27 15:11:56 +00:00
takemura
87224bbc68 Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed
again.
1999-10-27 14:37:49 +00:00
itojun
b7f47adef9 add mbuf deep-copy fnudtion, m_dup().
NOTE: if you use m_dup(), your additional kernel code can become
incompatible with 4.xBSD or other *BSD.
1999-10-27 14:23:26 +00:00
itojun
9b2cad3aee avoid unnecessary file inclusion. 1999-10-27 14:14:45 +00:00
joda
4d92da53d4 allow mapping of the expansion rom 1999-10-27 14:14:18 +00:00
joda
132b3f5e57 add Expasion ROM register (0x30);
fix typo in Cardbus_conf_write
1999-10-27 14:09:52 +00:00
joda
d9c500abb3 (cardbus_attach_card): don't mask everything *but* the latency timer 1999-10-27 14:01:04 +00:00
augustss
8ecf3c7c3e Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>. 1999-10-27 13:20:34 +00:00
augustss
91cbb40ee5 Add AC97 mixer/codec support. From OpenBSD and FreeBSD. 1999-10-27 13:18:02 +00:00
jdolecek
37c00e7548 minor cleanup of previous - avoid goto and code duplication 1999-10-27 13:17:46 +00:00
darrenr
d2c8da2c36 patch from Greg A. Woods to fix panic problems with code that attempts to
recover from failures to accept a socket successfully.  Problem suggested
by this:
> It would appear (from two "panic: closef: count < 0" failures in less
> than 12 hours) that Darren's fix to accept(2) for lost file descriptors
> isn't quite correct.  His fix inserts a call to closef() to handle one
> of several possible error conditions.  However everywhere else in the
> socket code in the same file where falloc() cleanup is necessary the
> function used is ffree().
1999-10-27 11:54:56 +00:00
simonb
87082426d7 Use the new ELF macros and structures from <sys/exec_elf.h> and not the
old ones from <mips/elf.h>.

XXX: If there's no MIPS API issues, {pmax,pica,newsmips,hpcmips,mips}/elf.h
can be thrown away...
1999-10-27 11:54:53 +00:00
nisimura
f476de66fe Use an MI routine in ioasic_subr.c. 1999-10-27 10:16:00 +00:00
haya
91b09f5b16 Change cardbus API. The first argument of cardbus_mapreg_map() is
changed to struct cardbus_softc * from cardbus_devfunc_t.  The old
function is renamed to Cardbus_mapreg_map().
1999-10-27 10:04:41 +00:00
haya
7b66141eed Use opt_cardbus.h for cardbus.c and opt_cardslot.h for cardslot.c.
Remove unnecessary include from cardbus.c.
1999-10-27 09:29:18 +00:00
simonb
8994bd9b3f Add a few comments from <mips/elf.h>. 1999-10-27 09:21:35 +00:00
nisimura
5cf97491d8 Add a temporary kludge to recognize PMAGD (HX+) as 'sfb' hoping 8bpp
configration of it is compatible enough with PMAGB-BA.
1999-10-27 04:32:35 +00:00
simonb
fb8de5803e Use ELFCLASS32 instead of ELFCLASS. 1999-10-27 03:28:54 +00:00
takemura
00d7e6697e Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed. 1999-10-27 02:22:21 +00:00
haya
0263d8db3d Do not stop no matter when pci_mapreg_map fails to map bridge socket
registers.  When it fails, reset Socket Base Address register and map
registers using rbus.
1999-10-27 00:48:36 +00:00
wrstuden
2f8d442b6a Up the size of the ifa_flags and ifa_refcnt from shorts to ints. Now will
deal correctly with more than 32767 routes out an interface.

Should close PR 7148 regarding problems when ifs_refcnt overflows.

Bump kernel version from 1.4L to 1.4M.
1999-10-26 22:32:44 +00:00
mjacob
fb6f289535 nuke a debug printout I thought was already gone 1999-10-26 22:23:20 +00:00
kleink
910cf4bd15 Add ELF64 versions of st_info manipulation macros I missed in previous. 1999-10-26 19:10:26 +00:00
drochner
29dd0803eb allow to wildcard the serial channel 1999-10-26 18:20:44 +00:00
drochner
0247fe44f6 regen 1999-10-26 12:35:14 +00:00
drochner
7254017312 remove duplicate entry 1999-10-26 12:34:41 +00:00
drochner
9eed0f5d8a change PMAF-F to PMAF-FA for consistency, add some more stuff 1999-10-26 12:23:13 +00:00
nisimura
95c618a810 - Fix bogus cursor drawn by sfb_cursor(). From eye-opening input from R.C.
Dowdeswell.
- Remove write memory barriers in sfb_copyrows() as dst. is always distant
  enough from src. for copying rows.
1999-10-26 10:57:04 +00:00
itojun
90fe937b44 disable ipflow (IPv4 fast fowarding) when IPsec is configured into the kernel. 1999-10-26 09:53:17 +00:00
cgd
c9c2181ed9 provide an __ELF__ version of _C_FUNC and _C_LABEL, convert the assembly
#defines in asm.h to use them, and convert code which needs to use C labels
to use _C_LABEL as well.  (I can't see any reason why the label vs. function
differentiation shouldn't be GC'd; i only added uses of _C_LABEL.)  This
should help if this port is converted to use ELF, and was checked by
compiling all kernels in arm32/conf (with some driver removals and some
MI header fixups re: common blocks) with an arm-linux ELF toolchain.
1999-10-26 06:53:41 +00:00
thorpej
909f85b9dd Add register prefixes. 1999-10-26 01:49:38 +00:00
itohy
cef3e31058 Fix the problem that single-step tracing of a trap instruction
drops the system into kernel debugger.
1999-10-26 00:20:34 +00:00
thorpej
3b435a7396 Add register prefixes. 1999-10-25 23:48:07 +00:00
wrstuden
092a6ee985 Since we don't put layered device nodes in the spechash hash chains,
initialize vp->v_hashchain to NULL.
1999-10-25 23:34:31 +00:00
jdolecek
5ab36cc0e0 ntfs_lookup(): use cnp->cn_proc as the third parameter to VN_LOCK(), so that
the code will DTRT on FreeBSD
1999-10-25 21:18:37 +00:00
jdolecek
9134b1791c partly backup previous: don't use LK_RETRY when calling ntfs_vgetex() 1999-10-25 21:17:21 +00:00
drochner
353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner
b4fc704a74 avoid cast 1999-10-25 19:39:54 +00:00
drochner
87568e8d82 defopt the XNS protocol (options NS), clean up the use of related
option headers / defines
1999-10-25 19:18:10 +00:00
jdolecek
2e860c12d3 pass the lock flags in the NetBSD version of VN_LOCK(), VGET(),
VOP__UNLOCK() macros, g/c VOP__LOCK()
add some comments
use LK_RETRY flag as appropriate
g/c the FreeBSD vnode_pager_uncache() staff, as was done in FreeBSD tree a while
	ago (actually, when they merged the first round of NetBSD patches)
use VN_LOCK() & VOP__UNLOCK() consistently throughout the code instead
	of vn_lock() and VOP_UNLOCK()
minor whitespace changes
1999-10-25 19:08:26 +00:00
drochner
7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00