14405 Commits

Author SHA1 Message Date
matt
a5201ab8fc Recognize AD1981 codec (0x41445370). XXX name is a guess but it follows
the existing pattern.
2002-12-26 20:56:52 +00:00
matt
5914ae08f9 Recognize BCM5702X and BCM5703X. Add a ONLY_PHY_1 quirk and use it.
Add support for getting the macaddr for 5703 (taken from FreeBSD).
2002-12-26 20:55:30 +00:00
matt
46531db96c Recognize Promise Serial ATA/150 TX2plus 2002-12-26 20:54:03 +00:00
matt
741e85a725 Regen. 2002-12-26 20:53:18 +00:00
matt
fef7827774 Add Promise Serial ATA/150 TX2plus 2002-12-26 20:52:58 +00:00
pooka
0b31dc8e73 For the ES1370 do "best effort" rate selection for the FM DAC. The
card contains only one clock, which is already used by the other
DAC. The FM DAC can handle a few fixed-frequency choices.

thanks to Matthew Green for testing
2002-12-26 17:59:16 +00:00
christos
1ee98692bb Don't leak memory on double init, and don't panic on double fini. Emit
a message when diagnostic.
2002-12-26 12:01:42 +00:00
matt
629336e5c6 Regen. 2002-12-26 01:52:00 +00:00
matt
d06eca3d63 Add some more BCM570x variants. 2002-12-26 01:51:27 +00:00
jdolecek
a80733a697 fix typo in QE_CR_STAT_BITS - bit indication for EDEFER was wrong
Reported in kern/19557 by Ron Roskens
2002-12-25 08:24:30 +00:00
toshii
c3e4f1d795 Fix broken programming of VSCALE_HI registers in yuv422_prog. 2002-12-25 06:40:27 +00:00
toshii
7eb93bf41f Consistently use BKTR_GEN_IRQ and BKTR_RESYNC instead of numbers.
Also, do some whitespace cleanup.
2002-12-25 06:20:11 +00:00
toshii
0c6bdb0df1 Merge FreeBSD rev.1.122:
Be consistent about "static" functions: if the function is marked
	static in its prototype, mark it static at the definition too.
2002-12-25 06:16:58 +00:00
tsutsui
2837b28251 If the chip is in byte access mode for system bus, we should set
FE_D6_SBW_BYTE, not clearing FE_D6_SBW_WORD (which is zero).
Pointed out by Christian Groessler.
2002-12-24 13:10:26 +00:00
jdolecek
94f0c1c2d1 emuxki_intr(): return 1 if interrupt was for us, 0 if not
this appear to fix occassional sample repeats on my dual CPU i386
2002-12-24 10:53:03 +00:00
augustss
095017c9ef Add quirk. From kern/19499, Werner Backes. 2002-12-23 12:42:53 +00:00
augustss
09b10d25e0 Regen. 2002-12-23 12:40:03 +00:00
augustss
cb1f48b543 Add SIIG MULTOCARDREADER. From kern/19499 2002-12-23 12:39:36 +00:00
tsutsui
f9fdb92c0f Always print the device name first in epic_pci_attach(). 2002-12-23 03:57:03 +00:00
tsutsui
fe708bb3ae Set PCI_PMCSR more properly. 2002-12-23 03:23:00 +00:00
tsutsui
ee29810638 Save PCI_PMCSR value correctly. 2002-12-23 03:06:39 +00:00
tsutsui
238efe4697 Replace magic numbers for power management control with PCI_PMCSR* macros.
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
2002-12-23 02:58:36 +00:00
tsutsui
b22b6283f3 Sync with if_rtk_pci.c:
- Fix typo in printf message.
- Don't use PCI_PRODUCT_DELTA_8139 (0x1360) for args of cardbus_conf_read()
  and cardbus_conf_write(); use CARDBUS_INTERRUPT_REG (0x3c) instead.
2002-12-23 02:19:22 +00:00
tsutsui
b4354edb93 Don't use PCI_PRODUCT_DELTA_8139 (0x1360) for args of pci_conf_read() and
pci_conf_write(); use PCI_INTERRUPT_REG (0x3c) instead. (How does it work?)
2002-12-23 02:12:49 +00:00
tsutsui
199ad243a0 Fix typo in printf message. 2002-12-23 01:58:26 +00:00
kanaoka
31623769c9 Resolve conflict from acpica-unix-20021205. 2002-12-23 00:22:04 +00:00
kanaoka
932351b509 Import INTEL acpica 20021205 release. 2002-12-23 00:01:36 +00:00
kristerw
06c22c74ac sf_copy_small is not used anywhere. Remove. 2002-12-21 16:15:28 +00:00
kristerw
2ce6431736 wm_copy_small in not used anywhere. Remove. 2002-12-21 16:12:15 +00:00
kristerw
14d4c7d175 Move dp8390_debug to the #ifdef DEBUG section. 2002-12-21 15:24:42 +00:00
fredette
9d97e92d89 If the user is providing a mode value in AUDIO_SETINFO, that value
cannot change the recording or playback mode of the device, it can
only change other mode-like values (like AUMODE_PLAY_ALL).  Be very
explicit about fixing up the user's mode value based on the mode of
the device.  Before, giving AUMODE_PLAY_ALL could cause AUMODE_PLAY
to become set on the device, and once AUMODE_PLAY_ALL was set it
was impossible to clear.
2002-12-20 18:30:01 +00:00
jmc
8630685f69 Add support for page tables 2002-12-19 09:59:47 +00:00
jmc
ef48ba7693 Add a minphys routine since the single largest packet is less than minphys() 2002-12-19 09:58:24 +00:00
jmc
31f02beb7c Add defines for supporting page tables 2002-12-19 09:56:10 +00:00
jmc
9980e6b848 Updates 2002-12-19 07:22:40 +00:00
jmc
092fe54e3d Add additional debugging for fwohci_arrq_input: no listener conditions 2002-12-19 02:15:31 +00:00
martin
324c47457d Since we have to select one of the two possible PHYs when configuring
the MIF Configuration Register PHY_Select, there is no use in pretending
we could talk to both at the MII interface layer.

If both PHY are reported to be present, prefer the external one.

Remember this selection and enforce it in hme_mii_{read,write}reg.
This fixes problems with one of the dual hmes in Netra T1s.

From OpenBSD.
2002-12-18 23:13:02 +00:00
tron
c4b584f5c4 Use "NULL" instead of "0" in pointer checks. 2002-12-18 14:12:33 +00:00
jmc
62da7b9c60 Add SBP2_MAXPHYS 2002-12-18 06:08:21 +00:00
jmc
fe19747374 Redo state handling as ack's, status, etc can come in and be processed in
various orders depending how the upper level driver is flushing it's queue's.
This prevents the deadlocks I was seeing before with >8k writes.

XXX: Still not completely there as > 64k copies trigger bugs and the page
table support still needs to be written to break those down.
2002-12-18 04:48:33 +00:00
pk
456e1ad2d2 Establish high-level interrupt with IPL_SERIAL. 2002-12-17 08:32:12 +00:00
elric
0e1a1badc4 Memset disklabel area to zero before beginning when constructing default
labels.  Problem noticed and tested by dan@.
2002-12-17 01:55:44 +00:00
fvdl
f11e75d5f6 Remove comparison of u_int8_t value to (512 - a few bytes), since it's
always false. As found by gcc-current.
2002-12-16 18:27:20 +00:00
jmcneill
ee462f15e8 Another sizeof -> 4 + 2048 fix for dvd_read_manufact after malloc changes 2002-12-15 17:48:14 +00:00
jmcneill
675603655c In dvd_read_disckey, sizeof(buf) is no longer '4 + 2048' after the
malloc change. Replace 'sizeof(buf)' with '4 + 2048' -- this makes
dvd_read_disckey work properly again.
2002-12-15 17:43:50 +00:00
takemura
564a7fd556 Changed SCALE value from (1024*1024) to (1024*256) to support large (1024<)
sample values.
2002-12-15 09:17:07 +00:00
fvdl
74fe783bef Avoid using a lot of kernel stack. 2002-12-15 01:56:02 +00:00
fvdl
530a60a1e0 Don't waste too much kernel stack space on (infrequent) ioctl operations,
use malloc instead for temp space.
2002-12-15 01:55:44 +00:00
pooka
a2e85e2b1c Silly me for assuming that the CT5880 cards could be identified by looking
at which ones had the Product ID CT5880. Try to get the checks right now.

Also add ES1373_8 to the list.
2002-12-14 17:52:47 +00:00
christos
fa65bb7322 Add /dev/twex support. To be used with FreeBSD's 3dmd.
Initial port from Masaru OKI <oki@netbsd.org>, with KNF, memory leak fixes,
denial of service problems, and null pointer fixes from me.
2002-12-13 23:31:32 +00:00