Commit Graph

2245 Commits

Author SHA1 Message Date
bouyer bef8b534cc Now that we can do it, print "HPT366" or "HPT370" depending on PCI revision. 2001-05-04 18:38:36 +00:00
bouyer 7e9f9eaaa1 Better support for VIA chipsets: look at the product/rev ID of the ISA bridge
to guess the pciide capabilities, rather than trying to guess it by ourselve.
Add preliminary support for the 686b (Ultra/100) guessed from FreeBSD/linux
driver (datasheet not publically available,  I contacted via).
Let chip-specific map routine do the autoconf printf if ide_name is NULL
(they may have more details about the controller than we have in pciide_attach)
2001-05-04 15:25:05 +00:00
bouyer 956a71c1c5 Add pci bus number to pci_attach_args, as suggested by Jason on tech-kern
(needed for pciide)
2001-05-04 15:13:17 +00:00
ross e3f2f91bfb Split pci and eisa/isa attachment calls, plus misc cleanup. 2001-05-03 20:34:54 +00:00
scw 2963ff5c58 Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
jmc 9625a01e94 Change to IPL_BIO 2001-05-01 05:10:30 +00:00
jmc 36d8e99d14 Cast args correctly to match format strings. 2001-04-30 02:49:04 +00:00
bouyer 937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
simonb 4d24d9a940 Regen. 2001-04-25 03:07:19 +00:00
simonb 3e4456d049 Spell "portege" correctly - it's a computer, not a car. 2001-04-25 03:06:11 +00:00
mycroft ad44e79f90 It appears there's a race condition when disabling a channel that causes us to
need to explicitly relatch the interrupt when firing it up again.  So, in the
trigger routines, explicitly disable and reenable the interrupt to relatch it,
like we do in the interrupt routine.

Also clean up some broken loop overrun checks.

My ES1371 seems to be more reliable now, but I'm not going to pretend to fully
understand this chip.
2001-04-24 21:03:33 +00:00
tsutsui e53804bd4b Preliminary support for Acard ATP850/860 UDMA PCI IDE controllers.
XXX Currently disabled by default because it has some problems on macppc.
XXX Maybe some more initialization is needed, but there is few information
XXX about the chips.
2001-04-21 16:36:37 +00:00
tsutsui 8dfe3efca7 space -> tab 2001-04-21 16:10:54 +00:00
tsutsui e815501ea9 Regen from pcidevs rev. 1.318:
> Correct an entry for Acard UDMA IDE controller.
> The chip is actually marked as ATP860-A, not ATP860R.
2001-04-21 13:32:25 +00:00
tsutsui 42f78f411a Correct an entry for Acard UDMA IDE controller.
The chip is actually marked as ATP860-A, not ATP860R.
2001-04-21 13:28:52 +00:00
tacha 109656b0a7 rewrite suspend/resume routine. If you suspend while playing audio,
clcs and clct continue playing when resume.
2001-04-18 01:35:06 +00:00
hubertf c18a98953b Regen for moved Trident CyberBlade entry 2001-04-13 19:01:28 +00:00
hubertf 1384b9cebc Move the Trident CyberClade entry where it belongs. 2001-04-13 19:00:31 +00:00
thorpej c5a6653add Use IPL_NET for now -- the only use of 1394 right now is for network
interfaces (IPv{4,6}-over-1394), and this allows us to get rid of
some evil interrupt mixing issues in the 1394 network code right now.
2001-04-12 21:39:31 +00:00
thorpej 909f3d7efb splimp -> splvm (use IPL_IMP needs to be revisited). 2001-04-12 18:18:31 +00:00
itojun 477b193d09 support T1 card (LMC1200) properly. PR 12331 (patch from openbsd).
change DLT type to cisco HDLC, as lmc driver is hardwired to cisco HDLC
on driver attach.  XXX we may need to revisit this, as if_spppsubr may want
to alter this later.
2001-04-12 07:50:54 +00:00
itojun 321e957c86 regen. 2001-04-12 07:47:16 +00:00
itojun 2ce6b3ba60 change symbol for LMC T1 card. part of PR 12331. 2001-04-12 07:46:00 +00:00
matt bc6820dd0d Regen. 2001-04-12 06:26:49 +00:00
matt ece3db982d Add UltraSparc IIe PCI interface. 2001-04-12 06:26:20 +00:00
jdolecek 372e5956ef Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
martin 93c0294b72 Specify the size of the framing added to packets, so if_sppsubr.c can
calculate correct statistics.
2001-04-09 19:34:40 +00:00
ad a69e2f1310 Regen. 2001-04-09 11:52:27 +00:00
ad e68e07d62c Add Tekram DC-315/DC-395. 2001-04-09 11:51:30 +00:00
minoura 817c994ead Make this compile on alpha with DIAGNOSTIC.
Thanks to atatat.
2001-04-05 12:36:51 +00:00
ad 87fee883e5 - Allocate any private space thats requested.
- Just use mapreg_map().
2001-04-01 15:06:22 +00:00
rh ba614ae877 Fix DPRINTF statements so this compiles with debug enabled. 2001-03-31 10:10:37 +00:00
minoura 5e2f81a0cf Regen. 2001-03-31 09:08:06 +00:00
minoura 27fcb60ea5 Add Cyrix products (MediaGX). 2001-03-31 09:06:45 +00:00
ad 30b7c151f0 AEN 0x000c appears to mean `init started'. From lukem. 2001-03-30 16:48:57 +00:00
minoura 28f83415ad Update TODO list. 2001-03-30 15:53:25 +00:00
minoura 537038859e Yamaha YMF724/740/744/754 (DS-1) PCI audio driver. 2001-03-30 14:32:08 +00:00
petrov ae964a3f9b use NCR_F_DMASELECT instead ncr53c9x_dmaselect 2001-03-29 03:26:52 +00:00
msaitoh bb73804714 add NetBSD RCS id again 2001-03-28 17:22:51 +00:00
msaitoh 2815a110f3 add NetBSD RCS id 2001-03-28 17:08:29 +00:00
jmc 06fc8b2014 Actually fix fwlynx correctly. Got the right filename this time. 2001-03-25 03:48:36 +00:00
briggs 2dbd96c75c There is no need to accept all ARP packets (regardless of destination
address) on the DP83815.  Noted by Shiva Shenoy <shiva@riverstonenet.com>
in private correspondence.
2001-03-24 19:40:51 +00:00
martin 5171d409a5 First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
christos 3319b05361 There was a stray debugging message "OptionMode = %x\n". Prefix it with
the device name, and enable it only in debugging mode.
2001-03-24 02:04:40 +00:00
soren 1d7d1bd0db Regen. 2001-03-21 18:10:34 +00:00
soren 984c03180f Lower-case a few hex digits for easier searching. 2001-03-21 18:10:13 +00:00
hubertf b11582be50 regen for trident cyberclade 2001-03-21 01:10:06 +00:00
hubertf d54969d21f Add Trident CyberBlade as found in Toshiba Satellite Pro 4600 2001-03-21 01:09:36 +00:00
bouyer 66f705d045 Don't set up PDC2xx_SCR the same way for promise Ultra/66 & Ultra/100,
this special setup seems to break some adapters.
Reported by Kazushi Marukawa.
2001-03-20 17:56:46 +00:00
bouyer df43ec1064 Add BUS_DMA_STREAMING for the data bus_dmamap_load(). 2001-03-20 17:54:39 +00:00
ad 056ea0d17a +#include <dev/i2o/iopio.h> 2001-03-20 13:21:00 +00:00
mrg b10a79d548 regen 2001-03-20 00:41:19 +00:00
mrg f921de978d add sun device ids found on sunblade1000 systems. 2001-03-20 00:39:12 +00:00
thorpej 79e48a7370 Regen. 2001-03-17 02:26:48 +00:00
thorpej 4628dbd48d Fixup some Intel Gig-E entries. 2001-03-17 02:26:26 +00:00
ross e10dbcfa2b Sigh.
Revert the revert. Naturally, I considered OpenBSD and FreeBSD when I fixed
the incorrect use of the spl*() interface. The change I made is _required_
for both NetBSD _and_ OpenBSD, or the code won't even COMPILE except on
i386, and it is acceptable on FreeBSD. Your revert and mod rebroke it on
OpenBSD and tangled things up on NetBSD.  It made no difference on FreeBSD.

In particular, there are 2,895 uses of splx() within the FreeBSD kernel,
and only a mere 21, that's "twenty one" uses of intrmask_t, and those are
almost exclusively in the guts of the interrupt implementation, _not_ in
the _use_ of the exported spl*() functions.  It's perfectly OK to `int s
= spltty()' in a portable driver in FreeBSD.

For that matter, FreeBSD (-current at least) does not even *use* spl*()
any more and stubs them all out with inlines that do _nothing_ except return
0, making intrmask_t vs int _even less_ important there than it already
was.

I think it's great that you want to start hacking on the kernel, but do
note that this is certainly the most simple of the kernel interfaces. It
just gets worse from here. Be careful out there!
2001-03-16 19:32:35 +00:00
bouyer d95448cbd3 Ops, forgot to commit this file along with the "variable com freq" support.
Thanks to Bill Sommerfeld for pointing this out.
2001-03-16 16:43:54 +00:00
wiz 038e997989 Restore non-NetBSD parts -- we're still sharing this code. 2001-03-16 15:06:24 +00:00
enami fe99796a13 Make fwohci works on big endian cpu (e.g., powermac g4). 2001-03-15 23:01:33 +00:00
ross 6fafd0bb60 Do critical sections a better way. 2001-03-15 22:49:27 +00:00
enami f0643cdf2a Fix indentation and white space usage. 2001-03-15 22:20:12 +00:00
ross ac906a109d LP64 a kprintf(9) 2001-03-15 21:59:09 +00:00
bouyer 8c5e25e486 1010 has clock quadrupler but without PPL, so use SF_CHIP_DBLR. 2001-03-15 17:41:28 +00:00
drochner 35067a1717 this driver doesn't work on my thinkpad, so disable the match for the
IBM/0x00dd subsystem ID too
2001-03-14 11:38:55 +00:00
mjacob ecdaf852b2 Clean up licence a bit. ANSIfy. 2001-03-14 05:47:56 +00:00
bouyer c7871f80bf Looks like "VSCom PCI-800H" should be in fact "Titan PCI-800H". 2001-03-13 17:23:52 +00:00
bouyer 2f52d98a08 Regen. 2001-03-13 17:22:27 +00:00
bouyer 6bf4720913 Add Titan Electronics Inc vendor ID (from linux) and Titan VS-800H
product.
2001-03-13 17:21:16 +00:00
jmc fcb48d8a3e Fix typo on fwlynx_pci driver. Brett McCoy reported this in. 2001-03-13 07:38:05 +00:00
bouyer 9ea2b5098b Preliminary support for SYM53C1010-33 (at 80MB/s only for now), based on
patches sent by Matthias Drochner <M.Drochner@fz-juelich.de> and
Kenneth R Westerback <kwesterback@home.com>
2001-03-12 10:00:50 +00:00
bouyer 01ca4cb938 Support the Promise Ultra/100 at full speed, and fixes the "bogus intr"
problem some peoples reported for Promise Ultra/100.
Thanks to Chuck Silvers for giving me a Promise Ultra/100 so I could do some
tests.
2001-03-12 09:53:28 +00:00
bouyer 028b15c81a Correct definition of PDC262_U66_EN (from FreeBSD).
Correct values of MW DMA 2, and add values for UDMA5 (from linux).
2001-03-12 09:51:21 +00:00
briggs 8f833ca839 Goes along with rev. 1.25/1.26 of if_sip.c -- forgot to commit. 2001-03-09 16:12:29 +00:00
briggs 75a60f539a More fixes for the DP83815...
- Set the destination address register properly for "perfect match" mode
  in the receive filter setup.
- Do not enable multicast receipt unless we are configured for some multicast.
- Use the "recommended settings" (which set undocumented registers and
  documented-as-reserved fields) for the silicon revision 302h (not 203h,
  as documented in one of the two places in the manual) because the
  documentation is unclear and because those settings fix the card's
  behavior in "perfect match" mode.  Without those settings, the card
  was generating random CRC/invalid symbol errors and generally not
  working unless it was set to be promiscuous.

With these changes, this week's version of the Netgear FA311 works for me.
2001-03-09 16:07:20 +00:00
briggs 77a57bede4 Add a variant hook to read the ethernet MAC address from EEPROM differently
for the SiS 900 and the DP83815.  Also add some configuration suggested by
the DP83815 documentation for one model of the DP83815.
2001-03-09 07:42:24 +00:00
ichiro 69243771db Fix powerhook routine.
support resume/suspend.
2001-03-08 12:54:45 +00:00
thorpej 21a0f1ac65 advlib.c and advmcode.c should be built for all adv, not
just adv_pci.  From takashi.yamamoto@bigfoot.com, kern/12341.
2001-03-08 04:18:17 +00:00
thorpej 6665b106a3 Add BUS_DMA_STREAMING to data transfer map loads. 2001-03-08 02:36:35 +00:00
thorpej fd7ed72be1 Add BUS_DMA_STREAMING to data transfer maps. 2001-03-07 23:07:12 +00:00
matt 21b608bb3b Regen. 2001-03-07 01:44:51 +00:00
matt f5a5af26a2 Add Galileo GT-64260. 2001-03-07 01:42:37 +00:00
matt 5b634b6b3a Add the PCI frontend for the TI LYNX firewire chip. Note that the
backend still needs to be worked on.
2001-03-06 07:38:32 +00:00
matt 37d2bbb0a2 Only include "locators.h" is _KERNEL is defined. 2001-03-05 23:50:02 +00:00
matt 9ebe639d49 Regen 2001-03-05 01:32:53 +00:00
matt a5b4d0e3ee Add Winbond W83C533F functions. 2001-03-05 01:29:26 +00:00
msaitoh 749e1bccc9 add support for NetMos NM9835 Dual UART and 1284 Printer port. 2001-03-04 21:30:24 +00:00
msaitoh 4bbb1a724a regen 2001-03-04 21:28:06 +00:00
msaitoh 6d2a2f23b9 Add an entry for NetMos 2001-03-04 21:26:44 +00:00
ad fc04a38b9a Don't choke when we get lots of AENs all at once. 2001-03-04 17:50:51 +00:00
kim 335ac388ca Help messages appear each on their own line when
discovering additional ports on a multi-port card.
2001-03-04 00:01:06 +00:00
mjl 7e6f124451 Correct wrong error return in mmap fn. 2001-03-03 00:08:05 +00:00
thorpej 80436e480c Regen -- Add Mylex AcceleRAID and eXtremeRAID product and subsystem IDs. 2001-03-02 17:32:59 +00:00
thorpej e7ad0a9187 Add Mylex AcceleRAID and eXtremeRAID product and sybsystem IDs. 2001-03-02 17:32:01 +00:00
thorpej 848541a63e In the self-describing bogus code block, at least use plausible
subclass IDs.
2001-03-02 06:56:11 +00:00
thorpej af864c36fe Regen; added Xircom WinGlobal modem product ID. 2001-03-02 06:53:54 +00:00
thorpej 7ec4113ee0 Add product ID for Xircom WinGlobal modem. 2001-03-02 06:51:07 +00:00
mrg 11524b8374 allow pci_bus_maxdevs() to be replaced with pci_bus_devorder() and
pci_dev_funcorder() that have the following signatures:

int pci_bus_devorder(pci_chipset_tag_t pc, int bus, char list[32]);
int pci_dev_funcorder(pci_chipset_tag_t pc, int bus, int device, char list[8]);

they control the order of PCI bus probe at the device and function level,
by filling in a value from 0 to 31 for pci_bus_devorder() or 0 to 7 for
pci_dev_funcorder, with a value of -1 to signify no more entries.


when device properties arrive, these will be replaced with some facility
based on properties (design/implementation unknown currently.)
2001-03-02 06:24:17 +00:00
mjl 01cd332ad1 Fix typo to make this compile even w/ debug defines. 2001-03-01 22:53:13 +00:00
ad 811e2b490b Wait 10x longer for status bits. 2001-02-25 17:46:42 +00:00
lukem 3aeb5f2f29 whitespace police 2001-02-24 01:59:46 +00:00
cgd 023e9f0649 C requires that labels be followed by statements. 2001-02-24 00:01:22 +00:00
enami 79d20d7c7a - Initialize auto variable (win[{0,1}].win_flags).
- If PCCBB_MEM_CACHABLE isn't set, clear CB_BCR_PREFETCH_MEMWIN[01].
2001-02-22 10:39:31 +00:00
jdolecek 522f569810 make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
minoura a7d1fe9920 Correct the 1st argument for pci_conf_{read,write}.
On non-i386 platforms the previous revision could not be compiled.
Pointed out by mjl.
2001-02-21 00:32:31 +00:00
martin f0d6660cf4 Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.
Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c
2001-02-20 22:24:31 +00:00
minoura 3b418f4eec Re-initialize more registers after resuming from suspend.
Some APM BIOSes do not restore them.
Reviewd by haya.
2001-02-20 15:16:38 +00:00
fvdl 44467271c4 Switch line in mute off by default. 2001-02-19 21:14:49 +00:00
mjacob 7c3d7f0df5 Make it compile (for alpha). The porting author might want to look
at this more closely than I have.
2001-02-18 21:02:54 +00:00
bouyer d32a56145d ALi controller: can only do UltraDMA for revs >= 0x20.
From OpenBSD.
2001-02-18 18:07:53 +00:00
bouyer 265f72bab6 Add support for INTEL 82801BAM IDE controller, from OpenBSD. 2001-02-18 17:58:59 +00:00
bouyer ecc7103aa9 Regen. 2001-02-18 17:54:50 +00:00
bouyer a14f4f6d84 Add Intel 82801BAM IDE controller, found in laptops. From OpenBSD 2001-02-18 17:54:18 +00:00
martin 63d4175528 Filename cleanup police (per discussion with Soren S. Jorvang):
remove all (legacy) "i4b_" prefixes outside of sys/netisdn.
Prefix all card specific driver support files with the basename
of the driver bus attachement file.

Renamed here:
pci_isic.h -> isic_pci.h
pci_isic.c -> isic_pci.c
i4b_avm_fritz_pci.c -> isic_pci_avm_fritz_pci.c
i4b_elsa_qs1p.c -> isic_pci_elsa_qs1p.c
2001-02-18 09:37:19 +00:00
matt 088a73301e regen 2001-02-18 05:59:23 +00:00
matt d63e0d8c75 Add Symbios FC909 2001-02-18 05:58:41 +00:00
christos 6e65af2882 make this compile again. 2001-02-14 21:10:20 +00:00
christos e0ddf88b0a PR/12204: Andreas Wrede: Add support for Lava 8-port serial card. 2001-02-14 15:07:28 +00:00
tacha 08cc996106 Check and set PCI power management register. clcs now works when
warm boot from Windows.
2001-02-13 04:11:11 +00:00
ichiro 357d9efda4 Power Management Hook
esm_powerhook();
2001-02-12 23:56:40 +00:00
mjacob 055ac54fd2 set default HBA role 2001-02-12 23:25:20 +00:00
thorpej 043e519d55 Adjust the way that media is initialized on DP8390-compatible
chips.  The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
tshiozak faec1fc4fc some improvement for cmpci; SPDIF supports, etc. 2001-02-12 18:47:12 +00:00
tshiozak 17c5f7060a add CMI8738B. 2001-02-12 14:45:04 +00:00
mrg 6ee70851f1 backout the parts of the previous change (7 months ago) that were *not* part
of the sys/vm removal, but some (fortunately disabled) work-in-progress.
2001-02-12 09:14:53 +00:00
briggs 433553dc94 Deal with a lack of the proper type of memory. For example, if a bridge
only supports 16-bit I/O addresses, do not configure it with addresses
having the upper 16-bits non-zero.
2001-02-12 06:24:24 +00:00
nathanw 65321bff54 Make tga_rop_vtov deal with copies of <256 byte granularity, necessary
for proper console text handling (especially in-line insertion) on
8-bit displays.

From Christian Groessler <cpg@aladdin.de>.
Tested on 32-bit TGA by me.
2001-02-11 19:34:58 +00:00
ad b0eba3a40d Match an upcoming product. 2001-02-11 15:37:13 +00:00
ad 65f7a36374 Regen. 2001-02-11 15:33:53 +00:00
ad 853ce24872 Add another 3ware product. 2001-02-11 15:33:25 +00:00
briggs c6daae9b79 Add an option (defopt) PCI_NETBSD_CONFIGURE that provides PCI bus
configuration (assignment of bus numbers, BARs, timer values,
interrupt lines, etc.).
The interface must be called from m.d. code prior to probing the bus.
It is meant to be called once for each primary (bus == 0) PCI bus in
the system.  It will configure any busses behind PCI-PCI bridges.
Section 9 man page for pci_configure_bus() will come soon.
In the meantime, sample usage is in arch/sandpoint/sandpoint/mainbus.c.
[ Reviewed by thorpej ]
2001-02-09 14:33:15 +00:00
haya d413da0c4a BUG FIX: calculate address line mask in pccbb_pcmcia_io_alloc() when
start address is not set.
2001-02-09 10:41:50 +00:00
tacha d95cfe7d68 Split out common code to cs428x.c and cosmetic change to introduce
higher symmetry between cs4280.c and cs4281.c.

Also fix the problem rebooting from Windows. Relevant patch is contributed
from Shingo WATANABE <nabe@nabechan.org>.
2001-02-07 14:41:10 +00:00
thorpej d1a5dabcc9 Gack, fix a stupid bug in the DP83815 multicast setup code. 2001-02-06 02:49:12 +00:00
briggs 788797428a Regen. 2001-02-04 18:16:42 +00:00
briggs a5d1d7e79f Add the MPC8240 (Kahlua) Host Bridge 2001-02-04 18:16:20 +00:00
ad 8d75ab98d3 Add a driver for the Mylex DAC960 family (including DEC SWXCR). 2001-02-04 17:05:11 +00:00
hubertf 295df3b3d7 Regen: Add M5243 PCI-AGP Bridge
Fixes PR 11466 by Jared D. McNeill <jmcneill@invisible.yi.org>
2001-02-02 03:56:20 +00:00
hubertf 4421d6f784 Add M5243 PCI-AGP Bridge
Fixes PR 11466 by Jared D. McNeill <jmcneill@invisible.yi.org>
2001-02-02 03:51:52 +00:00
thorpej 56d0d6ce83 Match the SEGA Dreamcast Broadband Adapter, and use PCI memory
space on that device (XXX should be done differently than it is).
2001-01-31 07:44:04 +00:00
thorpej 615bf08f21 Regen; add SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:58 +00:00
thorpej 98182357a2 Add the SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:32 +00:00
itohy 5ce651390d Fix problem where tsleep() is used not on the cardbus thread.
This change makes PCMCIA cards work again on my machine.

Unfortunately, some of the DELAY_MS() are called when the current
process is not the cardbus thread, that is, on interrupt contexts.
I confirmed these are actually used in interrupt context and replaced
them with delay()s.  However, I haven't confirmed other DELAY_MS()s
are always on the cardbus thread.

This shall be a temporary fix.  The driver needs being rewritten
not to use such delay()s, of course.
2001-01-30 07:23:14 +00:00
tsutsui 013511e442 Use ether_crc32_be() for multicast hash calculation. 2001-01-29 12:04:10 +00:00
enami 2c218a4926 Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address.   And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
augustss 532934d5f1 ANSIfy. 2001-01-27 18:53:33 +00:00
augustss d13e6a84f2 Sleep a little when closing the midi device to allow the UART to drain. 2001-01-27 18:37:01 +00:00
ad 01c89cec5c No need to submit before poll any more. 2001-01-26 19:53:15 +00:00
rh 6939097e75 Add left/right reversal quirk entry for Toshiba Protege 7020 2001-01-26 10:04:43 +00:00
rh 30dcc3b36e regen 2001-01-26 10:04:12 +00:00
rh 2f324bf9a0 Add Toshiba Protege product code 2001-01-26 10:03:47 +00:00
rh 8ec736c069 Add quirk for Compaq Armada M700 to fix left/right channel reversal.
Quirk entry provided by Joachim Koenig-Baltes <koenig@cms.tecmath.com>
2001-01-26 09:22:18 +00:00
rh 095bcc2e62 regen 2001-01-26 08:04:40 +00:00
rh f6dbeb0440 Add product code for the Compaq Armada M700 Notebook 2001-01-26 08:02:46 +00:00
haya c54894efe9 IMPROVEMENT: use tsleep() instead of delay(). Kernel do not stop
during card insertion, deletion and power change.
2001-01-24 10:10:04 +00:00
ad 7bb669ca3e Fix up license. 2001-01-23 20:51:01 +00:00
ad c5fe587d24 Oops, be sure to clear the ATTN interrupt on error. 2001-01-23 20:47:02 +00:00
ad e055513a28 Nuke useless argument to ld_twe_dobio(). 2001-01-22 21:56:11 +00:00
ad 7575649e53 Minor optimisation. 2001-01-22 17:44:28 +00:00
ad 03463e18f1 opt_twe.h isn't needed any more. 2001-01-22 17:40:14 +00:00
ad 8771c04bd1 Don't artificially clamp the maximum number of outstanding commands. 2001-01-22 17:38:23 +00:00
ad 9c7e523b64 - Complain if interrupt-driven retrieval of AENs fails somehow.
- Clamp the number of outstanding commands to 129.
- Other tweaks.
2001-01-22 17:32:11 +00:00
jdolecek 29d563fd5b regen: US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry added 2001-01-22 14:18:42 +00:00
jdolecek 0f1dba40c7 add US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry
I wish I'd been less foolish and not bought this device ...
2001-01-22 14:15:24 +00:00
mjl 5d9e997522 Regen for stallion. 2001-01-22 13:58:37 +00:00
mjl c77d1a22c4 Add stallion products. 2001-01-22 13:57:54 +00:00
augustss 972d156775 Clean up a little. 2001-01-22 01:44:56 +00:00
augustss 45116f2c38 Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.
2001-01-22 01:34:42 +00:00
augustss 22a541e778 Add a comment. 2001-01-22 01:13:47 +00:00
thorpej 3aef368a04 Use device_lookup() in cztty_getttysoftc(). 2001-01-20 19:10:36 +00:00
thorpej ddbaea62cb Garbage-collect some unused macros. 2001-01-20 19:08:24 +00:00
thorpej 6549452c38 Don't deref NULL when searching for the correct board. 2001-01-20 04:19:21 +00:00
thorpej c38c39fc9b Only need to pass a cy_softc * to cy_attach(). 2001-01-20 02:26:39 +00:00
thorpej a0f7017e2e Clean up the PCI attachment a bit, and adjust the other pieces
to suit.
2001-01-20 02:15:01 +00:00
martin 0f589a40df Nuke all uses of splimp() in the isdn subsystem, replace by splnet(). 2001-01-19 12:44:44 +00:00
jdolecek 34c8ae80da constify 2001-01-18 20:28:15 +00:00
tv e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
jdolecek 62fde088a1 adapt to pci_knowndevs[] being const, make local constant arrays const 2001-01-18 13:12:13 +00:00
jdolecek 4ad663531b regen: make pci_knowndevs[] const 2001-01-18 13:11:22 +00:00
jdolecek 771d1f2f35 make pci_knowndevs[] const 2001-01-18 13:03:22 +00:00
thorpej aa204493b9 Regen; Intel Gigabit Ethernet update. 2001-01-17 20:56:47 +00:00
thorpej 29002abf43 Update the Intel Gigabit Ethernet entries. 2001-01-17 20:55:47 +00:00
haya 193fd06950 Fix comment. 2001-01-17 08:37:09 +00:00
thorpej 058f408c59 Regen. 2001-01-15 23:29:28 +00:00
thorpej a1df526434 Add the 66MHz version of the Symbios 53c1010. 2001-01-15 23:29:04 +00:00
perry 674a20f8fb powerhook fixes, from thorpej, tested by me. Thinkpad T20 sound now perfect. 2001-01-15 23:25:39 +00:00
perry 3bb7b7df87 Fixes from OpenBSD via chopps. Audio now works on my Thinkpad T20
provided I don't suspend the thing...
2001-01-15 22:28:20 +00:00
thorpej 4d81dcf9c1 splimp() -> splvm() 2001-01-14 21:28:16 +00:00
thorpej 372338915a Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:37:41 +00:00
bouyer bc9dd935cf Fix bug which affects pciide controllers in native mode (found by
Paul Kranenburg, many thanks !): the control register I/O is 4 byte long
although only one is used, but the control register is at offset 2, and not
0 as expected by IC code. Use bus_space_subregion() to get a handle which
points to the control register, and is one byte long.
2001-01-12 16:03:59 +00:00
itojun 12a14b346e match T1 card. from freebsd driver, it should just work.
i'll test it as soon as i get the card handy.
2001-01-12 05:19:18 +00:00
itojun 78fdca968e regen 2001-01-12 05:14:36 +00:00
itojun c1285a8caf add product ID for LMC T1 card. from freebsd. 2001-01-12 05:13:47 +00:00
martin e94e4a6d47 Move interrupt mapping before initialization of the card (which might
cause interrupts). This works around a problem on sparc64, where
interrupts without installed handler seem to cause heavy lossage (and
interrupts are already enabled at this stage of autoconfiguration).
2001-01-11 22:46:40 +00:00
martin 8c2f65891f Prefer memory mapping over io mapping for this card too,
although it doesn't have a chance to work on a no-io system because
of an io based BAR lacking a mem counterpart.
2001-01-10 21:41:36 +00:00
martin a42939d604 Make the driver try mapping memory first, the try io. 2001-01-10 20:31:49 +00:00
ad 6b133efd3e Make this work with the SA 431 and 42xx series controllers. 2001-01-10 16:48:04 +00:00
thorpej 3ba997a164 Add the 53c1510d and 53c895a. 1510d confirmed working by
Mark Davies <mark@MCS.VUW.AC.NZ>.
2001-01-10 15:50:20 +00:00
rh 3d5c5173f5 Add a quirk table for specific implementations.
Change the NEC-specific subvendor test for GPIO initialization into a more
generic quirk table flag.
Add a quirk flag for hardware that has left and right channels reversed
(currently the COMPAL 38W2 a.k.a. Dell Inspiron 5000e)
Clean up PCM channel initialization and add channel swapping option.
2001-01-09 23:27:07 +00:00
rh 6ec1759deb regen 2001-01-09 23:20:22 +00:00
rh ca3478d0e2 Add COMPAL vendor and COMPAL 38W2 product (OEM for Dell Inspiron 5000e) 2001-01-09 23:19:03 +00:00
thorpej d11cfe3c79 Regen; added Symbios 53c1510D. 2001-01-09 23:16:18 +00:00
thorpej ff00b6c009 Add Symbios 53c1510D. 2001-01-09 23:15:39 +00:00
martin ba45ad64d3 Ifdef some routines only needed for ELSA Quickstep cards when compiling
without support for those.
2001-01-09 21:26:30 +00:00
lukem 0ed2fcf9fb *minor* knf 2001-01-09 06:36:13 +00:00
thorpej d101f6f462 Add Accton EN2242 10/100 MiniPCI Ethernet. 2001-01-08 21:50:47 +00:00
thorpej 2482ba1fab Regen; added Accton EN2242. 2001-01-08 21:47:38 +00:00
thorpej 3628087824 Add product ID for the Accton EN2242 10/100 Ethernet (an ADMtek AN985). 2001-01-08 21:47:10 +00:00
thorpej 666e82a4e9 Use the AN985 media switch on the AN985. 2001-01-08 21:45:42 +00:00
thorpej f9c77ef635 Only build "esm" if it's included in the kernel config file. 2001-01-08 21:16:26 +00:00
thorpej 2b00271327 Regen; added DEC SWXCR RAID. 2001-01-08 20:08:17 +00:00
thorpej 18b051656b Add product ID for DEC SWXCR RAID (a Mylex v5 controller). 2001-01-08 20:07:21 +00:00
rh a3aa8d5abc Add esm audio driver. 2001-01-08 19:55:51 +00:00
rh ca3b496216 Initial import of the Maestro 2/2e 'esm' PCI audio driver. This driver
is based on the FreeBSD 'maestro' driver by Taku YAMAMOTO
<taku@cent.saitama-u.ac.jp>
2001-01-08 19:54:31 +00:00
rh 21ea7bd559 regen 2001-01-08 09:53:08 +00:00
rh 48276d65d9 Add IDs for the NEC Versa LX and Versa Pro LX 2001-01-08 09:52:22 +00:00
bouyer 69153b6b36 Run at Ultra/66 on VIA controllers that can do it. PCI vendor/device/revision
is the same for the Ultra/33 and Ultra/66 version, so test writability of
the U66 enable bit (idea from Chris Cappuccio).
Thanks to David Carrel for testings.
2001-01-05 18:04:42 +00:00
bouyer cbf42ca2d1 Ops, make it compile again. 2001-01-05 15:34:05 +00:00
bouyer 5c800a0dab Add support for Ultra/100 on intel ICH2; from Tomokazu HARADA in kern/11747. 2001-01-05 15:29:39 +00:00
bouyer 2a63f0a46c Add support for Ultra/100 on the HPT370
XXX the datasheet for the HPT370 is wrong
While I'm there clear the DRIVE_DMA flag when we're going to use Ultra/DMA
where it was missed, so that wdc_print_modes() only prints what's used.
2001-01-05 15:20:53 +00:00
martin 242656c78a Enable the imported ISDN4BSD based ISDN subsystem.
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin c3cb638bca Initial import of ISDN4BSD release 0.96 2001-01-05 12:49:52 +00:00
augustss 49f333783f Don't make local defines for stuff that's already in ac97reg.h. 2001-01-05 03:33:39 +00:00
bouyer 4dc117d433 Ops, add COM_FREQ to a few PUC_PORT_TYPE_COM I missed.
Thanks to Bernd Ernesti for pointing this out.
2001-01-04 11:34:27 +00:00
veego 3e63d458f0 Use COM_FREQ for COM part of the last commited entry.
Why are there other drivers here which have PUC_PORT_TYPE_COM but don't
use COM_FREQ or even don't have the extra field?
2001-01-04 08:49:31 +00:00
veego 17718db1b9 Add support for boards with an Oxford Semiconductor chip.
This one was an I/O Flex PCI I/O Card Model-223 with 4 serial and
1 parallel ports.
XXX We need to move the PCI IDs to pcidevs.
2001-01-04 08:43:21 +00:00
mycroft 29ecdf4b0c Regen. 2001-01-03 23:15:14 +00:00
mycroft cbfa3ad17d Add Chrysalis-ITS LunaVPN card. 2001-01-03 23:14:39 +00:00
bouyer 286f4f934f Add a 'flag' member to struct puc_attach_args and struct port. For
PUC_PORT_TYPE_COM, use it to store the clock frequency (with 8 lower bits
to 0, used for real flags if needed).
Update all descriptions to set flags to 0 for LPT or COM_FREQ for COM.
Add support for the VScom PCI-800H 8 port serial adapter (which uses
a 14.7456 Mhz crystal instead of the standart 1.8432Mhz :)
XXX now that we can pass other frequency than COM_FREQ, the VScom PCI-800
entry could probably be updated to DTRT - does anyone have one ?
2001-01-03 15:13:15 +00:00
ad 196d40d973 Regen. 2000-12-31 14:04:26 +00:00
ad fb04e415dd Fix Mylex products. 2000-12-31 14:03:24 +00:00
wiz 1a40e855c8 Undo pci_intr_map change in non-NetBSD part of the file. 2000-12-30 17:02:53 +00:00
wiz 2ad3fd958d Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
mjacob c6b9ad5aeb Use bootverbose to now set whether or not we add
ISP_LOGCONFIG and ISP_LOGINFO messages into the
default logging mask.
2000-12-30 08:49:11 +00:00
eeh 804add680f Regen. 2000-12-30 04:39:03 +00:00
eeh 6cfa6f67c1 Fix typo. 2000-12-30 04:38:02 +00:00
eeh 44f785d4cd Add Sun psycho bus controller. 2000-12-30 04:34:51 +00:00
augustss 2c65dfb9b5 Be less talkative in attach. 2000-12-30 00:37:24 +00:00
tsutsui b1cf284bd6 s/AP0_UDMA_MASK/APO_UDMA_MASK/ 2000-12-29 18:59:01 +00:00
eeh 60edf7be2c Add a bus type for psycho controllers. 2000-12-29 17:15:04 +00:00
sommerfeld 851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
mjacob 3823efc25a Apply Bill Sommerfeld's -Wformat changes. 2000-12-28 22:23:41 +00:00
tsutsui 59fcebab05 Regen. (Fix Acard UDMA IDE) 2000-12-27 15:36:42 +00:00
tsutsui 72347b9f8b Fix entries of Acard UDMA IDE controllers. 2000-12-27 15:32:33 +00:00
augustss bd1b9290e5 Regen. 2000-12-27 04:16:19 +00:00
augustss 96a684549d Add a VIA chipset and Nvidia GeForce2 MX. 2000-12-27 04:15:53 +00:00
augustss 19c0d40186 Even stubs need improvements. 2000-12-24 06:42:34 +00:00
augustss 63fbac9a7d Add some placeholders for the EHCI (USB 2) driver.
Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.
2000-12-24 06:39:01 +00:00
tsutsui aa223e5bce Regen. (Adding Acard UDMA IDE controllers) 2000-12-23 10:13:20 +00:00
tsutsui cf4a7f824c Add Acard UDMA IDE controllers. 2000-12-23 10:11:55 +00:00
wiz c8b0b91e7e Fix pathnames in comment. 2000-12-23 01:37:57 +00:00
mycroft e2ef1b88bb Disable the 16-bit I/O space hack for ALL PROMISE CONTROLLERS.
This code is TOTALLY BROKEN and causes a NULL POINTER DEREFERENCE whenever it
is fired.
2000-12-21 01:19:24 +00:00
thorpej ba4b6847df Fix a problem with the ALTQ changes that can cause bogus memory
refernces.  Problem reported by Luke Mewburn.
2000-12-19 00:06:01 +00:00
thorpej f41028779b Add back the code that clears "odd" in VCHR. This shouldn't be
necessary, but we haven't made X cope with the wierd size yet.
2000-12-17 22:23:12 +00:00
pk 4bcb826e27 Cast a `bus_addr_t' argument to `u_long' for `%lx' format (XXX..) 2000-12-17 21:50:14 +00:00
thorpej 1646284c95 ALTQ'ify. 2000-12-14 06:42:57 +00:00
onoe a7125e435c Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
2000-12-14 04:11:25 +00:00
onoe 3bfa857782 regen 2000-12-14 04:06:05 +00:00
onoe 32b5d5c3bb add Aironet 4500/4800 2000-12-14 04:05:38 +00:00
enami b31ace33b7 Add RCS Id. 2000-12-13 11:30:14 +00:00
thorpej c5293456da Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +00:00
jdolecek 48f421c3fa do not try to get/set sample rate on codecs which don't support variable
rate audio - always report/use fixed rate of 44100 for them, so that the
other audio code DTRT
2000-12-10 15:43:02 +00:00
mjacob af2807f9f7 Finally fix this driver to be sensible about the ENDIAN dance. It's not
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.

At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
2000-12-09 08:06:31 +00:00
imp c6e883d603 Change $Id: to $NetBSD$ 2000-12-09 06:54:27 +00:00
mycroft 1ac1248e45 Turn off the damned TI `VCC protection' bit. 2000-12-08 21:51:02 +00:00
haya 2b0374c5d9 WORKAROUND: CardBus bridge avoids turning off the power of channel in
shutdown hook when the bridge chip is TI113X.  Because PowerBook 2400
hangs here.
2000-12-08 10:24:14 +00:00
abs 25808cb569 Wrap call to mpu_intr in NMPU - nowbuildswithout 'mpu at fms' in config 2000-12-07 14:12:30 +00:00
mjacob 3741d38c44 Correct omission by the previous committer. 2000-12-06 06:33:56 +00:00
drochner 0d60fd2773 regen 2000-12-05 18:11:02 +00:00
drochner ae62042f01 add some chips I met in the last weeks 2000-12-05 18:10:19 +00:00
fvdl 56fd0b02d5 Avoid format warnings. 2000-12-04 20:25:40 +00:00
ad 1e6732dca4 - Force the memory mapping uncacheable.
- We don't need a record of the I/O space mapping.
2000-12-03 13:05:14 +00:00
thorpej ec15125b5b Don't restrict I/O space to 16-bits on the Promise Ultra/33 boards.
Empirical evidence suggests that the board works just fine with
an I/O address >= 0x10000.
2000-11-30 18:11:40 +00:00
thorpej 14f5ab8928 ANSI'ify. 2000-11-29 18:22:17 +00:00
matt 435b4c7b35 Fix c896 support. If the first mem bar is 64bit, then the second one will
be too.  And offset for the 2nd being after the 1st by a 64-bit bar, not
32-bit.
2000-11-29 02:00:38 +00:00
thorpej 454f740bd4 Use AC97_REG_* constants rather than defining them ourselves. 2000-11-28 16:57:16 +00:00
haya 92f11ef3d3 BUG FIX: change enable sequence for 16-bit pcmcia cards. This change
provides better (not perfect) reset sequence.  The most significant
change is asserting output enable reg before power up.  Stop routing
interrupt during reset.
2000-11-28 09:11:36 +00:00
thorpej 443bd6369f Device driver for the built-in audio on Intel ICH, ICH0, ICH2,
and i440MX chipsets.  Based on a driver by Michael Shalayeff,
modified somewhat by me to use bus_dma properly, and fix some
audio encoding emulation bugs.

Thanks to Manuel Bouyer for testing and feedback.
2000-11-28 05:12:29 +00:00
haya 02aaf95f67 BUG FIX: pccbb turns off PC Cards' power on the bus in shutdown hook.
Some machines cannot reboot without this fix.
2000-11-27 09:04:32 +00:00
thorpej 25491e6a22 Power management (well, suspend/resume) is now implemented. Remove
it from the TODO list.
2000-11-27 02:37:14 +00:00
sommerfeld 248928c7cf Add a powerhook to reload AC97 registers after a resume.
Sound now works after suspend/resume on my Sony PCG-Z505S
2000-11-27 01:56:53 +00:00
ad 57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
takemura 3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
christos 12269bd46c Don't try to use ultra-dma on sis chips with revision 0xd0. It loses
immediately with a lost interrupt on udma mode 2, downgrades to mode 1
at which point it silently corrupts data on high disk activity. This
happens on two out of 3 machines I own that exhibit high disk activity.
2000-11-26 04:59:18 +00:00
chs fa19fe52db adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.
2000-11-24 03:59:07 +00:00
soren e38c89a886 s/iRDA/IrDA/ 2000-11-21 00:20:30 +00:00
onoe 4e1e677996 regen.
CXD32222 -> CXD3222 (Sony OHCI Controller)
2000-11-20 06:23:13 +00:00
onoe e51b1f604e CXD32222 -> CXD3222 (Sony OHCI Controller) 2000-11-20 06:22:13 +00:00
bouyer d81861796a Add support for Intel ICH2 2000-11-19 15:32:24 +00:00
thorpej 0aea00f57c Regen. 2000-11-18 05:29:27 +00:00
thorpej cec0022eeb Add some 3D Labs products, from XFree86, via groo@netbsd.org 2000-11-18 05:29:00 +00:00
bouyer 1e533cd38c Pull up FreeBSD changes:
1.39:
Have if_ti stop "hiding" the softc pointer in the buffer region. Rather,
use the available void * passed to the free routine and pass the softc
pointer through there.
1.33:
Add support for the Netgear GA620T copper gigabit card.
1.32:
Tweak probe message so that 1000baseSX and 1000baseT cards are
explicitly identified.
1.31:
Update the Tigon driver to support 1000baseTX gigE over copper AceNIC
cards. This basically involves switching to the 12.4.13 firmware, plus
a couple of minor tweaks to the driver.

NetBSD changes:
get rid of ti_inuse, the mbuf ref counting code should call ti_free() when
needed.
Use hardware 802.1q support.
2000-11-17 19:33:25 +00:00
bouyer 54e36dbaa6 Update to firmware 12.4.13+wpaul, from FreeBSD 2000-11-17 19:23:35 +00:00
jdolecek 4046a1bd78 if AC97_CODEC_DOES_VRA is not supported, only print warning than
hw Variable Rate Audio is not supported and continue attaching the driver.
This is I believe more correct than what was done in rev 1.5
2000-11-15 21:06:33 +00:00
thorpej b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
matt c0122f4013 Add fwlynx PCI attachment 2000-11-14 23:40:44 +00:00
itojun 99fac6ed3e need uvm/uvm_extern.h for PAGE_SIZE 2000-11-14 19:44:34 +00:00
thorpej cfe0892ed3 NBPG -> PAGE_SIZE 2000-11-14 18:42:55 +00:00
bouyer 34a57dc139 Regen. 2000-11-14 16:20:55 +00:00
bouyer 41e8f20175 Add Alteon and netgear 1000baseT variants of the gigabit ethernet adapter.
From FreeBSD
2000-11-14 16:20:20 +00:00
bouyer 089961e7c5 - use jumbo rx if mtu is too big to fit in one mbuf, not when larger than
ETHERMTU.
- add support for ETHERCAP_VLAN_MTU.
2000-11-12 18:32:43 +00:00
ad c8c52e320a Match controllers hiding behind a Symbios 53c1510; thanks to Jonathan Lemon
<jlemon@flugsvamp.com> for providing clarification.
2000-11-09 18:19:40 +00:00
ad 5854b30016 Add glue for iop. 2000-11-08 19:46:27 +00:00
ad d49fd13524 Add support for I2O adapters and SCSI/FC-AL/BSA class devices. This needs
more testing with different configurations, and work in a number of areas
(which I'm not able to do for a little while), but is at least functional
and stable on i386 with DPT adapters.
2000-11-08 19:45:30 +00:00
ad 891c4efd74 - Pull in some updates from FreeBSD - mainly clarifications. Thanks to
Mike Smith <msmith@freebsd.org> for pointing these out.
- Ensure that we get AENs: reserve one CCB/command block for parameter
  retrieval, and chain AEN retrievals that are the result of an interrupt.
2000-11-08 19:23:50 +00:00
ad 142ab5b1ec Move lsu stuff to more logical locations, and push queueing into the lsu
driver.
2000-11-08 19:20:33 +00:00
matt d0c3ebd9d8 Make the test for dmareg >= 0x10000 quirked on IDE_16BIT_IOSPACE 2000-11-08 18:22:27 +00:00
wrstuden 88cbfbe36d Move guts of pciide_print_modes() to wdc_print_modes() so that non-pciide
wdc drivers (like macppc's obio IDE interface) can use it. Also add
support to both wd attach line and to wdc_print_modes() to print
Ultra/{33,66,100} for respective UDMA modes (From Manuel Bouyer).
2000-11-08 17:57:36 +00:00
matt f0bd09f42d Merge in my some of my stuff. 2000-11-05 22:35:56 +00:00
matt 43ff857e29 Don't allow use of mapreg is they are at or above 0x10000 in I/O space. (in
other words, if the address uses bits in the top 16 bits, don't use it).
2000-11-05 21:14:59 +00:00
onoe e83458422f First Prototype implementation of network interface part for IEEE1394 (if_fw).
Current status:
	Only OHCI chip is supported (fwohci).
	ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
	sometimes works but not stable.
Not implemented yet:
	IRM (Isochronous Resource Manager) functionality.
	Link layer fragmentation.
	Topology map.
More to do:
	clean ups
	MCAP
	charactor device part
	dhcp

There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej 1363813e0d Two things off the TODO list. 2000-11-05 16:44:08 +00:00
thorpej cde4f7415c Add mmap support (i386-specific for the moment). 2000-11-05 16:24:45 +00:00
thorpej 5a8a59d459 Weed out the Dell and HP versions which are known to work in
WSS emulation mode (i.e. won't work in AC'97 mode).
2000-11-05 16:13:17 +00:00
thorpej 70b3814a53 Add NeoMagic 256 audio. 2000-11-05 06:46:03 +00:00
thorpej f945fc008d Driver for NeoMagic 256 audio. Based on the OpenBSD driver, which is
in turn based on the FreeBSD driver, ported to NetBSD and somewhat
modified by me.  Thanks to Matt Thomas for testing.
2000-11-05 06:43:45 +00:00
thorpej 8e0eb1dc12 viaenv carries the sysmon_envsys attribute. 2000-11-05 04:06:53 +00:00
thorpej f3c38af11b Regen. 2000-11-04 16:43:14 +00:00
thorpej 601bcf9813 Add a couple NeoMagic products. From OpenBSD. 2000-11-04 16:41:57 +00:00
ad 96d994ecae regen. 2000-11-03 16:31:51 +00:00
ad 10885fbd47 Oops 2000-11-03 16:31:01 +00:00
ad 62d4f894dc Regen. 2000-11-03 15:57:33 +00:00
ad 3789452cb3 Pequr Technology is now called ServerWorks. 2000-11-03 15:54:02 +00:00
eeh 507aaec04c Adapt to the new line discipline scheme. 2000-11-02 00:01:44 +00:00
wiz 55b8e84db5 Delete more files before import. 2000-10-28 14:51:08 +00:00
wiz d91eb6a0c3 Replace remaining vm_offset_t's in NetBSD code by vaddr_t; remove now
unnecessary casts added by thorpej in 1.11 of bktr_core.c. Strike one
from the TODO list.
2000-10-28 14:50:27 +00:00
wiz 134608261c Merge 2.17 changes to trunk. 2000-10-28 14:31:57 +00:00
wiz 9732164f76 Import release 2.17 of the bktr driver.
Changes: Integration of some NetBSD changes. (FreeBSD version now is also
usable as a KLD (~= LKM).)
2000-10-28 14:17:40 +00:00
tsutsui d214b09b47 Increase initial Tx drain threshold to 512 bytes.
My macppc complains about transmit FIFO underrun every time.
2000-10-28 08:36:57 +00:00
thorpej 4295299769 Regen. 2000-10-27 22:43:44 +00:00
thorpej 86342bb610 Add a bunch of Intel PCI chipsets. From OpenBSD. 2000-10-27 22:43:28 +00:00
thorpej 1b15310aaa Regen. 2000-10-27 17:37:02 +00:00
thorpej 24cba36ced Add a bunch of Pequr (ServerWorks) products. From OpenBSD. 2000-10-27 17:36:44 +00:00
ad 528e314143 Work around a fatal firmware bug on some boards. From msmith@freebsd.org. 2000-10-26 14:43:50 +00:00
haya b44679b7ec Bugfix: reset 16-bit pcmcia in chip initialisation sequence. 2000-10-25 09:15:58 +00:00
bouyer cce4838c1f Add ram size to struct properties, and pass it to the bus independant part. 2000-10-23 14:57:23 +00:00
ad 833dea96d1 - tsleep()/wakeup_one() will hurt when under load, so use a queue instead.
- Don't copy to or from the aligned buffer unless there's a need to.
2000-10-20 15:14:25 +00:00
ad 16a062538b Nuke unused includes, sort decls. 2000-10-19 15:31:20 +00:00
ad e9b69699e0 Hook in twe. 2000-10-19 14:24:44 +00:00
ad 9813a10184 Driver for the 3ware Escalade family of RAID controllers. 2000-10-19 14:11:30 +00:00
thorpej 5247e9db0b Regen. 2000-10-19 05:52:15 +00:00
thorpej 24477b4281 Add the ICS Advent PCI-WDT500/501 watchdog timer boards. 2000-10-19 05:51:34 +00:00
mjacob cecccb23b2 quiet chatty boot messages 2000-10-17 17:39:10 +00:00
mjacob 3607efd3d7 Remember to establish default PORT WWN. Add in some LOGDEBUG2 messages
for the dma mapping code.
2000-10-16 05:12:26 +00:00
thorpej 4318834442 Don't trim off the FCS, pass it up. 2000-10-15 19:56:31 +00:00
simonb c8d4a6140c Regen 2000-10-14 06:23:21 +00:00
simonb 30dbba4dd1 Add ATI Mobility M3 (both PCI and AGP). 2000-10-14 06:12:46 +00:00
itojun 32e7a2cd70 hifn7751 crypto card driver. from openbsd.
does nothing useful at this moment - initailize the chip, that's all.
TODO: crypto logic framework in kernel (see openbsd sys/crypto)
TODO: ipsec frontend (need major rework in ipsec tree - should start with busywait)
TODO: character device frontend
2000-10-12 02:59:59 +00:00
itojun 8d7ce38746 regen 2000-10-12 02:54:13 +00:00
itojun 429b0af909 pci device ID for hifn 7751-based crypto cards. from openbsd. 2000-10-12 02:52:58 +00:00
thorpej 2198741306 Use ether_ioctl(). 2000-10-11 16:57:45 +00:00