Commit Graph

14729 Commits

Author SHA1 Message Date
bsh 436b3debe1 make this compile with SLHCI_DEBUG 2003-03-13 06:50:23 +00:00
minoura 552efeab39 Disable ISA DMA emulation for SoundBlaster module explicitly.
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.

Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
2003-03-12 13:36:22 +00:00
minoura f5e8ac30e3 Typo.
Register value symbols YDS_PCI_EX_LEGACY_SBMOD_* ->
YDS_PCI_EX_LEGACY_SMOD_*.
2003-03-12 13:28:19 +00:00
wiz 5feeffaf69 Remove some. 2003-03-12 00:24:41 +00:00
wiz b413b8eb87 Update script for bktr-sf imports. 2003-03-12 00:23:39 +00:00
wiz fa96c20c88 Merge some more. 2003-03-12 00:19:20 +00:00
wiz 0cdd0c6614 Merge first bktr-sf import. 2003-03-12 00:14:40 +00:00
wiz a0685571bd Import of current state of bktr(4) in sourceforge repository.
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
2003-03-12 00:02:19 +00:00
augustss 287c3adc4d Update URLs for the HID spec.
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
drochner f4f1e00d62 make a kernel with the combination ohci@cardbus + ehci@pci link 2003-03-11 11:59:31 +00:00
thorpej 5d036d28d6 Fix an error message. 2003-03-10 20:50:22 +00:00
augustss bf2de652b1 Change debug message. 2003-03-09 19:51:13 +00:00
jmc 4829a1952a Redo last fix to work correctly. Need to run abort on each orb (though it
doesn't much now it will eventually) and then so a proper sbp2_free_orb.
2003-03-07 20:18:57 +00:00
jonathan cd38c4da5c Commit workaround for hardware bug: 5701 chips running in PCI-X mode
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.

Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned.  If the host CPU requires alignment, copy the buffer
after reception to force aligment.

Tested  on an i386 in  PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.

Patch and comments reworked  to minimize drift from
	FreeBSD if_bge.c rev 1.14.
2003-03-07 18:57:53 +00:00
jonathan 5214474746 Fix typo: PRODUCER_BUG quirk mask overlapped the PCIX register-bug quirk.
(Harmless, since we dont use the latter; but we will use it very soon.)
2003-03-07 18:40:18 +00:00
drochner c0e23f3152 -Fix ORB queue corruption / use of free()d memory
caused by bad interaction of sbp2_free() and sbp2_abort().
 sbp2_abort() requires that its argument ORB is on the
 "active" list, and it puts it onto the freelist - sometimes.
 So we had 2 causes of corruption:
 -removing the ORB from a list which it isn't on
 -free()ing recycleable items on the ORB freelist
-minor cosmetics
2003-03-07 16:29:33 +00:00
drochner 49e6bf0fa5 Add support for "simplified direct" (aka RBC) devices.
This reveals some ugly points in the sd driver, as
the PQUIRK_ONLYBIG flag (there are 6, 10, 12 and 16 byte
CDBs for r/w) and the handling of small/big mode
select/sense. This should be cleaned up.
Also the "long" struct disk_parms.disksize is worth
a thought...
2003-03-07 16:18:57 +00:00
kanaoka 5c5aa9ba83 Make sure this compiles with ACPI_DEBUG.
Pointed out by Patrick Welche <prlw1@newn.cam.ac.uk>.
2003-03-07 15:17:44 +00:00
he 0a235da1cd Add inclusion of <sys/lock.h> to allow compilation of usage of
MALLOC() to succeed.
2003-03-07 12:40:12 +00:00
thorpej b81d443ef3 Allow a memory disk image to be statically included in the kernel
to be specified in the kernel configuration file, like so:

makeoptions	MEMORY_DISK_IMAGE="/path/to/image.fs"
2003-03-07 01:26:12 +00:00
matt 52f7db1beb Fix C&P tpyo. 2003-03-07 00:14:38 +00:00
matt c4d8a6226e Make the intel phy match the i82562 phys. 2003-03-06 22:38:09 +00:00
bouyer 5cdb9ac484 Regen: Remove duplicate in previous. 2003-03-06 22:25:43 +00:00
bouyer 0cc9494784 Remove duplicate in previous. 2003-03-06 22:25:23 +00:00
bouyer 35f51b36b4 Regen: Add several SiS host bridges, from FreeBSD. 2003-03-06 22:10:26 +00:00
bouyer bc029ddc91 Add several SiS host bridges, from FreeBSD. 2003-03-06 22:09:46 +00:00
thorpej 1557986bd7 Don't require that input buffers and output buffers be of the same
type.
2003-03-06 21:32:59 +00:00
thorpej a572240890 For functions with inputs and outputs, we currently require that the
buffer types be the same; don't rely on the middle-end to enforce this
for us.
2003-03-06 21:10:45 +00:00
jonathan a9ae465f5e Commit the FreeBSD alternative of a private patch to check NIC internal
ram for using TBI, versus MII/GMII.

FreeBSD commit log and versions:
   Obtain the media type from the shared memory and only use the eeprom
   as a fallback.

   if_bge.c:	rev 1.30
   if_bgereg.h:	rev 1.13

Thanks to Paul Saab @mu.org.
2003-03-06 20:53:05 +00:00
jonathan cf38b6aae6 FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
From FreeBSD versions:
	if_bge.c:	1.26 and 1.27
	if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.
2003-03-06 20:12:53 +00:00
rafal d5afdde2ba Catch up to struct consdev changes. 2003-03-06 07:59:37 +00:00
matt 3dc865b386 Relocate Discovery first thing in initppc (if not at expected address).
This implies that if PMON tells us where the GT is, we write that address
in gtbase.
2003-03-06 06:04:21 +00:00
matt 7109fe9012 Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console
devices).
2003-03-06 00:38:26 +00:00
christos 1fbc199e4e use M_ACPI where appropriate. 2003-03-05 23:00:56 +00:00
matt ff2281b498 Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
2003-03-05 22:08:18 +00:00
shiba 012395b8fb Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
              Takeshi Shibagaki <shiba@netbsd.org>
                 (refer to [bsd-usb:685],[bsd-usb:686])
Approved by: gehenna, kanaoka
2003-03-05 17:37:36 +00:00
kochi 7629f23bb8 Fix a bug that affects machines which has non-zero base GPE blocks.
This bug is already reported to Intel ACPICA people.
2003-03-05 15:13:01 +00:00
itohy b75bbfd9a4 Regen (add ESS1878 (ess) and ESS0005 (joy)) 2003-03-05 13:10:03 +00:00
itohy 24c03411b6 Add ESS1878 (ess) and ESS0005 (joy) for ESS ES1878 audio device. 2003-03-05 13:08:27 +00:00
kochi b1b04fbfdf Update for acpica-unix-20030228. 2003-03-04 17:28:00 +00:00
kochi 589c0d70ae Resolve conflicts from acpica-20030228-2 import. 2003-03-04 17:25:09 +00:00
kochi f874599c20 Import the Intel ACPICA 20030228 release. 2003-03-04 17:07:34 +00:00
kochi f93b318be7 import the Intel ACPICA 20030228 release 2003-03-04 16:43:14 +00:00
soren e0395ed0f1 G/c old macppc grf entries. 2003-03-04 13:29:12 +00:00
fvdl d8464bf767 The intrmasks array is only used in if 0-ed code, so if 0 it as well. 2003-03-03 23:49:18 +00:00
mycroft 2198701c01 The DMA support here never worked, so yank it out. 2003-03-03 22:07:21 +00:00
mjacob 1ca48f3a5e Fix egregious bug where we meant to use bit 5 (1<<5) instead of the
value of 5.
2003-03-03 20:54:56 +00:00
mjacob 1a127bb90e spelling 2003-03-03 20:54:28 +00:00
mjacob 15332b558c Propagate iid && rxid when we're putting back an ATIO for FC.
Spelling fixes.
2003-03-03 20:54:12 +00:00
mjacob 9af98d9f8e Spelling fixes. Leave an example for how to set icbdelay timer for
ZIO operations. If we have ISP_FW_CRASH_DUMP defined, don't reinit
the chip on ISP_CONN_FATAL (that's up to the outer layers to do).
2003-03-03 20:53:14 +00:00