Commit Graph

12999 Commits

Author SHA1 Message Date
seb 491c3ef8b6 Add product Titan PCI-800L aka VSCom PCI-800L, a 8 serial puc card, from PR
17140.
Reviewed/approved by veego@ and martin@.
2002-06-02 18:32:11 +00:00
drochner d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
enami 461e42e9ef Collect random number from AMD 768MPX power management controller. 2002-06-02 02:44:27 +00:00
gson a257b81df8 The logic in audio_poll() was incorrect in full duplex mode;
among other things, it behaved as if full-duplex audio devices
were always ready for writing.  Also commented the code in case.
This fixes PRs kern/11179 and kern/13829.
2002-06-02 02:00:30 +00:00
lukem 7026bf4ede Use SLIST_*() instead of accessing slh_first,sle_next directly.
XXX: this program currently doesn't parse macros that cross the EOL with \
(there are a couple in sys/dev/scsipi/scsi_message.h).
with that issue temporarily worked around, this change generates the
same output as the version of aicasm without this change.
2002-06-02 01:20:36 +00:00
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
itojun aa309c7dc2 regen 2002-06-01 21:03:37 +00:00
itojun e35096b705 new ne0 pcmcia pccard: corega EtherII PCC-TD
PR 17134, From: <fujiwara@f.pyon.org>, Kazunori@netbsd.org, Fujiwara@netbsd.org
2002-06-01 21:03:14 +00:00
bouyer 10813a14bc Remove the "set south-bridge's enable bit" code. It doens't seems to make
any difference for rev 0xc3 controllers, and hang on 0xc4 controllers.
Fixes kern/16954
2002-06-01 18:07:42 +00:00
gson ca67f8471a spl botch in midipoll() when sc->dying 2002-06-01 17:54:21 +00:00
bouyer dc66b51bca When the chip gets a transmit underrun, the driver resets the chip, which
cause the link to go down for several seconds on my Dlink DFE580-TX (quad-port
DL1002). This behavior is unacceptable, especially as the driver usually
gets several underrun at once, causing the link to be almost unaviable
for several 10s of seconds.
Bump the default transmit threshold to 1504 bytes to avoid transmit underrun.
2002-06-01 17:24:38 +00:00
bouyer 208589bfca On a Dlink DFE580-TX (DL-1002), attempting to transmit packets while the link
is down cause the chip to create an IE_UpdateStats condition which can't be
cleared, causing the driver to enter an interrupt loop.
Workaround: mask IE_UpdateStats
2002-06-01 17:20:13 +00:00
simonb 42669ab3a4 Add "__attribute__((__unused__))" to hpt374_pio, hpt374_dma and hpt374_udma. 2002-06-01 12:47:20 +00:00
thorpej c49ac7a5a6 Use __mips__ instead of mips. 2002-05-31 21:43:49 +00:00
nathanw 7dc5cba95f Regen. 2002-05-31 21:13:12 +00:00
nathanw 49331870a4 Add many Keyspan products, and distinguish the device IDs before and
after loading firmware.
2002-05-31 21:11:56 +00:00
thorpej 46b268dfef Avoid sequence point error. 2002-05-31 19:42:12 +00:00
thorpej dd82a277b7 * Add __unused___ to lmc_system_errors, since it is not used by
everything which includes if_lmcvar.h.
* #if 0 lmc_status_bits, since it's not used by anything.
2002-05-31 17:53:03 +00:00
thorpej 96e504cc78 Fix a pasto in printf arguments which resulted in the aac kernel
version being mis-reported.
2002-05-31 17:36:29 +00:00
thorpej 12af01e337 Remove an unnecessary printf argument. 2002-05-31 17:34:08 +00:00
thorpej 7173dc3334 Remove shadow decl of num_errors which exactly duplicated the file-scope
decl.
2002-05-31 17:31:15 +00:00
thorpej eb00d53595 Remove duplicate TULIP_SET/TULIP_CLR. 2002-05-31 17:27:40 +00:00
mycroft 79056950e2 Mask off extraneous bits in the RX frame status when testing it. My cards set
bit 3 in ad hoc mode.
Also, some minor constant folding.
2002-05-31 15:52:55 +00:00
christos 705e75558c regen 2002-05-31 15:38:55 +00:00
christos 03dc556078 add usr v.everything. 2002-05-31 15:38:43 +00:00
mycroft 5ca56020c7 Patch the CLKRUN enable bit on ToPIC chips. 2002-05-31 13:34:03 +00:00
mycroft f6dc1467bf Add a Nortel e-Mobility card. 2002-05-31 13:30:36 +00:00
mycroft 75612b306d Regen. 2002-05-31 13:29:35 +00:00
mycroft 216a97aba4 Add a Nortel e-Mobility card. 2002-05-31 13:29:19 +00:00
augustss 22023c8988 Some casts in printf(). 2002-05-31 10:54:34 +00:00
haya a7937db203 Add comment. 2002-05-31 09:54:52 +00:00
augustss df22d8a0f5 Add some pmppc stuff. 2002-05-31 00:27:00 +00:00
thorpej 34820075d5 Statements must follow labels. 2002-05-30 21:09:54 +00:00
someya 153f04daa9 Fix playback problem on SiS7018.
- mute the volume for interrupt channel
 - add some improvements for device initialization

but recording does not work properly.

Reported and tested by Jan Wagner <waja@cyconet.org>. Thanks.
2002-05-30 17:04:13 +00:00
drochner 34c0afbf8d implement a check whether a BAR is present at all at a given configuration
space address and use it where the mappings of the VGA card are registered
before descenting too deep into "memory" type specific code
(pci_mem_find() gets noisy if it doesn't like the register)
2002-05-30 12:06:43 +00:00
bouyer ec89a92254 When testing for a void region, use PCI_MAPREG_MEM_SIZE() for 32bit memaddr.
If the 32bit mask read is 0, wmask will be 0xffffffff00000000, and
PCI_MAPREG_MEM64_SIZE() won't make this 0.
2002-05-29 14:57:36 +00:00
martin 2a09e1c999 Nuke all useages of polled kbd controller commands when not attaching or
probing.

Make sure to not initialize the protocol more than once, see rev. 1.11 of
the old psm_intelli.c driver (this caused hangs when starting X).

Unify the "ignore garbage" behaviour (which we already did if PMS_STANDARD
protocol was used), the old intelli-driver did the same and on some scroll
mice a stream of garbage is emitted shortly after reset.
2002-05-29 09:30:35 +00:00
tron e10511905f Set initial transmit drain threshold to 1504 to avoid the problem
described in PR kern/16070. Change approved by Jason Thorpe.

XXX We'll should try to find a better adaptive scheme for the next
    NetBSD release.
2002-05-28 20:20:49 +00:00
christos c5e4481063 regen 2002-05-28 17:46:24 +00:00
christos 6ce1fe0564 add action tec 2002-05-28 17:46:10 +00:00
augustss 9660362aab Another fix in the FreeBSD part. 2002-05-28 17:45:17 +00:00
tron 30e983a763 Regen from "pcidevs". 2002-05-28 17:08:57 +00:00
tron e3e9ac1e64 Add entries for Intel i850 and i860 chipsets. 2002-05-28 17:08:19 +00:00
drochner eafdf8c95d add translations for two ASC/ASCQs which occur before
the DVD player's region code is dealt with
2002-05-28 16:40:03 +00:00
augustss 0a15c2acd4 Change DMAADDR macro slightly. 2002-05-28 12:42:38 +00:00
gson 910011f658 When audio recording was paused or dropping samples, the "outp" of the
recording ring buffer could overrun the end of the buffer.  When
recording resumed, memory after the end of the buffer would be read,
sometimes causing a system crash.
2002-05-27 17:13:14 +00:00
drochner 259cb04e6f put multisession offset code into a separate function and initialize
the p_cdsession field of partition 'a' in the default disklabel
2002-05-27 16:42:30 +00:00
drochner 9936deaa92 regen 2002-05-27 08:52:36 +00:00
drochner 67d163e234 add one more of our own products 2002-05-27 08:52:13 +00:00
tshiozak 94a6bb8164 add PLANEX GW-NS11H Wireless LAN PC Card. 2002-05-26 14:37:19 +00:00