Commit Graph

15391 Commits

Author SHA1 Message Date
jonathan 3a6b5e631c Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver. 2003-08-08 20:46:09 +00:00
wulf b6db36227b Add SIIG UISDMC2S Multicard Reader/Writer 2003-08-08 08:24:23 +00:00
wulf 03b1800985 Regen after adding SIIG UISDMC2S (0x0200) Multicard Reader/Writer 2003-08-08 08:00:57 +00:00
wulf 1a6211e5ae Add new product code for SIIG UISDMC2S (0x0200) Multicard Reader/Writer 2003-08-08 07:52:41 +00:00
jrf 5e1e6d519e Added three scsi IDs which were tested by Dave Barnes who sent in
three PRs regarding them: 17836, 17837, 17838. Did a few kernel
compiles with them just to make sure they are okay. Approved by
christos@, thanks to Dave for sending the PRs and verifying to me
that they work.
2003-08-07 17:54:26 +00:00
agc aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
wiz 510efbe0a6 regen (fix ID of Radeon 9100 Secondary) 2003-08-07 05:35:36 +00:00
wiz 3bd8bc4f5c Fix ID of Radeon 9100 Secondary; noted by Quentin Garnier. 2003-08-07 05:35:04 +00:00
mjacob 190eaf015f Various updates to sync with mainline code. Nothing of great significance
to NetBSD, yet.
2003-08-07 01:12:15 +00:00
mjacob cef319e0b4 Note both active and nvram WWNN/WWPNs
Fix the bug where the thread worker constantly looped. It was a race as
to whether or not the thread fired up or a polled/probed command happened
first, or maybe it's due to other scsipi changes, but we never set the
value that caused the fc thread worker to actually go to sleep until an
initial loop up.

This was rather ugly as it consumed nearly all CPU time available from thence
on. Bad.
2003-08-07 01:10:53 +00:00
mjacob a1c1589fcf Clean out the 'fw' variable part of a CTIO2- the f/w doesn't actually
pass us back anything interesting here.
2003-08-07 01:09:02 +00:00
mjacob 03782491e6 Update from mainline: add ISP_NO_ZIO option. constify a few items.
LINT/ProPolice fixes from OpenBSD.

In isp_reinit, clear the port database.
2003-08-07 01:08:10 +00:00
mjacob 543f393343 Add in changes from Matt Thomas to check for 64 bit PCI stuff.
Note that a Qlogic 1020 is Fast Wide, not Ultra Fast Wide.
2003-08-07 01:05:56 +00:00
bouyer bc45dbf125 Regen from esiop.ss 1.15. 2003-08-06 11:40:32 +00:00
bouyer 96fb3c0376 Properly handle messages that we get at reconnect time (other than
SIMPLE_Q_TAG). Some drives start sync/wide negotiation at reconnect time.
Problem reported and fix tested by Andreas Wrede.
2003-08-06 11:39:58 +00:00
scw 0dcbc9ae84 Try to drain the Tx pending queues after dealing with Rx/Tx interrupts.
This fixes a bug whereby a fast cpu with a decent cache can easily
outstrip the GT's ability to put packets on the wire, resulting in a
permanent backlog of mbufs in the Tx pending queues under heavy Tx load.

The bug was masked if the packet buffer was mapped non-cached, which
slowed down the cpu to where it couldn't keep up with the GT at 100mbit.
2003-08-05 14:55:06 +00:00
bouyer 3200934182 Remove unused esiop_scsicmd() prototype. 2003-08-04 19:50:11 +00:00
mrg 9abaf7289a sprinkle some LL suffixes on >32 bit number literals 2003-08-04 07:00:19 +00:00
christos be02f6d68d avoid the pruned type gcc-3.x warning. 2003-08-04 00:26:09 +00:00
nathanw 9cf81bef79 Bunch of changes to make the Palm Tungsten T work:
* Mark the actual Handspring Visor as type "VISOR" and all others
  "PALM4" (notably, the Sony Clie 41 changes from Visor-type to
  Palm4-type).

* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
  query instead of the GET_CONNECTION_INFORMATION query, and interpret
  the returned data structure appropriately. This permits attaching a
  ucom device to newer devices such as the Tungsten T that do not
  support the Visor-style query (data structure definition gleaned
  from the Linux 2.4.21 visor.c).

* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
  the Palm device and the USB host controller deadlock. The USB host
  controller is expecting an early-end-of-transmission packet with 0
  data, and the Palm doesn't send one because it's already
  communicated the amount of data it's going to send in a header
  (which ucom/uvisor are oblivious to). This is the problem that has
  been known on the pilot-link lists as the "[Free]BSD USB problem",
  but not understood.

  XXX It would be better for the Palm protocol to be handled entirely
  in userland via ugen, since the serial protocol abstraction isn't
  really adequate for the amount of structure that's here, and the
  64-byte limit is just a workaround. The pilot-link tools aren't up
  to the task yet, though.
2003-08-03 21:59:26 +00:00
jdolecek d2041674e6 tweioctl(): store the result of twe_param_get() directly to the right
variable rather than using (void *) temporary
should fix strict aliasing warning of gcc 3.3
2003-08-03 18:45:46 +00:00
bouyer feddcdfa5d For LBA drives, compute the number of cylinders from the drive capacity
in the default disklabel and the boot message, instead of using the
value reported by the drive (which is 16383 if the drive is larger than 8G).
Should fix PR 9864
2003-08-03 17:53:04 +00:00
kochi 645984364d Workaround for AcpiOsGetThreadId: can be called with curlwp == NULL 2003-08-03 08:19:58 +00:00
kochi 28e9389fdb Fix a wrong handling of clearing a flag 2003-08-03 08:16:07 +00:00
christos ec3e43edf4 appease gcc-3 by adding ULL to constants that do not fit in longs 2003-08-03 03:49:29 +00:00
uwe 9d1ca6d8d9 Do not ##-concatenate identifiers with parens.
Makes gcc3 preprocessor happy.
2003-08-02 22:14:13 +00:00
tsutsui afa4f85c01 TAB/space cosmetics 2003-08-02 12:48:09 +00:00
scw 5aa077f5cf In fxp_intr(), bail early without touching any registers if sc_enabled is
zero, otherwise we could cause PCI master aborts if the card is in D3 power
state and we happen to share a PCI interrupt line with some other device.
2003-08-01 14:54:12 +00:00
pk 184c0df1a9 Get machine/dev/sbusvar.h for SUN4D too. 2003-08-01 12:21:59 +00:00
wiz 972f20179d regen (avoid duplicate definition, PR 22331) 2003-08-01 11:55:42 +00:00
wiz 7f48a3b625 Avoid duplicate definitions. From Quentin Garnier in PR 22331. 2003-08-01 11:55:03 +00:00
tsutsui 1a4743265a - Add hooks for MD DMA transfers.
- Prepare ADAPTER_REQ_SET_XFER_MODE function.
  (currently sync xfer is not supported)
2003-08-01 00:38:38 +00:00
jonathan 3d768ff89d Preliminary port of merged OpenBSD/FreeBSD ubsec driver for Bluesteel
Networks/Broadcom line of cryptographic accelerators.
2003-08-01 00:08:55 +00:00
jonathan d2c4f02fe7 regen from pcidevs rev 560 (adding Sun's bcm582x-compatible crypto accelerators) 2003-08-01 00:07:32 +00:00
jonathan 0b84ccdd3b Add product IDs for Sun's bcm582x-compatible crypto accelerators 2003-08-01 00:05:27 +00:00
jonathan dfdfebe4d9 Discard previous driver; it didnt really do anything.
Replace with  a new from-scratch port of  recent OpenBSD hifn7751 source,
with changes to the crypto-framework calls to fit Sam Leffler's rework.
(Some of the attach-time changes from the previous driver were carried over).
Many thanks to Quentin Garnier (cube@cubidou.net) for testing an pre-release
of the driver and finding a couple of missing initializations.

Note that RNG support is temporarily disabled, until a potential issue
with RNG quality is investigated and resolved.
2003-07-30 18:49:27 +00:00
gehenna 63452158ba Regen (EDIROL UA-3FX) 2003-07-30 04:50:25 +00:00
gehenna 63741a9060 Add suffix 'A' for UA-3FX advanced mode. 2003-07-30 04:49:12 +00:00
gehenna 0bdf85cae2 Add EDIROL UA-3FX audio I/F 2003-07-30 04:47:55 +00:00
thorpej 058f44ae26 Add support for the Intel PRO/1000 MT Quad Port server adapter; this
is just 2 i82546EB chips behind an IBM 133 PCI-X bridge.
2003-07-29 19:49:50 +00:00
thorpej 4f354cdf59 Regen: Add the product ID used for the i82546EB chips present on the
Intel PRO/1000 MT Quad Port Server Adapter.
2003-07-29 19:47:44 +00:00
thorpej 8b4ac67ee1 Add the product ID used for the i82546EB chips present on the
Intel PRO/1000 MT Quad Port Server Adapter.
2003-07-29 19:46:56 +00:00
martin 270669fdd8 Regen. 2003-07-29 07:43:48 +00:00
martin d42f85d5f0 Add Ricoh 5C551 CardBus + FireWire product ID.
From FUKAUMI Naoki in PR 22292.
2003-07-29 07:42:51 +00:00
martin eec6b03547 Intel 8255GM is GM, not PM (obviously a copy&pasto).
From FUKAUMI Naoki in PR 22293.
2003-07-29 07:41:43 +00:00
tsutsui fddebe9b9c There is a report that x68k SCSI no longer works after the previous changes.
It seems x68k SPC SCSI has several hardware quirks, so add some (a bit ugly)
#ifdefs for workaround.  (XXX - needs revisiting)
2003-07-27 03:51:28 +00:00
jonathan f07336a03e regen from pcidevs rev 1.556 with vendor Cavium and product Nitrox. 2003-07-27 02:39:15 +00:00
jonathan 5eef6dfd20 Add PCI vendor Cavium and product code for their Nitrox XL crypto device. 2003-07-27 02:34:38 +00:00
jonathan 8a1b964b6b Regen from pcidevs 1.555 (Bluesteel,Broadcom security coprocessors) 2003-07-27 01:41:46 +00:00
jonathan 52fc5b6eec Add PCI vendor code for BlueSteel Networks (now part of Broadcom),
and PCI product codes for the Bluesteel/Broadcom family of security processors.
2003-07-27 01:16:10 +00:00