Commit Graph

8885 Commits

Author SHA1 Message Date
thorpej 4b0c3e182c Fix a typo in an constant name that is currently unused. 2000-10-16 23:03:45 +00:00
thorpej a5e3251d5f Register definitions for the Middle Digital, Inc. PC-Weasel
serial console board.
2000-10-16 22:59:24 +00:00
itojun d01f7f6e2b correct memory size to be mapped. PR 11242. 2000-10-16 10:26:41 +00:00
mjacob c64069308b Make changes relevant to changes in WWN defaults.
Also fix egregious bug where we would never decrement
the islocked recursion counter. I guess this means
that we don't recurse on this platform! All of this should
go away when we have real lock primitives to use in drivers.
2000-10-16 05:18:15 +00:00
mjacob c7c2783178 Change some of the WWN macros- eliminate PORT_FROM_NODE_WWN and make
sure we have a DEFAULT_{PORT,NODE}WWN and ISP_{NODE,PORT}WWN macro
as a requirement for all platforms.
2000-10-16 05:16:56 +00:00
mjacob ffdbddbd79 Add in commented-out hiwater measurement.
Remove egregious older bug which had us refusing to log into
fabric devices unless they were NL ports. Whuff.
2000-10-16 05:15:55 +00:00
mjacob 298ec0ecd9 Clarify/cleanup how node and port names are derived from nvram. Remove
clause 2 of licence. Remember to print initiator ID (LOGINFO level).
2000-10-16 05:15:05 +00:00
mjacob 7cc31292b3 Turn on 32 byte bursting for ISP 2000-10-16 05:13:13 +00:00
mjacob 3607efd3d7 Remember to establish default PORT WWN. Add in some LOGDEBUG2 messages
for the dma mapping code.
2000-10-16 05:12:26 +00:00
mjacob 8ddb5fd594 roll SBus f/w to latest released level (1.37) 2000-10-16 05:10:37 +00:00
thorpej 4318834442 Don't trim off the FCS, pass it up. 2000-10-15 19:56:31 +00:00
explorer b4bbac9584 add Ricochet GS USB modem 2000-10-15 17:53:17 +00:00
bjh21 83666f01fa Shuffle printfs around so they look right when we've got a drive attached. 2000-10-14 23:45:57 +00:00
matt b885772956 The input packet has the FCS attached to set M_HASFCS before passing up.
Revove eh = ... since it's no longer used.
2000-10-14 20:06:02 +00:00
nisimura ca7bd5f302 Make sure wsmouseopen() returns ENXIO when no VSXXX mouse is attached. 2000-10-14 08:51:51 +00:00
simonb c8d4a6140c Regen 2000-10-14 06:23:21 +00:00
simonb 30dbba4dd1 Add ATI Mobility M3 (both PCI and AGP). 2000-10-14 06:12:46 +00:00
jonathan 6e67f82712 Fix wi_intr() to avoid touching card registers during insert/remove events,
when sharing an interrupt with other devices:
check sc->sc_enabled,  and drop the interrupt if its' off.

Also check for IFF_RUNNING, on advice of Enami Tsugotomo.
2000-10-13 19:15:08 +00:00
augustss 86974d7235 Regen. 2000-10-13 18:16:53 +00:00
augustss 67c8e3701d A bunch of scanners. 2000-10-13 18:16:36 +00:00
augustss 764c5e3eea Recognize HP 5300C. 2000-10-13 16:18:48 +00:00
augustss 8abfde6138 Regen. 2000-10-13 16:18:22 +00:00
augustss 54480a36e4 Add HP 5300C. 2000-10-13 16:18:02 +00:00
mjl 2898929f94 Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!
2000-10-13 12:53:23 +00:00
augustss b5b3e28ce7 Add uscanner. 2000-10-13 12:31:10 +00:00
augustss 3a05d9ba7b Avoid empty strings for vendor&product. 2000-10-12 23:11:04 +00:00
augustss 4ed4915295 Regen. 2000-10-12 22:51:42 +00:00
augustss 0b0fb8e466 Add Kingston KNU101TX Ethernet adapter. 2000-10-12 22:51:20 +00:00
wiz 06ab77c680 typo fix in comment (stallen -> stolen) 2000-10-12 12:42:52 +00:00
wiz 8a9e5b82d3 typo in comment (consifuration -> configuration) 2000-10-12 12:42:03 +00:00
mjl 38fd6528ac Add finnish keymap, from Heikki Kallasjoki in PR/11186. 2000-10-12 12:41:22 +00:00
enami 3a909c64a6 Use splnet instead of splimp in wi_ioctl. 2000-10-12 04:50:58 +00:00
enami 4c00a9d6aa Bail out initailzation on buffer allocation failure. 2000-10-12 03:29:59 +00:00
oster fc40c38df6 Minor fixup for a printf(). Noted by Robert Elz. 2000-10-12 03:28:49 +00:00
itojun 32e7a2cd70 hifn7751 crypto card driver. from openbsd.
does nothing useful at this moment - initailize the chip, that's all.
TODO: crypto logic framework in kernel (see openbsd sys/crypto)
TODO: ipsec frontend (need major rework in ipsec tree - should start with busywait)
TODO: character device frontend
2000-10-12 02:59:59 +00:00
itojun 8d7ce38746 regen 2000-10-12 02:54:13 +00:00
itojun 429b0af909 pci device ID for hifn 7751-based crypto cards. from openbsd. 2000-10-12 02:52:58 +00:00
enami b204f9e433 Use ether_ioctl. 2000-10-12 02:24:08 +00:00
sommerfeld 2383226766 Silence format warning. 2000-10-11 22:03:33 +00:00
thorpej 2198741306 Use ether_ioctl(). 2000-10-11 16:57:45 +00:00
onoe fcde56c9ba Add flags to indicate that tlp_init() should set some more BUSMODE bits.
TULIPF_BLE	/* data is big endian */
	TULIPF_DBO	/* descriptor is big endian */
These setting is required for Big-endian bus front-end (such as APbus for
newsmips) to work with tulip.  Also,
	sc_maxburst
member is added to the tulip_softc to limit the maximum burst length.
This member defaults to zero which means no restriction for burst length.
2000-10-11 14:59:52 +00:00
pk 0abaf0f210 Fix compilation errors: unused variable & missing function return values. 2000-10-10 23:33:52 +00:00
augustss 41bb27ce0d Regen. 2000-10-10 12:38:24 +00:00
augustss 1f06d9f822 Another vendor&product code. 2000-10-10 12:38:00 +00:00
augustss 8adc2fb7f3 Don't free unallocated pointer in detach (can happen if detach happens
before attach has finished).
2000-10-10 12:37:01 +00:00
itojun b69ea2a63d make it work right on non-32bit arch. from kjc@csl.sony.co.jp 2000-10-10 10:15:00 +00:00
bouyer 64c818a7e2 Emit a warning when a symbol is undefined. 2000-10-09 15:57:56 +00:00
enami db6fba6bdf Move inclusion of rnd.h and sys/rnd.h from tulip.c to tulipvar.h. 2000-10-09 14:31:01 +00:00
enami ca88e2b6bd Make tulip a random source. 2000-10-09 12:54:28 +00:00
augustss cc577ca5c6 Regen. 2000-10-08 23:57:10 +00:00
augustss b132b36f4d Add a few more devices (from FreeBSD). 2000-10-08 23:56:53 +00:00
augustss 62fb025c5c Regen. 2000-10-08 21:26:47 +00:00
augustss 447c19ac22 Add another DLINK adapter. 2000-10-08 21:26:26 +00:00
augustss 966f1692e1 Don't use a plural `s' if there is only one button. 2000-10-08 20:52:18 +00:00
augustss b6db5a8622 Regen. 2000-10-08 20:51:30 +00:00
augustss 3598b417a3 Add a Fuji camera. 2000-10-08 20:51:00 +00:00
cgd a3dbabc67b Update for current PCI device class/subclass and capability codes.
(also, tweak the I2O subclass string to be "standard" -- the removal
of version info didn't extend that far.)
2000-10-07 18:58:13 +00:00
nathanw 34f3869cdc Change int->bus_addr_t in com_kgdb_attach() prototype.
Compiles again with KGDB enabled.
2000-10-06 21:12:01 +00:00
bouyer f6bf6762ab Ops, disable debugging messages. 2000-10-06 20:07:10 +00:00
bouyer c8ad9b6302 Regen 2000-10-06 16:39:22 +00:00
bouyer 171adcf634 Fix recurent typo: shed->sched 2000-10-06 16:39:04 +00:00
bouyer e353a6d9b2 Adapt for reselect handling from the script. While here, fix typo
(SIOP_SCXFER -> SIOP_SXFER).
2000-10-06 16:35:13 +00:00
bouyer eae96f0267 Regen 2000-10-06 16:31:31 +00:00
bouyer c67eef4e7d Handle reselect entirely in script; for this provide a script area,
modified by the driver, which will load the appropriate DSA for a given
target/lun.
2000-10-06 16:31:17 +00:00
ad 5df1120c67 Add some more completion status codes. 2000-10-05 11:23:05 +00:00
bouyer 2e6cb6a878 When 802.1Q MTU, we have to ignore the Frame Too Long errors, and there's no
need to disable RWT and JAB.
2000-10-05 07:22:43 +00:00
augustss 7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
tsutsui cc135eb39f Add MI mk48txx. 2000-10-04 18:44:24 +00:00
tsutsui d11ef545cd Enable sanity checks in mk48txx_gettime().
(Many news68k have dead NVRAM.)
2000-10-04 17:00:45 +00:00
bouyer a2c02690af only VT82C586A rev >= 6 supports Ultra-DMA. From OpenBSD. 2000-10-04 09:34:09 +00:00
augustss 5d4d9ec965 Update with uscanner.c 2000-10-04 02:45:07 +00:00
augustss c068cf3953 Regen. 2000-10-04 02:09:37 +00:00
augustss 9d09a17e7c Add more vendors. 2000-10-04 02:09:07 +00:00
thorpej 5fcde4924f Support ETHERCAP_VLAN_MTU by igorning Receive Watchdog and Transmit Jabber
errors if VLANs are configured on the interface.
2000-10-03 23:35:55 +00:00
thorpej cbfe7605c9 Support ETHERCAP_VLAN_MTU by doing extra error checking upon packet
reception and saving other "bad frames" (i.e. ones that are larger
than the standard Ethernet frame length) if we have VLANs configured
on the interface.
2000-10-03 23:35:02 +00:00
simonb 5d4fa9b0ce Revert rev 1.31 of bha.c (and associtated changes in the headers and
config glue files).

Fixes PR kern/9841.  Tested by Tracy J. Di Marco White with a bt948
and 6 disks.
2000-10-03 14:07:36 +00:00
tsutsui 91959d389e Typo in comment. 2000-10-03 13:54:02 +00:00
tsutsui 33e8ebeef3 1970 -> POSIX_BASE_YEAR 2000-10-03 13:52:39 +00:00
tsutsui df9baa1d7a Move #define POSIX_BASE_YEAR to clock_subr.h. 2000-10-03 13:41:07 +00:00
tsutsui 5c0aabad0d For SECDAY, use "24 * 60 * 60" rather than "86400". 2000-10-03 13:00:30 +00:00
augustss 623aae812b Only probe for drive 0. Fix es problem reported by Nathan Williams
<nathanw@MIT.EDU>.
2000-10-03 04:33:03 +00:00
thorpej 7edd5d54bc Add support for the ADMtek AN983 and AN985. 2000-10-03 04:32:00 +00:00
thorpej 4462a44b87 Regen: ADMtek AN985 2000-10-03 02:59:05 +00:00
thorpej 618e7b93c6 Add ADMtek AN985 10/100 Ethernet. 2000-10-03 02:58:30 +00:00
tsutsui 10da4aa927 Add MI md_root.c, per discussion on tech-kern. 2000-10-02 15:22:32 +00:00
ad 903ae58e7b I2O subclasses currently have nothing to do with the protocol version. 2000-10-02 14:48:13 +00:00
itojun 1af3d80bce fix compilation without INET. 2000-10-02 03:53:07 +00:00
thorpej 7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
itojun 3e401aa14d upl(4) is a IPv4 only device. 2000-10-01 11:35:28 +00:00
takemura dcfcbaf8ae - Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
  iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
  have any real keymap but it's just a placeholder for machine dependent
  maps which will be overwrite by machine dependent keyboard driver.
2000-10-01 03:29:12 +00:00
deberg 9a37177d17 fix 16BPP support (for next68k), from Timm Wetzel. 2000-09-29 06:29:47 +00:00
tsutsui 710c43c745 6 -> ETHER_ADDR_LEN 2000-09-28 10:56:57 +00:00
tsutsui f4ef578da7 6 -> ETHER_ADDR_LEN 2000-09-28 10:29:42 +00:00
tsutsui ab9b015dce 6 -> ETHER_ADDR_LEN 2000-09-28 10:10:14 +00:00
enami b4b2cdf575 Replace misused DIAGNOSTIC with WI_DEBUG. 2000-09-28 06:29:41 +00:00
enami 2f625bf43f Remove unnecessary and commented out code. 2000-09-28 06:24:48 +00:00
mhitch af7ddd3659 Set up the physical addresses for DMAPTR/NEXTPTR before adjusting for
unaligned transfers and adjust the physical address to align the transfer.
If the buffer end just crossed the page boundary, the computation of the
NEXTPTR physical address resulted in using -1.  The cleanup at the end of
the DMA transfer would try to copy the residual data to physical address
0x1ffffffc.  This would silently corrupt data on the R3000 and usually
would hang the R4000.
2000-09-28 03:11:29 +00:00
augustss 64d672931e Regen. 2000-09-28 01:27:16 +00:00
augustss 6f2ac8aed1 Add a couple of Apple products. 2000-09-28 01:26:49 +00:00
ad 4a8619ae15 Match the i82562. 2000-09-27 10:54:55 +00:00
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