Commit Graph

2601 Commits

Author SHA1 Message Date
bouyer 3dc7dba078 It seems that the 1010-33 has a bug: it sometimes generate spurious SCSI gross
errors for narrow transfers after a reselect. FreeBSD sym driver has a comment
about this, but their workaround (disable SCSI gross error reports) doesn't
work for me. Instead dissallow disconnect if the target is not wide
(FreeBSD doens't allow disconnect until the target has been fully probed, which
is why they may not have noticed my problem).
2002-05-04 18:11:06 +00:00
nathanw f9de3e788b Make pci_conf_print() dump the device-dependent header in userspace, too. 2002-05-03 16:08:36 +00:00
drochner 3c9ad6abb6 make the LEDs work with both channels active, some cleanup and
simplification
2002-05-03 14:12:59 +00:00
augustss dd51b8be28 Regen. 2002-05-03 12:46:41 +00:00
augustss a7586eb6dc Add Sandburst. 2002-05-03 12:46:11 +00:00
thorpej a487a4b57a Bump the number of Tx DMA segments from 8 to 16 (the zero-copy socket
code sometimes sees more than 8).
2002-05-03 00:18:31 +00:00
thorpej 317ab784d9 Bump the number of Tx DMA segments from 8 to 16 (the zero-copy socket
code sometimes sees more than 8).
2002-05-03 00:07:02 +00:00
thorpej 84fbb01984 Fix a comment. 2002-05-02 16:34:47 +00:00
thorpej c115365b50 * Deal with errata on the i82542 and i82543 chips: The size of the
transmit and receive descriptor rings is limited to 256 descriptors.
  So, set the if_snd queue length to 256 to let the upper layers queue
  lots of packets, and let the driver handle up to 32 of them at a time.
  (We should probably make this change to most Ethernet drivers, since
  it actually saves some resources.)
* Increase the number of Tx DMA segments from 8 to 16.
* Clean up the way we count "how many times did I get a packet with N
  DMA segments".
* Add a missing htole32() in wm_tx_cksum().
* Don't set both RS and RPS in the last Tx descriptor of a packet; just
  use RS.
* Add some more information to the watchdog message.
2002-05-02 16:33:27 +00:00
thorpej b094ff415f Change the semantics of mbuf external storage "ext_free" routines
so that they're more useful for arbitrary types of external storage:

* Add an "mbuf *" argument to (*ext_free)().  If non-NULL, (*ext_free)()
  is expected to free the mbuf itself.  This allows (*ext_free)() to use
  the mbuf for bookkeeping (e.g. deferring the work to a helper thread).
  If the "mbuf *" argument is NULL, we are assumed to be in a context
  which is safe for performing the destructor operation *now*.
* Adjust MEXTREMOVE() and MFREE() routines for above change.
* Update "ade" and "ti" drivers for new semantics.
2002-05-02 16:22:43 +00:00
nonaka d58ba5a7b5 Regen. (Added two IBM devices.) 2002-04-29 18:21:32 +00:00
nonaka 1a570698f4 Added two IBM devices. 2002-04-29 18:18:29 +00:00
mjacob 85fc807bc1 suggestion from Jason: have (in non-verbose boot case) card type printed out
on same line as attachment line.
2002-04-28 21:32:14 +00:00
thorpej fe11f8da0b Use MEXTADD() rather than open-coding it. 2002-04-28 01:00:26 +00:00
thorpej 2ddda24f28 53c1010 chips are ultra3, not ultra2. 2002-04-26 19:44:52 +00:00
ad 9a25612703 Regen. 2002-04-26 14:21:28 +00:00
ad fda5e53ba0 Oops, add more IDs used by aac_pci.c. 2002-04-26 14:20:59 +00:00
ad 77e08f053a Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.
2002-04-26 02:05:07 +00:00
kleink 22e2d71a5f Add a joystick attachment to the ESS Solo-1 driver. 2002-04-25 00:52:21 +00:00
ad b9e7e28ff4 Match anything with PCI_VENDOR_VORTEX, then use a heuristic to determine the
board's interface, and list only exceptions in icp_pci_ident[].
2002-04-24 15:08:48 +00:00
aymeric e4f7fab661 OPTi changes:
o keep WDC_CAPABILITY_DATA32 regardless of the version of the chip.
o correct typo to disable DMA correctly
2002-04-24 13:49:34 +00:00
bouyer cd3578d7ef More copyright fixes, pointed out by Thomas. Thanks ! 2002-04-23 20:41:13 +00:00
bouyer c7454ad973 - factor out parts of (e)siop_attach() to siop_common_attach()
- Add support for DT transfers (aka Ultra/160) in esiop

Note that DT transfers are not enabled for 53c1010-33 rev 0 yet; if I trust
FreeBSD it has a bug which prevent them to do DT properly.
From the same source there may be issues with some revs of 53c1010-66.
2002-04-23 17:33:27 +00:00
bouyer cf06149dac Enable software LED control based on LED0 feature, not #define.
For now, set the LED0 feature if SIOP_SYMLED is defined in siop_pci_common.c.
From Jason R Thorpe.
2002-04-23 10:38:37 +00:00
bouyer 71103278cf Set SF_CHIP_LEDC for chips that support it. Based on patch sent in private
mail by Jason R Thorpe.
2002-04-23 10:11:39 +00:00
ad 9a09578e25 Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.
2002-04-22 21:05:19 +00:00
bouyer 458fca4e6a Add esiop at pci. 2002-04-22 15:45:19 +00:00
augustss 7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
bouyer 8cfc41f9ed First cut at a esiop driver (enhanced siop). Doesn't implement tagged queuing
yet.
If is restricted to SIOP which implement the load/store instruction, and
has 10 scratch registers (basically, 825 and newer, possibly 770).
It implements a different interface between host and script, using a real
ring for command starts, and improved support for reconnect which will allow
256 tag per device. It uses interrupt on the fly to signal complete command,
which allows several commands to be serviced per interrupt and doesn't require
the script to stop to signal command completion.
2002-04-21 22:52:05 +00:00
bouyer 97fe8b91c5 Move a few things around, so that ic/siop_common.c and pci/siop_pci_common.c
can be compiled without including siopvar.h.
2002-04-20 00:15:54 +00:00
drochner 9c80231f6b check interrupt status of the PCI interface chip (if possible)
before calling the (slow) isic handler
being here, remove #ifdefs for FreeBSD and old version support
and add RCS ID tags
2002-04-19 10:55:46 +00:00
thorpej c685b2c67a Regen: Added Symbios 53c875A product ID. 2002-04-18 20:36:30 +00:00
thorpej cdd30a00ba Add Symbios 53c875A product ID. 2002-04-18 20:35:39 +00:00
tshiozak eb4e540b0e add PCI/USB vendor ID for Kurusugawa Electronics, Inc.
PCI-ID: 0x6809, USB-ID: 0x0b7e.
2002-04-18 17:40:56 +00:00
martin 379eadc41a Duh, 0 bits enable interrupts in the IPAC!
So to disable them all better use 0xff instead of 0x00 as mask. Noted
by Matthias Drochner.

Move some initialization unrelated to interrupts back to its place at
attach time.
2002-04-18 15:32:30 +00:00
martin 32b8af4ca2 Be carefull not to cause interrupts while /dev/isdn is not open.
Make the LEDs work.
2002-04-17 17:35:29 +00:00
wiz 2228f81f19 Fix two typos in comments. kern/16386 by Sean Davis. 2002-04-17 09:16:27 +00:00
mycroft 88e968078c Remove TLP_MATCH_* options. 2002-04-17 02:19:13 +00:00
drochner e5abb78d1a regen 2002-04-16 10:08:58 +00:00
drochner 276fd6a576 add some C&T VGA chip 2002-04-16 10:08:34 +00:00
mycroft 0a948745d1 Regen. 2002-04-15 14:44:30 +00:00
mycroft 9d7578b25c Use chip numbers for most of the new Adaptec IDs, not board numbers. 2002-04-15 14:43:42 +00:00
ad e200da16d8 Regen. 2002-04-15 11:12:46 +00:00
ad aad41f43b6 Add a bunch of Adaptec, Dell and HP products. From OpenBSD. 2002-04-15 11:12:25 +00:00
simonb f938ee8df6 Fix a couple of tyops. 2002-04-15 04:13:25 +00:00
bouyer fda8de6495 bus_space_unmap() ctl_baseioh instead of ctl_ioh for the native case.
Pointed out by enami, and should fix kern/16307.
2002-04-14 16:55:08 +00:00
martin e4998611e9 Fix copyright notice. 2002-04-14 12:24:26 +00:00
martin 0cdadad2cd Defer initialization of the ISAC chip until we enable interrupts - it gets
into a strange failure mode if we do it with disabled interrupt. When
(re-)enabling interrupts reset transmitter and receiver and clear any
pending state.
2002-04-13 10:28:36 +00:00
mycroft 3b38c02e34 Add support for the ServerWorks OSB4 and CSB5 chipsets.
Note:  The code is written a little more cruftily than it should be.  It's also
only tested on the OSB4.  I'm not sure it even makes sense to have support for
`native' mode, but I put it in just in case.
2002-04-12 18:02:04 +00:00
hannken 6991df9968 Add config for the SUNIX line of pci serial/parallel cards.
Approved by: Jason R. Thorpe <thorpej@wasabisystems.com>
2002-04-11 13:53:56 +00:00