Commit Graph

8885 Commits

Author SHA1 Message Date
abs 64f1d1a42f Add missing cast of ms to (struct device *) in ms_deviopen and ms_deviclose 2000-09-27 10:31:42 +00:00
augustss 815d8f961b Regen. 2000-09-27 02:15:30 +00:00
augustss c3fa0043b1 Add some ATI Rage cards and some Intel chips. 2000-09-27 02:14:54 +00:00
sommerfeld 91178eae70 Add missing '&& defined(COM_MPLOCK)' 2000-09-26 14:12:42 +00:00
ad 44c90f4ef1 Pasto; shouldn't have bitten anyone. 2000-09-26 11:38:47 +00:00
enami d52ba1b85f Fix merge lossage in disabled code. 2000-09-25 01:07:25 +00:00
jdolecek 5eb24d5dd0 am7990[0]_intr(): only print the "entering with isr=XX" debug message
if compiled with LEDEBUG > 1
2000-09-24 18:37:22 +00:00
martin 70c8ada2ad Add calls to ether_addmulti and ether_delmulti. This code looks a bit
different than other drivers due to the way ti_setmulti manages the
filters. Patch from Keijiro Ehara.
2000-09-24 14:19:52 +00:00
jdolecek 5fea96167f use new generic bootverbose instead of local definition 2000-09-24 12:37:03 +00:00
augustss 9623e356f0 Recognize Acer 320U. 2000-09-24 03:22:47 +00:00
augustss fc015f6833 Regen. 2000-09-24 03:22:26 +00:00
augustss 641ee8fd93 Add another scanner. 2000-09-24 03:21:55 +00:00
augustss d71044b313 Don't give up so easily if the device does not respond properly.
Mostly from Nick Hibma (FreeBSD).
2000-09-24 02:08:38 +00:00
augustss f2a2c14d9a Recognize Sony memory sticks (from FreeBSD).
Add timing info in the debug output.
2000-09-23 21:03:00 +00:00
augustss d9c7baa183 Add a way to do control transfers on other pipes than the default pipe. 2000-09-23 21:02:04 +00:00
augustss 6417d32d9d Avoid "bandwidth reclamation" for control transfers. The kue device chokes
on it.
2000-09-23 21:00:10 +00:00
augustss c412966bb3 Fix puctuation. 2000-09-23 20:24:47 +00:00
augustss 0fab9d10ca Regen. 2000-09-23 18:42:05 +00:00
augustss a5570006bc Add some more vendors. 2000-09-23 18:39:41 +00:00
sommerfeld 6a71867356 Add `COM_MPLOCK' option to use a device-instance-specific spinlocks
when running at splserial().  This is a temporary measure (until
there's a MP-safe interrupt handling structure); until then, it should
be used when MULTIPROCESSOR and IPL_SERIAL > IPL_SCHED.
2000-09-23 17:17:11 +00:00
bjh21 a48f581877 Substantial overhaul, factoring out of common code, removal of redundancy
and general cleanup.  Still not a beautiful driver, but one I'd be willing to
introduce to my parents now.
2000-09-23 15:13:02 +00:00
bjh21 65c1db338c paddr_t -> bus_addr_t in prototypes too. 2000-09-23 12:08:16 +00:00
augustss 770f6e2ae3 Add RCS Id.
The driver initially came from Nick Hibma (FreeBSD), which I forgpt to
mention in my initial commit.
2000-09-23 05:05:31 +00:00
augustss 23116295f4 Remove some // type comments. 2000-09-23 04:33:04 +00:00
augustss e832785e4b Add USB scanner driver.
XXX Not tested yet.
2000-09-23 04:32:23 +00:00
ad 382141e2f7 Add a new, optional method to scsipi_adapter (scsipi_accesschk()), and use
it when considering whether to attach devices. This is to facilitate
`non-SCSI' RAID controller drivers that want to provide SCSI pass-through
services to the kernel.
2000-09-22 16:45:17 +00:00
eeh d651adf44a paddr_t -> bus_addr_t. 2000-09-22 14:46:38 +00:00
soren cf3c3f9410 Rename to match Ben's naming scheme. 2000-09-22 05:48:50 +00:00
augustss 4b45dfbb69 Fix a device diconnect bug found by Christian Groessler <cpg@aladdin.de>. 2000-09-22 02:34:58 +00:00
eeh c28a7b93c0 Support for Sun Keyboard/Mouse line disciplines. 2000-09-21 23:40:47 +00:00
eeh 56cf963264 Support for SPARC machines with `su' devices. 2000-09-21 23:27:32 +00:00
eeh ac3f296768 Guts of the Sun Keyboard/Mouse line disciplines.
N.B. They don't recognize L1-A yet.
2000-09-21 22:25:08 +00:00
bjh21 f3ef35c447 Add rudimentary 80C04 support (basically saying "Oh look, an 80C04!").
Move printing the initial ":" into the board driver, like i82586.c does.
Don't bother printing the amount of RAM, as it's always 64 KB.
2000-09-21 22:20:38 +00:00
thorpej a429573227 Some more register definitions for the DP83815. 2000-09-21 04:05:43 +00:00
oster 3ee0550572 convert tsleep()->ltsleep(), which makes the kernel complain less
when compiled with LOCKDEBUG.
2000-09-21 01:45:46 +00:00
oster 014e17fbdc Correct a few calls to VOP_CLOSE(). 2000-09-21 01:37:35 +00:00
augustss 236deb1acc Apply a patch from the driver author (originally from OpenBSD). 2000-09-20 14:33:48 +00:00
thorpej e925979f9b Preliminary support for the National Semiconductor DP83815 10/100
Ethernet chip, which is based on the SiS 900 core, but with differences
in the PHY and filter programming interface, and different WoL and
802.3x flow control programming.

This chip appears on new NetGear FA-312TX cards.  Thank goodness
they're finally ditching the LiteOn chips.
2000-09-20 05:44:48 +00:00
thorpej b8675d1bea Add additional register defintions for the National Semiconductor
DP83815, which is based on the SiS900 core.
2000-09-20 02:08:44 +00:00
itojun 3486500f77 repair multicast filter setup. PR 11037 from Ryoji Kato. 2000-09-20 01:26:14 +00:00
thorpej 24f4ce3eb0 Regen. 2000-09-20 00:46:35 +00:00
thorpej 6cc3e82c48 Add National Semiconductor DP83815 10/100 Ethernet. 2000-09-20 00:46:10 +00:00
bjh21 4b85232148 MI seeq8005 attribute. 2000-09-19 20:23:34 +00:00
fvdl c5d8401866 Add support for the 3c555, 556 and 556B MiniPCI cards. Based on the
cardbus code and the FreeBSD xl driver.
2000-09-19 01:15:06 +00:00
fvdl af02376ac9 Regen. 2000-09-19 01:11:38 +00:00
fvdl fbf3c412e4 Add IDs for the 3c555, 556 and 556B 3Com MinPCI Ethernet cards. 2000-09-19 01:10:48 +00:00
fvdl d9e2aff0df Add explicit config values for 8 bit and offset EEPROMS, since this
property is now shared with the PCI frontend.
2000-09-19 01:10:12 +00:00
bjh21 40aba7cd4d Split the arm26 Ether3 (ea) driver into an MI driver for the SEEQ 8005 chip,
and a front-end driver for the Ether3.  Only semantic change is to remove
ea_claimirq() and ea_releaseirq() on the grounds that the seem too spurious
to warrant a callback to the front-end.
2000-09-18 20:51:14 +00:00
toshii faf55ac40c Change tiocm_to_{com,zs}'s second argument to u_long to match with
the type in their caller.
2000-09-17 22:07:39 +00:00
ichiro 60095a9e92 regen. 2000-09-16 11:46:17 +00:00
ichiro de4b3b44f1 delete "128MB"
same products number; 32MB,64MB,128MB
2000-09-16 11:45:38 +00:00
toshii 8debbc34ab Change the second argument of tiocm_to_ucom to u_long,
since the second argument of ioctl is a u_long value.
2000-09-15 17:03:24 +00:00
drochner a960881851 -make the default screentype override less invasive, call it
VGA_CONSOLE_SCREENTYPE because the screen types are hardware specific
 and make it affect the console only (no need to change runtime
 behaviour), don't call vga_setscreentype() unless necessary (to avoid
 trouble with strange hardware - PR kern/11025)
-some beginnings of ISO-7 (greek) font support
2000-09-15 14:13:01 +00:00
drochner 8d027cedf8 add definitions for ISO-7 (greek) support 2000-09-15 14:09:10 +00:00
augustss c1682ac85d Recognize Rio 600. 2000-09-14 03:13:21 +00:00
augustss 95cbe2c829 Regen. 2000-09-14 03:11:52 +00:00
augustss d28bd1b67f Ad some new devices and change vendor name from SUPRA to DIAMOND2. 2000-09-14 03:11:23 +00:00
hubertf 9b8c74f603 regen for trek thumbdrive 2000-09-14 00:04:15 +00:00
hubertf 494592f30d Add Trek Technology ThumbDrive (128MB) 2000-09-14 00:02:56 +00:00
tron dd9df6ffdf Use correct product id for VIA VT6102 chip. Problem pointed out by
Jaromir Doleeek in private e-mail.
2000-09-13 16:40:15 +00:00
ad dcdc66f936 Regen. 2000-09-13 15:58:13 +00:00
ad b9bacc07be Add product IDs for AMI MegaRAID boards. 2000-09-13 14:45:09 +00:00
tron d4a2e19802 Add support VIA VT6102 chip found e.g on the D-Link DFE530TX NIC.
Fixes PR kern/11001 by Petter Lindquist.
2000-09-13 14:00:48 +00:00
tron ea2fc5c0fd Regen. 2000-09-13 13:58:25 +00:00
tron 928a30552d Remove incomplete (and incorrect) entry for D-Link 530. 2000-09-13 13:58:06 +00:00
tron e6debfdcbf Regen. 2000-09-13 13:53:22 +00:00
tron a42050f3e7 Use "VT6102 (Rhine II) 10/100 Ethernet" as description to be consistent
with existing entry for "VT86C100A (Rhine-II) 10/100 Ethernet".
2000-09-13 13:53:06 +00:00
tron 0c0911bb54 Regen. 2000-09-13 13:48:44 +00:00
tron d6cf9f28b0 Add VT6102 Rhine II 10/100BaseTX ethernet chip used on e.g. the
D-Link 530TX NIC.
2000-09-13 13:48:09 +00:00
toshii 8b74873d54 Cleanup the error handling code introduced in rev. 1.26. Commented by jhawk.
No functional change.
2000-09-13 05:17:14 +00:00
nisimura bf7a6e6857 Found glyph pixel order inverted on screen. 2000-09-13 02:11:14 +00:00
pk aa6df7169b yank error. 2000-09-12 19:13:30 +00:00
nisimura c8321c45a7 Found glyph pixel order inverted on screen. 2000-09-12 09:45:48 +00:00
enami 9466b8d07e Define an auto variable `bn' as off_t instead of int since it is finally
converted to byte offset.
2000-09-12 08:03:24 +00:00
haya 6502a2efd8 Clean-up: Remove unnecessary global reset (for debug) and change the
name of some variables for the consistency of naming rule.
2000-09-12 03:19:51 +00:00
oster 32802fc83f Be consistent: use mcpair->cond instead of mcpair->flag.
This also lets us clean up a bunch of cruft.
2000-09-11 02:23:14 +00:00
oster e8645831a5 Only reset the timer value if it actually accumlated time.
Otherwise it may never accumulate any time, and the recon delay
will never happen.
2000-09-11 00:22:45 +00:00
lukem 6439b28202 * rename vga_stdscreen* -> vga_25lscreen*
* in vga_init(), set the screen type to WSCONS_DEFAULT_TYPE, which defaults
  to "80x25".
    XXX: the code currently makes no attempt to ensure that a font
	 with the appropriate width & height is available, effectively
	 limiting this default to either "80x25" or "80x24" at this
	 time.
* make wsdisplay_screentype_pick() non static, so that vga_init() can use it
2000-09-10 11:44:13 +00:00
simonb 7381ac703b KNF - variable declarations. 2000-09-10 10:43:53 +00:00
takemura ed9f910cc8 Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
2000-09-10 09:39:57 +00:00
toshii f7d700a127 Make the control line handling a little better. Avoid a DTR/RTS issue
from uninitialized sc_mcr by not calling ucom_{dtr,rts} if possible.

XXX Flow control is still incomplete and needs more work.
2000-09-10 03:10:20 +00:00
nisimura 59178ec7b4 Use dev/{rasops,wsfont} instead of awesome dev/rcons. Still much to do
before being useful.
2000-09-09 06:15:17 +00:00
nisimura 48ff19c98b u_char -> u_int for function argument and return of Zilog register
manipulation helper functions; no loss, no gain, for Alpha processor.
2000-09-09 06:08:42 +00:00
simonb 665eca96e0 In wsdisplay_usl_ioctl2(), use a u_long for the request to be passed off
to wsdisplay_internal_ioctl() instead of an int.
With this, the pcvt compat ioctl's work on an Alpha and probably other
64 bit archs.
2000-09-08 15:32:57 +00:00
ad 237007cd69 - Set CCB_ACTIVE flag in all cases when DIAGNOSTIC is defined.
- Correct arguments to bus_dmamap_create().
2000-09-08 12:16:17 +00:00
toshii 6bc11dce71 In ucomopen(), make sure to call splx() before returning
when initialization fails.
2000-09-08 07:20:52 +00:00
oster 3fa62c4642 Make sure we are passing a locked vp to VOP_CLOSE. 2000-09-08 01:36:35 +00:00
augustss 19f36696bc ANSIfy last patch. 2000-09-08 01:27:12 +00:00
augustss 96d1acf3d6 Add isoc support. From FreeBSD via Berndt Josef Wulf <wulf@ping.net.au> 2000-09-08 00:55:26 +00:00
soren f0c15086d2 Regen. 2000-09-07 23:26:41 +00:00
soren 36d7d0f902 s/AT&T Microelectronics/Lucent Technologies/ 2000-09-07 23:26:28 +00:00
augustss 9a43fc6477 Regen. 2000-09-07 04:00:21 +00:00
augustss 006df0f4cb Add scores of scanners (from FreeBSD). 2000-09-07 03:59:55 +00:00
thorpej 08e45b3689 Cast the argument to vtophys() to vaddr_t. 2000-09-06 18:56:45 +00:00
thorpej e79103cb0a Cast the arg to vtophys() to vaddr_t. 2000-09-06 18:48:36 +00:00
bouyer 2a11ec9347 Add definition for "Actiontec 56K PCI Master", from Bill Hudspeth. 2000-09-06 15:27:37 +00:00
augustss 130aad8a7d ANSIfy. 2000-09-06 00:17:23 +00:00
augustss 6c0346a534 Regen. 2000-09-05 22:39:59 +00:00
augustss 0b631b84eb Add a Logitech trackball. 2000-09-05 22:39:16 +00:00
thorpej 3cf4e948c1 Cast arg to vtophys() to vaddr_t. 2000-09-05 22:37:33 +00:00
haya 4171157155 Clean-up card-type depend code. 2000-09-05 09:01:17 +00:00
soren 6ade619f58 Regen. 2000-09-04 20:44:37 +00:00
soren 176549d557 Add Intel 440GX host bridge. 2000-09-04 20:30:50 +00:00
soren fe2b627962 Fix 'RAID unsupported' printf. 2000-09-04 20:21:30 +00:00
soren ac5ac55b06 Add support for the AAA-131 RAID controller by treating it as a 7890.
Taken from rev 1.32 of the FreeBSD ahc_pci.c.
2000-09-04 19:56:04 +00:00
itojun 824ddfd20e regen 2000-09-04 13:13:36 +00:00
itojun 4f6829605c Brooktree Bt8474 Multichannel Synchronous Communictaions Controller (MUSYCC) 2000-09-04 13:13:14 +00:00
itohy 572e9e2f80 Move ym_mixer_set_port() (if used) during attach AFTER initialization of
power ctl stuff, or it makes unwanted changes to the CODEC settings.
2000-09-04 00:57:17 +00:00
augustss 5cf4edb506 Handle output packet headers in a cleaner way. From IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp>, fixes kern/10573.
2000-09-03 19:15:45 +00:00
augustss b2af314f55 Add a few more defines. From Nick Hibma and FreeBSD. 2000-09-03 19:09:14 +00:00
wiz c384f772f0 remove one 2000-09-03 02:05:44 +00:00
wiz 3a2e8fdc05 Use NetBSD's pcidevs file for vendors/cards as much as possible.
Recognize Pinnacle Studio PCTV Rave as Miro card, tested by rh@netbsd.org.
2000-09-03 02:01:32 +00:00
cgd cfd89531b4 don't attempt to size Host Bridge BARs. (it's a good way to die.)
provide a clue about 16-bit vs. 32-bit I/O BARs.
2000-09-02 00:48:20 +00:00
cgd 6a22a36219 regen for changed pcidevs 2000-09-02 00:33:25 +00:00
cgd dae6b41d27 after discussion with veego, rename constant for 3D Labs Permedia 2 from
PERMEDI2 to PERMEDIA2.  (substance over style. 8-)  Also, fix a typo
I noticed in a comment.
2000-09-02 00:32:15 +00:00
eeh 0d01e04003 Add support for write protecting clock registers. 2000-09-01 19:04:49 +00:00
ad ec322f95aa Regen. 2000-09-01 17:19:36 +00:00
ad 6dd2f101ad Et763 -> Bt763 2000-09-01 17:19:25 +00:00
ad e9bc438c50 - Simplify eisa_devinfo().
- New KNF.
2000-09-01 17:18:20 +00:00
drochner 641326ee44 -fix multicast filter programming
-support access to MII_ANER too for completeness
-remove some hacks which disappeared in FreeBSD if_rl.c
 rev. 1.25 (Aug 31 14:45:49 1999)
(the driver could need more updating, but this is what I've tested
for months)
2000-09-01 15:07:23 +00:00
ad f729f26133 FLUSH_CACHE will not return until complete. 2000-09-01 14:17:15 +00:00
ad 40f6cd2b96 The `cac' driver now frees CCBs on our behalf. 2000-09-01 12:23:57 +00:00
ad 688e72faf1 Add an EISA bus front-end for the `cac' driver. 2000-09-01 12:15:20 +00:00
ad 702747900f - Interface cleanup. static, const in places.
- cac_pci_l0 has been moved to cac.c, since it's useful for EISA boards.
- Model-specific linkage now is responsible for DMA synchronization.
- If we don't recognise the board, print the subsystem ID.
- Add support for RAID LC2 and Smart Array 431.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:13:08 +00:00
ad 671d7f91ae - Interface cleanup. static, const in places.
- Move convenience macros from cacreg.h to cacvar.h.
- Add one hardware check in DIAGNOSTIC case.
- Declare `cac_l0'.
2000-09-01 12:12:29 +00:00
ad ac2883e218 - Interface cleanup. static, const in places.
- Pull in linkage useful for both PCI and EISA boards from cac_pci.c.
- cac_ccb_done() now frees the done CCB if the CCB callback completes.
- Model-specific linkage is now responsible for DMA synchronization.
- Use wakeup_one() in cac_ccb_free().
- Start synchronous commands `manually'.
- Add one hardware check in DIAGNOSTIC case.
- Improve error messages.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:11:37 +00:00
ad d8e5466776 - Move convenience macros from cacreg.h to cacvar.h.
- Define EISA board register set and some other magic numbers.
- Add missing elements to `struct cac_controller_info'.
2000-09-01 12:10:21 +00:00
jdolecek 0bc8e23c3a even through the integrated audio on my MSI 694D Pro
does not set AC97_CODEC_DOES_VRA in AC97_REG_EXT_AUDIO_ID request, it
works okay; only require the bit set for revision < 'H'
2000-09-01 00:02:04 +00:00
haya ea9ef4ff69 Correct LED polarity bit. This bit and PHY power bit should be
defined in elinkxlreg.h.
2000-08-31 08:42:29 +00:00
haya 25147761ff Add support 3C[CX]FE575CT. 2000-08-29 08:54:50 +00:00
wiz 4739c00231 regen 2000-08-29 01:18:17 +00:00
wiz 52454a3dd6 add vendors HAUPPAUGE, ASKEY, AVERMEDIA 2000-08-29 01:17:06 +00:00
jdolecek a020e8fbb5 regen 2000-08-28 17:44:33 +00:00
jdolecek 8b242e878a add entry for SupraExpress 56i Sp V.90, as sent in kern/10902 2000-08-28 17:43:59 +00:00
joda 00305bb997 provide some randomness 2000-08-28 13:25:22 +00:00
haya 403941c60d Regen to correct wrong keyword. 2000-08-28 10:35:59 +00:00
haya 7591b1332b Correct wrong keyword. 2000-08-28 10:33:58 +00:00
haya 128fa6e8fb Correct PCI interrput setup routine for Texas Instruments PCI113X.
Now PCI113X is able to handle hot insertion and deletion properly.
2000-08-28 09:26:38 +00:00
haya 21ddff737c Regen. 2000-08-28 09:18:09 +00:00
haya 86063b7c73 Add 3Com 3C656 LAN + MODEM CardBus cards. 2000-08-28 08:59:49 +00:00
mjacob 37c83e1340 fix some missing initializations 2000-08-27 21:43:26 +00:00
eeh 194bbc3c5d Don't bcopy() from luserland. 2000-08-26 20:08:22 +00:00
eeh a0f2ab32f7 Make 64-bit clean. 2000-08-26 16:02:06 +00:00
jhawk ce7a425d77 Revert last, softc is now updated.
I neglected to checkin the if_wivar.h update earlier, sorry.
2000-08-26 00:08:43 +00:00
jhawk a44862dea9 oops, missed this file earlier (Doh!):
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-26 00:05:54 +00:00
haya 0e2c6c0cc1 Access on ELINK_W3_INTERNAL_CONFIG register with 32-bit mode. Remove
16-bit access code.  This register is 32-bit.  16-bit access with the
register causes data inconsistency (especially for CardBus cards).
2000-08-25 09:01:59 +00:00
jeffs d3afa878a2 Fix typo in SIATXRX_SPP comment. 2000-08-25 08:03:10 +00:00
sommerfeld 3a2b5d49a6 partial backout of last commit: #if 0 references to sc->wi_mor_enabled
since it doesn't exist in the softc.
2000-08-25 03:11:14 +00:00
nathanw 5127aa189d In fdioctl(), allocate fd_formb dynamically when needed, rather than on
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().

(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)

XXX We still have too many mostly-redundant floppy drivers.
2000-08-24 20:04:28 +00:00
augustss cf4250b7f3 Add UKBD_DEBUG. 2000-08-24 14:13:38 +00:00
augustss fa9cfe5e39 Removed unnecessary variable declaration. 2000-08-24 14:12:34 +00:00
augustss d08216d4e2 Add a quirk for audio devices that claim to have an extension unit, but it
can't be manipulated.
2000-08-24 14:11:09 +00:00
haya 6cbde58ee4 Add flag defines for 3CCFE575BT and 3CCCFE575CT (CardBus cards). 2000-08-24 08:54:31 +00:00
imp 9386fe0821 Sync to 1.98 of pcmciadevs 2000-08-24 07:12:20 +00:00
imp cbacec4196 Sort BAY into numerical order. 2000-08-24 07:10:36 +00:00
jhawk 5056d0ce7c Add support for "microwave oven robustness" with wiconfig -M. 2000-08-23 19:01:04 +00:00
pk 12cd7ada9a Common framebuffer functions.
(currently includes a special cased fb_isconsole() for sun4u).
2000-08-23 13:41:15 +00:00
pk a50a11e47f Add fb_setsize_pfour() prototype. 2000-08-23 12:02:47 +00:00
pk 17e5f7b17c Declare drivers moved here from arch/sparc. 2000-08-22 21:31:16 +00:00
pk e02ba8698f Declare drivers moved here from arch/sparc/dev. 2000-08-22 21:30:27 +00:00
pk d29f2ce630 Get tcxreg.h from the correct location. 2000-08-22 21:18:57 +00:00
pk 40903bf7d3 Split off `pfour' code from sparc/dev/fb.c into a separate file.
This file will be pulled in by framebuffer drivers that define the `pfour'
attribute.
2000-08-22 21:18:14 +00:00
joda ce1bf05583 update description 2000-08-22 11:42:14 +00:00
mrg d12156f1bf #include <compat/netbsd32/netbsd32.h> if necessary 2000-08-22 07:36:04 +00:00
enami efb0ce0996 Recognize Promise ATA-100 controller as PDC-20262 instead of 20246. 2000-08-21 15:52:50 +00:00
enami 84ebb6165e Match the Promise ATA-100 controller found on the mother board
MS-6321 (MSI 694D Pro).  Reported in PR#10756 by Kazuki Sakamoto.
2000-08-21 15:43:46 +00:00
enami b84a81b268 Regen. 2000-08-21 15:33:45 +00:00
enami 7012027317 Add a product id for the promise ata-100 controller found on
MS-6321 (694D Pro).  Reported in the PR#10756 by Kazuki Sakamoto.
2000-08-21 15:28:17 +00:00
thorpej 7951ece147 Use splsched() instead of splhigh(), and explain why in a comment,
as well as document a pitfall of the approach being used.
2000-08-21 14:25:14 +00:00
ad 53204cdb36 Regen. 2000-08-21 14:11:45 +00:00
ad 360142a622 - Add vendor and product codes for Compaq array controllers.
- Pull in entries from OpenBSD that we don't already have.
2000-08-21 14:11:07 +00:00
haya 35c0f133ec Regen. 2000-08-21 09:13:02 +00:00
haya 500edf585d Add several Texas Instrument's PCI-CardBus bridges. 2000-08-21 08:58:51 +00:00
castor 2d8994210a Add a bunch of macros of the form PCI_<regname>_CODE similar to
existing PCI_ID_CODE to create the PCI appropriate register from
parameters.

Avoid use of 'class' in macro -- it's a C++ reserved keyword.
2000-08-21 05:17:33 +00:00
castor 0c05c0b9f2 Add register definitions for S.M.A.R.T. -- an autonomous disk monitoring
standard.
2000-08-21 03:53:55 +00:00
augustss b3b158b922 Implement handling of the UQ_SPUR_BUT_UP quirk. Some keyboards sometimes
generate a key up quickly followed by a key down for the same key, so we
take care of that.
(Finally I can type again without going nuts. :)
2000-08-20 22:30:17 +00:00
pk 124d256269 Move these SBus drivers here from arch/sparc. 2000-08-20 22:27:07 +00:00
augustss d9426e06b6 Install usbdevs.h as well. 2000-08-20 22:25:20 +00:00
pk f83d14e14b Move declaration up, before it is used. 2000-08-20 20:01:45 +00:00
pk 5a308cf392 Split & move cgthree sbus attachment from arch/sparc. 2000-08-20 19:59:46 +00:00
pk 124ea6d974 <machine/fbio.h> -> <dev/sun/fbio.h> 2000-08-20 19:58:53 +00:00
pk e8ed83e13f Split & move cgthree from arch/sparc. 2000-08-20 19:58:19 +00:00
thorpej a6b7f5a17d Use RF_WAIT_COND() to avoid locking errors. 2000-08-20 16:51:03 +00:00
thorpej d06cb9ab29 RF_COND_WAIT(): use ltsleep().
RF_SIGNAL_COND(): use wakeup_one().
2000-08-20 16:15:31 +00:00
pk 7857ad0b81 Move cgsix and bwtwo Sbus attach code here from arch/sparc. 2000-08-20 14:33:25 +00:00
pk 1eeffbaac6 De-P__ 2000-08-20 14:30:13 +00:00
pk 6e36f80602 Move cgsix, bwtwo and BT DAC support here from arch/sparc. 2000-08-20 14:28:49 +00:00
pk 02c262b278 Move fbio.h and fbvar.h here. 2000-08-20 14:00:43 +00:00
eeh 7becceeb4b Add COMPAT_NETBSD32 support. 2000-08-20 13:44:14 +00:00
pk b369b979ae Remove duplicate `flags' from printf format string. 2000-08-20 11:51:52 +00:00
oster 49742b54fa Remove a bogus VOP_UNLOCK. 2000-08-19 18:20:07 +00:00
oster 3a17c9470d Don't try to initialize a component label on a failed component. 2000-08-19 18:07:36 +00:00
pk 0c448da29b When breaking up a transfer in vndstrategy(), only inherit B_READ and
B_ASYNC from the original buffer's flags.
2000-08-19 10:44:02 +00:00
sommerfeld 8f5586c98f Avoid calling tsleep when running above splhigh() 2000-08-18 13:22:39 +00:00
bjh21 9c77b69be0 Add upc 2000-08-18 12:54:32 +00:00
wiz 6b569d798f fix typo in comment 2000-08-18 05:55:31 +00:00
jhawk 8c3116e66a Copy wi_{dst,src}_addr from struct wi_frame into faked-up ether_header
instead of addr1 and addr2. THis means that tcpdump -e will show the
correct MAC address for communications with access points instead of showing
the BSSID.

In the future there should be 802.11 support for bpf/libpcap/tcpdump,
but that is aways down the road.

Also fix a typo in a comment.
2000-08-18 04:11:48 +00:00
augustss 2af3c25d9d Regen. 2000-08-17 23:28:00 +00:00
augustss 7e5bb38ef2 Add an XXX comment. 2000-08-17 23:18:56 +00:00
augustss 2d8b50667e From FreeBSD: add code for Insystem USB cable. 2000-08-17 23:16:16 +00:00
augustss 44c15e95b5 Add two keys to the raw mapping for German keyboards.
From Matthias Kretschmer <McCratch@gmx.net>, fixes PR 10850.
2000-08-17 23:08:07 +00:00
darrenr e1d18090ac add vendor/product information for Rainbow i-Key 2000 2000-08-17 15:17:00 +00:00
bjh21 d7eebd9227 Basic driver for CHIPS 82C710 Universal Peripheral Controller and friends,
as used on later arm26 system (A5000, A4, A3010, A3020, A4000).

What we have got:
...
upc0 at iobus0 base 0x010000: config state bb 87 1c 00 00
fdc at upc0 offset 0x3f4 not configured
wdc0 at upc0 offset 0x1f0
lpt0 at upc0 offset 0x278
com0 at upc0 offset 0x3f8: ns8250 or ns16450, no fifo
...

What we haven't got:
 - FDC support (found, but not configured).
 - Clearing lpt interrupts on arm26 systems (needs help from IOEB).
 - A upc(4) manual page.
 - More than minimal testing (my A3020s don't have root devices).
 - A proper probe routine (arm26 can't use one anyway).
2000-08-16 23:56:08 +00:00
matt b0c9fcd14a Add a NOPREVENT quirk which prevents the sending of PREVENT messages (some
manual 9track tapes don't support it).  Add a quirk entry for the NCR H621
9track tape drive.
2000-08-16 19:22:25 +00:00
mjacob 4f5e77ca58 Change _res field in ispstatusreq_t to be req_response for FC.
Add some more FC specific response defines and split the response
defines into common, SCSI only and FC only cases.
2000-08-16 18:11:38 +00:00
mjacob d9162135d4 Add some changes/notes suggested by eeh@netbsd.org (zero header of
response queue entry). Clean up some of the Fibre Channel completion
stuff so that thing we check actually match the current manual. There's
only one silly lossage that the manual doesn't cover at present- if
an FC command completes with SV (sense valid), the f/w does *not* s
et "GOT_STATUS" in the state bits- I guess they assume that you'd figure
out that if you have SENSE DATA you probably have a CHECK CONDITION. Still-
yet another fine f/w frotz from Qlogic. Add in an ISP_EXEC_THROTTLE
define to set a per-device execution throttle.
2000-08-16 18:10:21 +00:00
thorpej f80d70f19a Just add the mmap argument to vga_common_attach(), don't bother
with vga_extended_attach().
2000-08-14 20:14:50 +00:00
thorpej 6b97132ee9 Account for changes to how the SROM is read made some time
ago to the PCI and CardBus front-ends.  Sigh, DE425, the
bastard child, no one pays enough attention...
2000-08-14 14:26:03 +00:00
onoe 7f6e2386a6 Make sure to reset length of data (len) and offset of mbuf (mlen) when
CRC is splitted into two mbufs in receiving.  This fixes panic or hangup
in arc4_encrypt() when WEP is enabled on awi.
2000-08-14 11:28:03 +00:00
mjacob ec701021fd Add a maintenance note. Fix QFREE and QAVAIL macros to match change in usage. 2000-08-14 07:12:15 +00:00
mjacob ed05406b77 Add a maintenance note 2000-08-14 07:11:14 +00:00
mjacob b1c18a6bc7 Add a maintenance note. Move the single bit tags of islocked and
onintstack to be real integers. Add ISP_ILOCK/ISP_IUNLOCK macros.

Fix the isp_lock/isp_unlock inlines to stop being so embarrassingly
in error. Why, or why, can't I have mutex_enter/mutex_exit, pretty please?
2000-08-14 07:10:09 +00:00
mjacob 22ef6ec857 Add a maintenance note. Change all splbio's to use the ISP_LOCK/ISP_UNLOCK
or ISP_ILOCK/ISP_IUNLOCK macros.
2000-08-14 07:08:12 +00:00
mjacob 8801250c70 Add a maintenance note. Add a cast to u_int16_t which will keep
Solaris lint && the SUNPro SC5.0 complier happy.
2000-08-14 07:06:50 +00:00
mjacob d7ee06672f Add a maintenance note.
Clarify some startup SCSI mode settings. Insist that the FC f/w options
*must* have ICBOPT_PDBCHANGE_AE set (wasted a half day on this crock).

Make a specific comment in isp_start that the tags being selected for FC
cards, in lieu of any set by the outer layers, are there for safety's sake.
This removes the change from a previous commit.

For the ISP_TOGGLE_TMODE function, do a complete reset, not just an
isp_init (info from Solaris port). Make some cleanup changes for
code clarity.
2000-08-14 07:05:28 +00:00
mjacob d8aef491c1 Add a maintenance note. Add a bus specific isp_sbus_intr function- this is
so we, ahem, note we're on an interrupt stack so we don't try and sleep
on any mailbox commands we might want to run.
2000-08-14 07:00:08 +00:00
mjacob 18e2c3aaad Add a maintenance note. Minor change in some logic in the DMA mapping. 2000-08-14 06:58:45 +00:00
jhawk 324576262d Fix typo in comment for WI_RID_AUTH_TYPE 2000-08-14 00:44:22 +00:00
jdolecek cd1db4529e describe more precisely when the keyboard freeze happens 2000-08-13 22:30:19 +00:00
augustss ed274219d5 Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix.
Fixes PR 10662.
2000-08-13 18:20:14 +00:00
augustss 4f325f2674 Implement what in Intel-speech is known as "bandwidth reclamation".
It means that we continously poll USB devices that have a pending transfer
instead of polling just once every ms.  This speeds up some transfers
at the expense of using more PCI bandwidth.
2000-08-13 16:18:09 +00:00
mjacob 927f61818e Add "SYMBIOS" processor type to the SDEV_NOLUN category. These are usually
the GEM chips on a Sun D1000- and they cause Qlogic SBus firmware to blow
chunks if you access past lun 0.
2000-08-13 00:03:01 +00:00
augustss 8cfcd021bd Take away some, add some. 2000-08-12 23:26:10 +00:00
augustss 0390dd7f3e Fix spelling in comment. 2000-08-12 22:24:26 +00:00
augustss be1aad52d8 Regen. 2000-08-12 14:58:20 +00:00
augustss 807228a4d8 Make attach message correct for non-umass devices.
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss 3fff1255ea Add some more vendors and devices. 2000-08-12 14:51:01 +00:00
augustss 124bec855a Minor whitespace change. 2000-08-12 14:35:20 +00:00
tsutsui 23830f1e6c - Check CR_RST rather than ISR_TXRCMP and ISR_RXRCMP in sip_reset()
- Add more delay after reset
- "Big endian mode" on SiS 900 seems broken so don't enable it;
  use htole32()/le32toh() instead
- Don't cast u_int16_t array to u_int8_t pointer
- Add some delay() to FILTER_EMIT macro in sip_set_filter()

Now SiS 900 works on my macppc.
2000-08-12 07:38:40 +00:00
tls c9dc8413bb Make our policy WRT tagged queueing consistent and sane: ordered tags for sync writes, simple tags for all else. Should make ahc and adv a bit more reliable (metadata writes won't get reordered incorrectly...) and isp a bit more performant (it was using ordered tags all the time). 2000-08-11 21:31:19 +00:00
thorpej 8cb7deb85b Add support for the DEC DE422 Ethernet, which is a DEPCA
attached to the EISA bus.  This board is commonly found
on Alpha Jensen systems.
2000-08-11 02:27:07 +00:00
thorpej d561771013 Add missing copyright noticed (it ended up in eisareg.h by mistake). 2000-08-11 00:46:17 +00:00
thorpej 5310aa68b8 Oops, back out previous. It wasn't intended. 2000-08-11 00:44:37 +00:00
thorpej e207174eb0 Add functions to read EISA configuration data for MEM, IRQ, DMA, and IO.
XXX Just error stubs on the i386 right now -- someone needs to write
XXX EISA BIOS code for i386.
2000-08-11 00:43:18 +00:00
thorpej 30f7d691a0 Declare the ECU data in an MI location, so that drivers can
use it.
2000-08-10 23:30:08 +00:00
ad 19fd9da968 Define SIOC[SG]IFGENERIC in <sys/sockio.h>, as FreeBSD and OpenBSD do. 2000-08-10 11:48:41 +00:00
soren 363910c22b s/Toshiba America Info Systems/Toshiba/ since they are the main PCI issuer.
Add new version of the Oboe FIR device.
2000-08-10 01:55:57 +00:00
drochner a1b037bc3a recognize the i440MX mobile chipset's IDE interface 2000-08-09 13:23:07 +00:00
tv 389bf995b5 %b -> bitmask_snprintf() 2000-08-09 01:56:33 +00:00
mjacob 0dc8c1fb35 Remove ispcmd_slow routine- SCBUSACCEL routine will set/clear tag/wide/sync.
Make some changes about where some things sit in the softc.
2000-08-08 22:58:30 +00:00
mjacob 9766fcf2be Don't attempt to actually read SAF-TE temperature objects- nobody seems
to be obeying the original spec as to what the numeric value means.

Temperature flags are unaffected- these are still the 'pseudo-thermometers'
and overtemp/undertemp warnings will be caught and translated to SES objects
here.
2000-08-08 22:55:30 +00:00
mjacob 295864adef During probe, use SCBUSACCEL ioctl to adapters that support it to
enable fast/wide/tagged.
2000-08-08 22:46:03 +00:00
bjh21 4f33d5a8ab Register definitions for the C&T 82C710, 82C711 and 82C721, as used in
the Acorn A5000, A4, A4000, A3010 and A3020.
2000-08-08 22:14:53 +00:00
tv 91537bce4a sizeof(fmtstring) + 8 wasn't enough for the string; that won't cope with the
printed version.  Make a little more room for the bitmask_snprintf() call.
2000-08-08 19:59:41 +00:00
tv 2b3a50d3de %b -> bitmask_snprintf()
Because this code is shared, add a macro for bitmask_snprintf() that
should expand to the equivalent snprintf() on non-NetBSD systems.  This is
only used in ?HCI_DEBUG cases anyway.
2000-08-08 19:51:46 +00:00
tv 87ab5c42c5 %b -> bitmask_snprintf() 2000-08-08 19:42:40 +00:00
jeffs aaa5c58d70 Update arc map routine prototype to compile again. 2000-08-08 02:11:05 +00:00
drochner 78fa2d7e41 fix interrupt priority botch 2000-08-07 17:34:41 +00:00
billc aac52686f0 Manually edit the headers to show which version of pcidevs this was
generated from.

XXX - this really should be automated
2000-08-07 08:27:11 +00:00
billc 7ba2890ab8 Added PCI IDs for 3Com's Home Connect (3c450) and Office Connect (3cSOHO100).
They both are register compat with later versions of the 3c905 (tornado/
vortex) series.
2000-08-07 04:08:35 +00:00
briggs b103a8ca48 Label the buffer size as such on probe. 128 KB makes sense, but 4608 does not. 2000-08-06 00:19:04 +00:00
ad 8d37a29277 Regen. 2000-08-04 14:32:05 +00:00
ad fc2908cf8a Vortex Computer Systems changes, from OpenBSD:
- Add product ID for GDT6518RS.
- Fix bogus product IDs.
2000-08-04 14:31:40 +00:00
augustss daff45a51a Regen. 2000-08-04 11:57:59 +00:00
augustss c54b0fde7a Add ATEN serial adapter. 2000-08-04 11:57:34 +00:00
tsutsui ef86d29308 Add one more delay() to sip_read_eeprom(). 2000-08-04 09:30:56 +00:00
bouyer 8464bde7e8 If the SET_FEATURE for piomode is rejected, fallback to mode 0 instead of
reporting an error.
This fixes the "piomode error (0x4)" problem with some ATAPI ZIP drives
reported on port-i386.
2000-08-03 23:14:31 +00:00
nathanw fb20241fda When performing pci_config_dump:
- Display the full value of 64-bit BARs.
 - Avoid displaying the upper 32 bits of 64-bit BARs as a separate 32-bit BAR.
2000-08-03 19:58:55 +00:00
bouyer 1b00421876 Add quirk entry for NEDICOM CRD-BP2, from kern/10738. 2000-08-03 12:36:08 +00:00
bouyer a8421d4787 Some W83781 have ID 0x11 instead of 0x10; handle these too.
Restore printing sdata for each sensors if DEBUG.
2000-08-03 09:27:01 +00:00
castor b6dd28b4ce Support some differences in the Macronix 98715AEC-C and E chips from the other
98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail.  There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
2000-08-03 03:07:30 +00:00
mjacob cb4d63d57c More compilation breakage in the non-DEBUG case
(from Castor Fu <castor@geocast.com>)
2000-08-03 03:00:04 +00:00
jeffs e97c2066ab Add options DDB_BREAK_CHAR. This overrides break on the serial console
break character with the supplied one.  This is useful for cases where
break is hard to generate, or you are connected to a PC that "sends"
breaks when power cycled.  For this mode in com, interpret break char
in the polling section, which allows entry into the debugger before
the tty is opened.  Only supported in the com driver currently.
2000-08-03 00:30:47 +00:00
bouyer de378db998 W83781D: Explicitely reselect bank0 before using "value RAM" registers.
Hopefully this will make the W83781D works.
Also use common functions to set up fan & temp info[] & sensors[] for
the W83781D.
2000-08-02 22:20:41 +00:00
bouyer e445e43ddc Add support for the W83697HF - basically a W83627HF with only 2 temp sensors. 2000-08-02 21:50:37 +00:00
bouyer 46c3f0204d PCIIDE_CMD0646U_UDMA->PCIIDE_CMD0646U_ENABLEUDMA for consistency with
PCIIDE_AMD756_ENABLEDMA
defopt PCIIDE_CMD0646U_ENABLEUDMA, PCIIDE_AMD756_ENABLEDMA,
    PCIIDE_CMD064x_DISABLE
Fix a typo pointed out by John Hawkinson
2000-08-02 21:49:09 +00:00
bouyer bd0766459c Add support for the CMD PCI646U. Linux claims that this driver is brocken
with UDMA, so enable Ultra-DMA only if "options PCIIDE_CMD0646U_UDMA" is set.
2000-08-02 20:23:45 +00:00
mjacob 1ae072f471 Fix bonehead bug for compiles w/o DEBUG set
(thanks to KANETA Shin'ichi <kaneta@cr.chiba-u.ac.jp>)
2000-08-02 17:39:50 +00:00
mjacob 068c76fc80 Core version 2.0 (platform version 1.0) rewrite of ISP driver. Some
interace cleanups, some new common functions. The major impact that
will be noticeable right away is that if you boot with not Fibre connected
to the FC cards, you no longer hang indefinitely.
2000-08-01 23:55:09 +00:00
bouyer 76c77aca38 Add support for the CMD PCI0646U2, an Ultra/33 version of the 0646.
Note: there's also a PCI0646U, for which I don't have docs for now.
2000-08-01 21:02:55 +00:00
briggs 02e3c1ef40 Use bus_space_read/write_multi_stream_2 for FIFO instead of bsr/w_multi_2. 2000-07-31 22:48:49 +00:00
gmcgarry f21a75dee3 XIDEBUG_CONFIG -> XID_CONFIG. From R.Massar@Fh-Worms.DE 2000-07-31 21:49:47 +00:00
ad 067f5e9814 Previous would have misbehaved if polled commands overlapped. 2000-07-31 13:16:34 +00:00
enami 35913a898c Sync internal state and ifmedia state. Addresses PR#10424. 2000-07-31 03:25:11 +00:00
briggs 3628f3e00c Make sure that we do not call bus_space_*_multi_* with zero count. 2000-07-31 02:14:47 +00:00
bouyer 100a4a6b22 Add support for the W83781D and W83782D hardware monitors. 2000-07-30 22:23:53 +00:00
briggs e6dde2bd42 Add MII support to smc91cxx driver. This is supported for the 91c100
and 91c100FD (FEAST) controllers.  Existing controllers should continue
to work as they have.  Added the card's memory to the probe message.
2000-07-30 21:34:47 +00:00
bouyer 538126d75a swap lm_match() and wb_match(), as wb_match() is more restrictive.
Otherwise a winbond can be mis-probed as a lm if it has the rigth device ID.
Problem reported by Bernd Ernesti.
2000-07-30 17:22:26 +00:00
takemura b5e3ec56a8 Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.) 2000-07-30 04:41:15 +00:00
jhawk d569dc2fb5 Whitespace fix (space rather than tab after #ifdef) 2000-07-29 17:49:08 +00:00
jlam cbd3022e31 Make this compile without PUCCN defined. 2000-07-29 17:43:38 +00:00
castor b2bf026f39 Guard the console code in puc.c with the defopt PUCCN so we can
use the puc driver without having the com drivers.
2000-07-28 20:43:45 +00:00
drochner 457d8d7c7e print parent device name too, so we know which socket a card was probed at
and whether pcmcia or cardbus
2000-07-28 19:17:02 +00:00
thorpej 081f57c846 Handle booting without a serial expander box connected. 2000-07-28 06:10:54 +00:00
martin 10debdeb9c Fix to autonegotiation problem with some fxp cards. Fix found and reported
by Erich T. Enke et al. on current-users. This fixes PR 10550.
2000-07-27 22:14:48 +00:00
bouyer e955a714ba Add support for the W83627HF: lm7x like, but with more sensors, and more
registers.
2000-07-27 21:49:22 +00:00
bouyer ca5b9b0c22 Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
large timeouts. Should fix PR kern/10575.
2000-07-27 21:28:17 +00:00
bouyer a7d2293ea4 My 16 port boca seems to fail to update the interrupt bit in it's interrupt
register for a port under high load. The effect is that the port is wedged
waiting for an interrupt that will never come.
Add a callout-based watchdog which periodically (hz/10) scan trough the ports
for missed interrupts.
Problem also noted by Chris Jones, and this fix also helped him.
2000-07-27 20:08:47 +00:00
bouyer 0154cbce36 Ops, forgot this one: Add interrupt disable bit #define for HPT370 2000-07-27 15:26:16 +00:00
bouyer aa0d4a41d5 HPT370: clear disable interrupt bit; make it works in Ultra/66 mode. 2000-07-27 14:28:45 +00:00
ragge acb96154d0 More intelligent BI vector assignment. 2000-07-26 12:41:40 +00:00
pk 34604a9f79 No point in forcing SECDAY to be a long int. 2000-07-26 11:07:45 +00:00
onoe 188122248a I've confirmed that Samsung MagicLAN SWL-2000N (PRISM-II) works
with WEP enabled.
2000-07-26 07:28:56 +00:00
onoe cc8e6675e2 add Samsung MagicLAN SWL-2000N 2000-07-26 07:24:15 +00:00
jeffs fa8ff381d8 Add code to allow the PCI com serial ports to be used as the system
console.  This is not enabled by default, and is turned on with
options PUCCN.  Done by castor@netbsd.org.
2000-07-25 23:18:42 +00:00
pk 969b4bc568 Define the todr(9) interface. 2000-07-25 22:38:14 +00:00
pk 4ba0c6b55c New time-of-day clock chip drivers. These implement the todr(9) interface. 2000-07-25 22:33:02 +00:00
onoe 27d41a1de3 Map txrate for prism2, where each bit is apparently assigned to the
corresponding rate; 1Mbps, 2Mbps, 5.5Mbps, 11Mbps.
2000-07-25 12:04:29 +00:00
gmcgarry 5463f7b316 Improve the model identification and match. Addresses PR-10485. 2000-07-24 21:50:10 +00:00
gmcgarry b023fdd2b7 Regen. 2000-07-24 21:47:40 +00:00
gmcgarry 0f37cacaf1 Add entries for all Xircom ethernet models. 2000-07-24 21:45:00 +00:00
bouyer 10afc4e0a8 create a funcion, siop_busreset(), to reset the scsibus.
Reset the scsi bus at attach time, to be sure all devices start in narrow/async
mode.
Defer sync/wide negotiation until after whe have a valid
xs->sc_link->device_softc, so that we can honnor the NOSYNC/NOWIDE quirks.
2000-07-24 15:15:00 +00:00
scw 197f977187 Pass the level and vector to vme_intr_map() in the correct order. 2000-07-24 15:00:41 +00:00
ad 74cf7af4a9 Increase polled command timeout to 2s. 2000-07-24 12:28:31 +00:00
mycroft f9f72ecf9a Purge C++-style comments. 2000-07-24 04:28:51 +00:00
augustss a119131555 Be a little more explicit and careful about setting links in TDs and QHs. 2000-07-23 19:43:37 +00:00
jonathan 5f7778cd1e * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E.
Regen.
2000-07-23 00:18:24 +00:00
jonathan 2169753fc5 * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E
2000-07-23 00:14:15 +00:00
pk 19bd1749ad Add short device descriptions in comment lines. 2000-07-22 21:25:52 +00:00
is 8be010f00d - Big endianness cleanup:
a) use stream methods when transferring data via the MEMPORT into/out of
the chips buffer memory
b) use htole16/le16toh when interpreting 16bit values in the chips memory

Both where NOPs on i386 machines, which is why this worked before on the
test machine(s), but would break when on a big-endian machine.
2000-07-21 13:54:38 +00:00
onoe afa5b645c2 add support for SIOCS80211NWKEY and SIOCG80211NWKEY. 2000-07-21 04:48:55 +00:00
abs c9355a957c Add the pccard controller for a Toshiba Portege drive. No vendor ID, no
product ID, and in this temporary loan, no bleeding power supply so it
can only probe the controller and not the drive. Still, its something.
2000-07-20 23:20:01 +00:00
scw a1b8e79bb1 Take advantage of generic soft interrupts, if available. 2000-07-20 20:44:50 +00:00
ad b60bcd873d Regen. 2000-07-20 14:47:35 +00:00
ad d3b42c18e4 Add what is apparently ESS's old vendor ID and corresponding product ID for
the Maestro 1.
2000-07-20 14:46:51 +00:00
bouyer 6e88d58524 Make it compile when PCIIDE_AMD756_ENABLEDMA is defined. From kern/10555
by MURATA Shuuichirou.
2000-07-20 12:19:41 +00:00
tsutsui 83f94dc417 Regen. 2000-07-20 07:11:28 +00:00
tsutsui 4af0fbdb1a Add PMAG-JA framebuffer. 2000-07-20 06:38:39 +00:00
deberg 0d5d0bd93a don't define LIST_FOREACH, it's in sys/queue.h now. 2000-07-20 03:47:56 +00:00
mjacob c47c527343 add some more CTIO flags 2000-07-19 22:19:23 +00:00
mjacob 0615788781 zero result queue entry when done if debugging.
don't do an isp_notify_ack if we're not at run state.
2000-07-19 22:19:00 +00:00
mjacob 93379fb341 fix mislabelled error case 2000-07-19 22:18:02 +00:00
pk f9e6c9cf42 Fixx off-by-one error in handlereset(). 2000-07-19 16:07:00 +00:00
nathanw 554019cd4b More printf format munging for off_t: when printing as %lld, cast to long long. 2000-07-19 13:44:24 +00:00
augustss 00cafd0569 Add MIDI support. From Tatoku Ogaito. 2000-07-19 09:58:45 +00:00
onoe 0ab524f389 moved the check priviledge for SIOCS80211NWID from each driver to ifioctl().
it also fixes the problem that non-priviledged user can change nwid
for wi and ray drivers.
2000-07-19 06:00:39 +00:00
ad 7d1b0e5b39 Use device_lookup() and ditch TAILQ sillyness. 2000-07-18 15:27:44 +00:00
onoe 47f692248f add WEP support also for PRISM2 cards.
Corega works fine with WEP, but farallon doesn't work well with WEP for now..
2000-07-18 15:01:55 +00:00
onoe 905b4e497f Add support for Corega Wireless LAN PCC-11, and Farallon SkyLINE 11Mb.
Note that Corega card works at 3.3V only, then it requires cardbus code
for now.
2000-07-18 14:53:26 +00:00
onoe 4a2a3bf091 Add Farallon SkyLINE 11mb card as Intersil Prism2
vendor:product of the card is Lucent:WaveLAN, and CIS string shows
	"INTERSIL" "HFA384x/IEEE"...
2000-07-18 14:48:10 +00:00
soda c41ca10d33 add "#define PCI_INTERRUPT_PIN_MAX 0x04" 2000-07-18 10:59:04 +00:00
thorpej 693ff4c94d PAGE_SIZE -> IOASIC_DMA_BLOCKSIZE in one last place. From Izumi Tsutsui. 2000-07-18 06:14:05 +00:00
thorpej b91d520dc9 Back out previous. It is no longer needed, as both the Alpha
and DECstation IOASIC drivers clear the appropriate interrupts
in the dispatch routine.
2000-07-18 06:12:33 +00:00
tron 5446d3c92e Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.
2000-07-17 18:12:00 +00:00
tron cfae3184d8 Don't clobber bits from 2 to 31 when trying to change the power state.
Problem noted by John Hawkinson.
2000-07-17 17:53:44 +00:00
thorpej 5e275d7012 Clear the DMA pointer reload interrupt bits in the IOASIC_INTR
register to prevent interrups from looping on the Alpha.

From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2000-07-17 17:43:16 +00:00
augustss 3aacf9101a Regen. 2000-07-17 13:07:21 +00:00
augustss 82b491eecc Some more products (from FreeBSD). 2000-07-17 13:06:54 +00:00
thorpej 8746b7c870 - Write the registers 7930 registers properly on the Alpha (it's
different than on the DECstation).
- Use IOASIC_DMA_BLOCKSIZE instead of PAGE_SIZE.

Should make this work on the Alpha.  From discussion with
Izumi Tsutsui, Gregory McGarry, and Chris Demetriou, and
much reading of EK-D3SYS-PM.
2000-07-17 04:37:27 +00:00
thorpej 887bebaa71 Define IOASIC_DMA_BLOCKSIZE (4096 bytes). 2000-07-17 02:18:17 +00:00
thorpej 8623daff6d G/c some unused (and incorrect, for our usage) definitions. 2000-07-17 02:17:13 +00:00
thorpej 95f72dd4aa Use the IOASIC_DMA_ADDR() macro now that it is fixed. 2000-07-17 01:29:02 +00:00
thorpej cd6fa19644 Make sure to get the upper 5 bits of the page address mixed in
in IOASIC_DMA_ADDR(), as the le_ioasic attachment does.  Noted
by Gregory McGarry.
2000-07-17 01:28:16 +00:00
tron 114bb7f9d9 If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.
2000-07-16 20:18:48 +00:00
jhawk 859057e6b3 Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
2000-07-15 21:36:19 +00:00
tron 9feae259a4 Avoid printing duplicate colon when card is waked up. 2000-07-15 20:57:24 +00:00
tron cfe61a3025 Un-__P'ify kernel prototypes. 2000-07-15 19:59:27 +00:00
drochner 54ccff0437 define "80x24" screen types for better vt100 compatibility 2000-07-15 18:47:54 +00:00
scw 20305c6623 Fix a typo in the `device_lookup()' changes. 2000-07-15 18:12:42 +00:00
tron 61c607b9fe Improve kernel message when card is in power state D3. Instead of...
epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
2000-07-15 10:32:36 +00:00