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
soren
fa10b32567
Regen.
2003-03-03 10:58:45 +00:00
soren
ddc66001e3
Add ATI Radeon M9.
2003-03-03 10:57:36 +00:00
bsh
cf662c7814
add Philips UCB1400
2003-03-03 02:14:12 +00:00
salo
2d4f6b63a7
Regen.
2003-03-02 00:36:11 +00:00
salo
cec306c345
Actually, there is no space in Silicon Motion Lynx* names (e.g. Lynx EM ->
...
LynxEM), the already existing records misguided me.
2003-03-02 00:33:10 +00:00
bjh21
336f2d2049
Add support for the 82C710, the original Universal Peripheral Controller.
...
It turns out (now that I've found the data sheet) to have a substantially
different configuration mechanism from its successors.
2003-03-02 00:21:47 +00:00
mjacob
67427c17a2
Argh. Commited the wrong file.
2003-03-01 19:49:45 +00:00
mjacob
74c56226fb
Fix RFD_TCI macro.
2003-03-01 19:30:30 +00:00
enami
015ce49004
Don't require root privilege explicitly to issue ioctl. It should be
...
controlled by file's attribute.
2003-03-01 08:01:17 +00:00
enami
fa6061e7a4
Make this file compiles when FW_DEBUG is defined but SBP2_DEBUG isn't defined.
2003-02-28 23:31:41 +00:00
enami
0c1c93f120
Match ServerWorks CSB6 IDE controller.
2003-02-28 22:07:05 +00:00
enami
f0d62ac9ca
Regen.
2003-02-28 22:05:59 +00:00