Commit Graph

6218 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
pk
23c39b410d Fix some diagnostic output with a patch from Jonathan O'Brien. 1999-11-05 19:00:44 +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
sommerfeld
73bf131124 Add rcsid's 1999-11-05 05:13:36 +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
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
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
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
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
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
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
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
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
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
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
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
augustss
3b576cc6b2 Update. 1999-11-03 12:11:26 +00:00
augustss
3fc5780b19 Allow irq 15 since some clones use it. 1999-11-02 23:35:02 +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
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
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
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
3c40153ea9 Fold some long lines and make it compile with the new auconv functions. 1999-11-01 23:26:58 +00:00
augustss
7c8206c662 Add a missing file for the fms driver. 1999-11-01 21:54:12 +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
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
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
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
augustss
a498fbea5f Add midibus attribute for eap. 1999-10-30 14:11:16 +00:00
enami
b9451ead47 remmove unncecessary empty line. 1999-10-30 12:07:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
mjacob
fb6f289535 nuke a debug printout I thought was already gone 1999-10-26 22:23:20 +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
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
bouyer
0021900156 Add a missing '\n' in the cmd0640 attach printfs. 1999-10-25 14:13:12 +00:00
augustss
1eb80cc225 Make the SPLUSBCHECK diagnostic test silent durning cold boot. 1999-10-25 10:51:46 +00:00
augustss
0ce4b38e23 Add some code for recording, still untested. 1999-10-25 10:16:49 +00:00
ad
419ec27c34 Wrap a line properly. 1999-10-24 15:14:57 +00:00
ad
c5542264f1 - New option (RASOPS_SMALL) for the tight-fisted.
- Don't use int32_t/u_int32_t unless we must.
- Remove C++ single line comment delimeters that crept in.
- Remove defs pertaining to byte granularity 'ragged-edge' bitmasks.
- Move all declarations of per-depth initialization functions to rasops.h.
- Other minor cleanup.
1999-10-23 23:14:13 +00:00
erh
64643af801 Add description of the hd64570 chip. Add brief description of this driver. 1999-10-23 22:20:11 +00:00
ad
fd992c5320 Prepare a little for the addition of an interface to user-space. 1999-10-23 16:26:32 +00:00
augustss
a28e3fec43 Fix PR8666, to verbose diagnostics. 1999-10-23 00:21:01 +00:00
mjacob
864ff761d7 remember to initialize mailbox 2 for FC isp bus resets 1999-10-22 17:06:12 +00:00
nisimura
21636a326b Fill always erased regions with bg color. Fix an issue revealed by
"print -n '\033[7m'; ls".
1999-10-22 07:42:05 +00:00
bouyer
9d3c1407f7 If IRQ was not for us, add back WDCF_IRQ_WAIT to the flags, so that
the next IRQ (real or timeout) will be handled.
Fixes the 'missing untimeout' problem reported by a few peoples, and
kern/8639.
1999-10-21 14:37:58 +00:00
augustss
a5b6bed471 Add a macro to extract the isoc type. 1999-10-20 21:02:39 +00:00
enami
4c4a056bc5 fix typo in previous commit. 1999-10-20 16:39:11 +00:00
enami
8a5c548579 cosmetic changes before i do some functional changes. 1999-10-20 16:34:22 +00:00
enami
a2369d8e97 Cancel active transfers on aic/wdc detach.
Also makes LS-120 drive works for me again.
1999-10-20 15:22:24 +00:00
enami
b4e3ec7f3d Don't restrict the ethernet portion after modem portion. It prevents
us from using some config entries (com at 0x3xxx).
1999-10-20 14:57:57 +00:00
ad
b3e97ca54b Nuke some silliness. 1999-10-20 12:27:38 +00:00
ad
eccc3630ec DPT_MORE_TIMEOUT was scaled wrong. 1999-10-20 11:54:10 +00:00
nisimura
e470fe0db1 Remove Bt459 register layout exposure. XXX Needs consideration about
possible merger of SFB+ ASIC and TGA(2)/PCI register definitions.
1999-10-20 02:44:48 +00:00
augustss
afc4d36639 Regen. 1999-10-19 21:16:04 +00:00
augustss
172180cf42 Add an AltecLansing speaker. 1999-10-19 21:15:35 +00:00
ad
675c12dbcb - Don't get stalled by a bogus HA_ST_MORE condition.
- Don't trust HA_ST_MORE again if the above situation occurs.
- Nuke bitfields in 'struct eata_sp'.
- Don't bother using scatter-gather if DMA map contains only 1 segment.
- Return TRY_AGAIN_LATER and not COMPLETE if an EATA command times out.
- Check SCSI status in dpt_inquire(), not just HBA status.
- Some cosmetic changes and sanity checks.
1999-10-19 20:16:48 +00:00
soren
78cc55b359 '<Device>' usually means the string comes from outside the kernel. 1999-10-19 16:04:52 +00:00
nisimura
fd3561cc02 Preliminary import of 'SFB enhanced' text renderer with many caveats
to be corrected.  Text drawing is now improved significantly, but;
cursor is drawn incorrectly, copycols() trashes a screen, 'standout
(\033[7m)' results in lines reversed entirely until '\033[0m', and
possibly more issues.  Not multi-colour, 8bpp only this moment.  Costly
write memory barrier instrunctions should be eliminated using framebuffer
address aliasing technique for NetBSD/alpha.
1999-10-19 09:51:17 +00:00
haya
5aa225ed2e Disable legacy io port before the bridge is probed as a pcic on isa.
Comments ware changed to comply the KNF.
Add PCCBB_PCMCIA_16BITONLY to support TI PCI103X series.
1999-10-19 09:29:46 +00:00
nisimura
7b3b03bea6 Enable 'WSSCREEN_REVERSE' scr-capability. 1999-10-19 00:49:33 +00:00
mycroft
02bd5fa80e Split wsdisplay_usl_ioctl() into two functions -- one which is screen-dependent
and one which isn't.  The latter is now used for ttyEcfg, enabling the
VT-switching ioctls to work on it.  (This allows Linux X servers to work when
/emul/linux/dev/tty0 is linked to /dev/ttyEcfg.)
1999-10-19 00:03:18 +00:00
ad
9cce953883 Don't panic so easily on failure; just issue notification. 1999-10-18 21:59:19 +00:00