Commit Graph

2108 Commits

Author SHA1 Message Date
cjs 6c1314f4b8 Add Transmeta and products, and an ALI integrated sound/modem device. 2001-08-13 08:51:38 +00:00
bouyer efdadcb7dc Properly set/clear IFF_OACTIVE. 2001-08-07 16:53:06 +00:00
soren 3c508a8790 Add support for the PCI-400 card and correct the clock rate for all the
VScom/Titan cards.
2001-08-06 22:25:36 +00:00
bouyer 5243b06e38 Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's
2001-08-06 19:20:26 +00:00
thorpej de108bd82d Add enable/disable hooks on devices that have ACPI power management
capability, using D3 and D0 power states.  This saves me quite a bit
of battery when not using the built-in Ethernet on my IBM T-20 during
long IETF meetings.
2001-08-05 23:39:59 +00:00
jdolecek 74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
jdolecek fcc522e5ce It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz. 2001-08-04 22:15:56 +00:00
bouyer 7c292e3d22 - kill the carrier detect code. It's not usefull any more and can give
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
ad e7021f649d Remove unnecessary test. 2001-08-03 14:10:16 +00:00
tsutsui 38016b0ba8 Fix some typos in newer ALi M5229 support. Approved by bouyer. 2001-08-03 01:31:08 +00:00
ad aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
tsutsui 2c44aa6dfd Remove unused pciide_print() declaration. From OpenBSD. 2001-08-01 16:29:21 +00:00
matt f8e21592da regen 2001-07-31 22:30:07 +00:00
matt b2c29c20ae Add pci ids for the Intel 80312 I/O companion chip for the
Intel 80200 XScale processor.
2001-07-31 22:27:25 +00:00
ad aae284be36 Oops, put back the initalization of "done" in mly_thread(). 2001-07-31 02:07:14 +00:00
ad 5226d11119 Assume that me->lun contains the device number if this event is for a
logical device.
2001-07-30 23:49:51 +00:00
ad 2fa020ae0b - Forget to report events from logical devices.
- Cosmetic changes.
2001-07-30 23:46:28 +00:00
ad 12c4049d31 Don't match boards with a PCI class code of `I2O'. 2001-07-30 23:29:08 +00:00
thorpej 8fc6974449 Oops, make Rx interrupt deferral actually work. 2001-07-30 20:12:10 +00:00
ad 3b1828355b Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.
2001-07-30 19:59:04 +00:00
tsutsui 690c5b1ae3 Enable the Acard UIDE controllers by default.
My WDC MDMA-only (non-UDMA) drives did not work on the Acard controllers,
but it turns out that the problem was not Acard specific.
These WDC drives do not work on the ESS ISAPnP wdc port nor on
macppc obio wdc port neither, and another Quantum MDMA-only drive
works fine on the Acard.

These WDC drives work fine on my i386 pciide (which is initialized
by the BIOS), so maybe we have to do something in MI wdc to initialize
such drives properly...
2001-07-28 12:07:11 +00:00
pooka 4ec277f9ee regen 2001-07-28 00:33:43 +00:00
pooka 70cd305a5d 3c556 V.90 MiniPCI modem 2001-07-28 00:33:01 +00:00
thorpej fab087b3a2 Tell the MII layer to advertise PAUSE capability, and configure
the chip's PAUSE threshold.
2001-07-27 22:46:20 +00:00
bouyer 8e2205572d Better support for newer ALI M5229 chipsets: support Ultra/66 for rev >= 0xC2,
Ultra/100 for revs >= 0xC4.
The the generic PCIIDE interupt routine for chipsets rev >= 0xC2 in native
mode, it seems that newer chipsets don't have the ACER_CHIDS register :(
From Linux and FreeBSD.
2001-07-26 20:02:21 +00:00
ad 4950b7867f Map both memory and IO space, but prefer using memory space. 2001-07-26 15:35:20 +00:00
ad 7a92f3b65a Don't map I/O space if we have already have a good memory mapping. 2001-07-26 12:36:16 +00:00
thorpej 799abef5f4 Jumbo frames do not currently work (chip goes catatonic -- silicon bug?),
so don't set the capability.
2001-07-25 15:44:48 +00:00
thorpej 1dfe605642 Match the Antares Gigabit Ethernet. 2001-07-25 01:48:14 +00:00
thorpej 560fc018c4 Regen; Added Antares Gigabit Ethernet. 2001-07-25 01:45:55 +00:00
thorpej 4ac142a1d3 Add the Antares Microsystems, Inc. vendor ID, and the product ID
for their Gigabit Ethernet board (a TC9021 board targeted at the
Sun market).
2001-07-25 01:44:59 +00:00
thorpej 6b0e779ce6 Remove a debugging #define. 2001-07-25 00:12:33 +00:00
thorpej 3939c2a6c7 Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.
2001-07-25 00:11:51 +00:00
bouyer aa053c0bd1 Regen for TITAN PCI100H. 2001-07-23 20:14:36 +00:00
bouyer d2039a5f9b Add TITAN PCI100H. 2001-07-23 20:13:26 +00:00
thorpej bd35a1b7ed Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
2001-07-23 17:26:50 +00:00
thorpej 536f4fded2 Adjust some reset delays. 2001-07-23 17:23:09 +00:00
bouyer ecbce129cb Handle HPT-370A controllers, from skanto@sjk-software.fi (kern/13540) but
with some differences to the original patch: don't assume all controllers with
rev >= HPT370_REV are HPT370, and explicitely print if we have a chip with a
rev the driver does't know.
2001-07-23 14:55:26 +00:00
itojun 93a890b609 it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
kleink d775ce82eb Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:47:18 +00:00
kleink 1bd93b6232 Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:19:40 +00:00
itojun b66f433b03 sync with latest Linux driver, avoid framing error on LMC1200 (T1/E1).
from hal@vailsys.com
2001-07-19 17:02:05 +00:00
thorpej 44e529fecc Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
itojun e13c617dee do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
itojun 639dfc8d8f readability changes (s/0/LMC_LINK_DOWN/, whitespace) 2001-07-19 16:14:50 +00:00
itojun abd116eff5 - on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
thorpej 17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
elric 99e8b114e0 So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing
the kernel to panic since it is recognised as a TGA and the TGA driver
doesn't [yet] know what to do with it.

This patch fixes that by:
	o  making tgamatch() try to actually figure out what kind
	   of TGA card is there, rather than simply relying on the
	   vendor/product ids.
	o  creating a tga_cnmatch() so that the console code in
	   arch/alpha/pci/pci_machdep.c can cause the same to occur.
	o  breaking up some of tga_getdevconfig() into a few different
	   functions to re-use code that would have been duplicated.
	o  changed arch/alpha/pci/pci_machdep.c so that it calls out
	   to tga_cnmatch() if DEVICE_IS_TGA() matches before it decides
	   to attach the console as a TGA.

Addresses PR: port-alpha/12923
2001-07-16 00:55:16 +00:00
mrg 0b1849a71a don't try to print pcitag_t values; these are opaque values that should not
be interpreted by MI code.
2001-07-11 08:36:46 +00:00
thorpej 3d98de578f Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00