Commit Graph

3047 Commits

Author SHA1 Message Date
martin c7d20c39f9 Fix typo - make it compile with DIAGNOSTIC. 2003-01-15 21:38:22 +00:00
kent f22fb7c9b8 Fixed a problem that /dev/sound can not be opened in some cases.
auich_set_rate() modified audio_params::sample_rate to actual
sample rate though auich_set_params() rejected sample rates
other than some specific rates.  For example, setting 8000Hz
with auich_set_params() modified sample_rate to 7998Hz in the
case of overclocked AC97 codec, and calling auich_set_params()
again returned with EINVAL because sample_rate was 7998Hz and
auich_set_params() rejected 7998Hz.

For now, auich_set_params() never modify audio_params::sample_rate.
2003-01-15 04:49:35 +00:00
wiz 0bd71f2dbc Recognise tuner on WinTV-GO-FM. From PR 19844 by Wolfgang S. Rupprecht. 2003-01-14 11:09:40 +00:00
mrg b45e7ba10d add detach support 2003-01-14 02:23:29 +00:00
augustss fef43d3aa9 Regen. 2003-01-10 16:42:04 +00:00
augustss 205035d2fa Add two Intel PCI-PCI bridges. 2003-01-10 16:41:39 +00:00
mjl f8a4b3b1a8 Make this work on big endian platforms (mostly from OpenBSD):
Uploaded scripts work better if they are little endian, as the
card's engine expects, so convert to le first.

Also clean up attach routine a bit (use pa_id and PCI_REVISION
instead of fetching it ourselves).

This makes the driver work on my macppc G4, it can decode and
display video and tuner input. Sound does not seem to work, but
this may be my wonky formac bktr-for-macintosh card.
2003-01-10 01:38:52 +00:00
wiz 7e681f7063 interrupt with two rs. 2003-01-06 13:04:54 +00:00
wiz 6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
wiz 617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
lha 615a1ff234 From freebsd if_vr.c:1.43,1.56 and if_vrreg.h:1.11,1.14
- Windows put the chip in suspended mode, make sure we unsuspend
  it. 1.43, by Takefumi SAYO <stake@po.shiojiri.ne.jp>

- Detect the revision of the Rhine chip we're using, and force reset
  when the chip supports it. 1.65, by silby@freebsd.org
2003-01-03 19:01:09 +00:00
dyoung ea6658283d Since the I/O and memory enable bits are written to the PCI CSR by
the PCI bus code, and because wi(4) does not use bus-mastering, we
may entirely skip writing the PCI CSR.
2003-01-02 06:26:49 +00:00
dyoung b356d306f5 For confidence's sake, enable I/O and memory accesses (which were
previously NOT enabled), but do not enable bus-mastering (which
was previously enabled, but which neither Lucent nor Prism support).
2003-01-01 02:36:54 +00:00
tron ed7e94b443 Use bus_space_write_2() to write the 16 bit register "EMU_TIMER" which
should fix PR kern/15663. Patch supplied by Yorick Hardy via GNATS.
2003-01-01 00:36:29 +00:00
thorpej 72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
fredette 2068a40cc7 Removed esm_freemem(), which isn't used any more. 2002-12-31 13:10:59 +00:00
dyoung 053c1688c8 Per discussion in PR 18794, fix PCI resets. Alas, this does not
seem to fix PR 18794.
2002-12-31 06:33:20 +00:00
fredette 5620d08cca First cut at recording support for the ESS Maestro-2 and 2e.
16-bit mono recording seems to work OK.  16-bit stereo recording
is missing the left channel for reasons unknown, fixes welcome.
8-bit recording still unsupported.
2002-12-30 05:23:27 +00:00
explorer f7981239d7 update 2002-12-30 04:03:04 +00:00
explorer 6d15b43548 add atheros communications, Inc. AR5001 reference goop. This is what the 2.4 Ghz / 5 Ghz linksys cardbus card has inside. 2002-12-30 04:02:22 +00:00
tsutsui 26f0714b7f sparc/tab cosmetics. 2002-12-28 07:11:24 +00:00
itohy ca7d3d53d6 Lookup and use the Ethernet address in the FCode PROM,
and avoid using MD myetheraddr() function.
This makes the driver MI, and closes PR kern/13797.

The PCI HME is a PCIO chip, which is composed of two functions:
	function 0: PCI-EBus2 bridge, and
	function 1: HappyMeal Ethernet controller.

The Ethernet address is (expected to be) in the PCI FCode PROM connected
to the EBus bridge (function 0) of the device.
Since the HME is on function 1, some magic is used to access to the PROM.

We don't have MI EBus driver since no EBus device exists (besides the
FCode PROM) on add-on HME boards.  The ``not configured'' message for
function 0 is what is expected.

The SPARC case is currently unchanged.  It needs interaction with OpenBoot.
2002-12-26 22:59:51 +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
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
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
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
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 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
kristerw 2ce6431736 wm_copy_small in not used anywhere. Remove. 2002-12-21 16:12:15 +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
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
scw 173ca7d4d0 Add support for i830/i845 agp. From Shingo WATANABE (on tech-x11) and
FreeBSD, with cleanup/KNF by me.

Note: These chipsets are not well supported by the i810 driver in
NetBSD's in-tree xsrc (based on XFree86 4.2.1 at this time). However,
the driver works perfectly using bleeding-edge XFree86-current on my
Omnibook's i830MG with these agp changes.
2002-12-13 11:32:50 +00:00
jdolecek 9cdaccbbdd regen: add Madge Networks Smart 16/4 PCI Ringnode Mk2 entry 2002-12-11 21:35:19 +00:00
jdolecek 62c201e271 add Madge Smart 16/4 PCI Ringnode Mk2 entry 2002-12-11 21:34:36 +00:00
junyoung 65ce86ee32 '.' was missing in license notice. 2002-12-11 05:49:34 +00:00
ad 59773dea2e Implement the DPT EATA ioctl() interface. 2002-12-07 19:48:30 +00:00
pooka 98539df1fe Recognize a few more CT5880 chips. Only cosmetic, does not
affect functionality.
2002-12-05 11:26:26 +00:00
haya 805040f592 New Feature: add pseudo device for IEEE 1394 isochronous stream and
isochronous reception routine for IEEE 1394 OHCI (fwohci).  The
transmission part is under construction.

The minimum configuration options for this feature are:

# IEEE 1394 (i.LINK)
fwohci*	at pci? dev ? function ?
pseudo-device	fwiso		1
2002-12-04 00:28:39 +00:00