Commit Graph

2227 Commits

Author SHA1 Message Date
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
cgd
a3dbabc67b Update for current PCI device class/subclass and capability codes.
(also, tweak the I2O subclass string to be "standard" -- the removal
of version info didn't extend that far.)
2000-10-07 18:58:13 +00:00
bouyer
a2c02690af only VT82C586A rev >= 6 supports Ultra-DMA. From OpenBSD. 2000-10-04 09:34:09 +00:00
thorpej
7edd5d54bc Add support for the ADMtek AN983 and AN985. 2000-10-03 04:32:00 +00:00
thorpej
4462a44b87 Regen: ADMtek AN985 2000-10-03 02:59:05 +00:00
thorpej
618e7b93c6 Add ADMtek AN985 10/100 Ethernet. 2000-10-03 02:58:30 +00:00
ad
903ae58e7b I2O subclasses currently have nothing to do with the protocol version. 2000-10-02 14:48:13 +00:00
thorpej
7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
tsutsui
f4ef578da7 6 -> ETHER_ADDR_LEN 2000-09-28 10:29:42 +00:00
ad
4a8619ae15 Match the i82562. 2000-09-27 10:54:55 +00:00
augustss
815d8f961b Regen. 2000-09-27 02:15:30 +00:00
augustss
c3fa0043b1 Add some ATI Rage cards and some Intel chips. 2000-09-27 02:14:54 +00:00
ad
44c90f4ef1 Pasto; shouldn't have bitten anyone. 2000-09-26 11:38:47 +00:00
martin
70c8ada2ad Add calls to ether_addmulti and ether_delmulti. This code looks a bit
different than other drivers due to the way ti_setmulti manages the
filters. Patch from Keijiro Ehara.
2000-09-24 14:19:52 +00:00
jdolecek
5fea96167f use new generic bootverbose instead of local definition 2000-09-24 12:37:03 +00:00
thorpej
a429573227 Some more register definitions for the DP83815. 2000-09-21 04:05:43 +00:00
augustss
236deb1acc Apply a patch from the driver author (originally from OpenBSD). 2000-09-20 14:33:48 +00:00
thorpej
e925979f9b Preliminary support for the National Semiconductor DP83815 10/100
Ethernet chip, which is based on the SiS 900 core, but with differences
in the PHY and filter programming interface, and different WoL and
802.3x flow control programming.

This chip appears on new NetGear FA-312TX cards.  Thank goodness
they're finally ditching the LiteOn chips.
2000-09-20 05:44:48 +00:00
thorpej
b8675d1bea Add additional register defintions for the National Semiconductor
DP83815, which is based on the SiS900 core.
2000-09-20 02:08:44 +00:00
thorpej
24f4ce3eb0 Regen. 2000-09-20 00:46:35 +00:00
thorpej
6cc3e82c48 Add National Semiconductor DP83815 10/100 Ethernet. 2000-09-20 00:46:10 +00:00
fvdl
c5d8401866 Add support for the 3c555, 556 and 556B MiniPCI cards. Based on the
cardbus code and the FreeBSD xl driver.
2000-09-19 01:15:06 +00:00
fvdl
af02376ac9 Regen. 2000-09-19 01:11:38 +00:00
fvdl
fbf3c412e4 Add IDs for the 3c555, 556 and 556B 3Com MinPCI Ethernet cards. 2000-09-19 01:10:48 +00:00
tron
dd9df6ffdf Use correct product id for VIA VT6102 chip. Problem pointed out by
Jaromir Doleeek in private e-mail.
2000-09-13 16:40:15 +00:00
ad
dcdc66f936 Regen. 2000-09-13 15:58:13 +00:00
ad
b9bacc07be Add product IDs for AMI MegaRAID boards. 2000-09-13 14:45:09 +00:00
tron
d4a2e19802 Add support VIA VT6102 chip found e.g on the D-Link DFE530TX NIC.
Fixes PR kern/11001 by Petter Lindquist.
2000-09-13 14:00:48 +00:00
tron
ea2fc5c0fd Regen. 2000-09-13 13:58:25 +00:00
tron
928a30552d Remove incomplete (and incorrect) entry for D-Link 530. 2000-09-13 13:58:06 +00:00
tron
e6debfdcbf Regen. 2000-09-13 13:53:22 +00:00
tron
a42050f3e7 Use "VT6102 (Rhine II) 10/100 Ethernet" as description to be consistent
with existing entry for "VT86C100A (Rhine-II) 10/100 Ethernet".
2000-09-13 13:53:06 +00:00
tron
0c0911bb54 Regen. 2000-09-13 13:48:44 +00:00
tron
d6cf9f28b0 Add VT6102 Rhine II 10/100BaseTX ethernet chip used on e.g. the
D-Link 530TX NIC.
2000-09-13 13:48:09 +00:00
soren
f0c15086d2 Regen. 2000-09-07 23:26:41 +00:00
soren
36d7d0f902 s/AT&T Microelectronics/Lucent Technologies/ 2000-09-07 23:26:28 +00:00
thorpej
08e45b3689 Cast the argument to vtophys() to vaddr_t. 2000-09-06 18:56:45 +00:00
bouyer
2a11ec9347 Add definition for "Actiontec 56K PCI Master", from Bill Hudspeth. 2000-09-06 15:27:37 +00:00
augustss
130aad8a7d ANSIfy. 2000-09-06 00:17:23 +00:00
thorpej
3cf4e948c1 Cast arg to vtophys() to vaddr_t. 2000-09-05 22:37:33 +00:00
soren
6ade619f58 Regen. 2000-09-04 20:44:37 +00:00
soren
176549d557 Add Intel 440GX host bridge. 2000-09-04 20:30:50 +00:00
soren
fe2b627962 Fix 'RAID unsupported' printf. 2000-09-04 20:21:30 +00:00
soren
ac5ac55b06 Add support for the AAA-131 RAID controller by treating it as a 7890.
Taken from rev 1.32 of the FreeBSD ahc_pci.c.
2000-09-04 19:56:04 +00:00
itojun
824ddfd20e regen 2000-09-04 13:13:36 +00:00
itojun
4f6829605c Brooktree Bt8474 Multichannel Synchronous Communictaions Controller (MUSYCC) 2000-09-04 13:13:14 +00:00
wiz
c384f772f0 remove one 2000-09-03 02:05:44 +00:00
wiz
3a2e8fdc05 Use NetBSD's pcidevs file for vendors/cards as much as possible.
Recognize Pinnacle Studio PCTV Rave as Miro card, tested by rh@netbsd.org.
2000-09-03 02:01:32 +00:00
cgd
cfd89531b4 don't attempt to size Host Bridge BARs. (it's a good way to die.)
provide a clue about 16-bit vs. 32-bit I/O BARs.
2000-09-02 00:48:20 +00:00
cgd
6a22a36219 regen for changed pcidevs 2000-09-02 00:33:25 +00:00
cgd
dae6b41d27 after discussion with veego, rename constant for 3D Labs Permedia 2 from
PERMEDI2 to PERMEDIA2.  (substance over style. 8-)  Also, fix a typo
I noticed in a comment.
2000-09-02 00:32:15 +00:00
ad
702747900f - Interface cleanup. static, const in places.
- cac_pci_l0 has been moved to cac.c, since it's useful for EISA boards.
- Model-specific linkage now is responsible for DMA synchronization.
- If we don't recognise the board, print the subsystem ID.
- Add support for RAID LC2 and Smart Array 431.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:13:08 +00:00
jdolecek
0bc8e23c3a even through the integrated audio on my MSI 694D Pro
does not set AC97_CODEC_DOES_VRA in AC97_REG_EXT_AUDIO_ID request, it
works okay; only require the bit set for revision < 'H'
2000-09-01 00:02:04 +00:00
wiz
4739c00231 regen 2000-08-29 01:18:17 +00:00
wiz
52454a3dd6 add vendors HAUPPAUGE, ASKEY, AVERMEDIA 2000-08-29 01:17:06 +00:00
haya
128fa6e8fb Correct PCI interrput setup routine for Texas Instruments PCI113X.
Now PCI113X is able to handle hot insertion and deletion properly.
2000-08-28 09:26:38 +00:00
enami
efb0ce0996 Recognize Promise ATA-100 controller as PDC-20262 instead of 20246. 2000-08-21 15:52:50 +00:00
enami
84ebb6165e Match the Promise ATA-100 controller found on the mother board
MS-6321 (MSI 694D Pro).  Reported in PR#10756 by Kazuki Sakamoto.
2000-08-21 15:43:46 +00:00
enami
b84a81b268 Regen. 2000-08-21 15:33:45 +00:00
enami
7012027317 Add a product id for the promise ata-100 controller found on
MS-6321 (694D Pro).  Reported in the PR#10756 by Kazuki Sakamoto.
2000-08-21 15:28:17 +00:00
haya
35c0f133ec Regen. 2000-08-21 09:13:02 +00:00
haya
500edf585d Add several Texas Instrument's PCI-CardBus bridges. 2000-08-21 08:58:51 +00:00
castor
2d8994210a Add a bunch of macros of the form PCI_<regname>_CODE similar to
existing PCI_ID_CODE to create the PCI appropriate register from
parameters.

Avoid use of 'class' in macro -- it's a C++ reserved keyword.
2000-08-21 05:17:33 +00:00
thorpej
f80d70f19a Just add the mmap argument to vga_common_attach(), don't bother
with vga_extended_attach().
2000-08-14 20:14:50 +00:00
mjacob
18e2c3aaad Add a maintenance note. Minor change in some logic in the DMA mapping. 2000-08-14 06:58:45 +00:00
tsutsui
23830f1e6c - Check CR_RST rather than ISR_TXRCMP and ISR_RXRCMP in sip_reset()
- Add more delay after reset
- "Big endian mode" on SiS 900 seems broken so don't enable it;
  use htole32()/le32toh() instead
- Don't cast u_int16_t array to u_int8_t pointer
- Add some delay() to FILTER_EMIT macro in sip_set_filter()

Now SiS 900 works on my macppc.
2000-08-12 07:38:40 +00:00
soren
363910c22b s/Toshiba America Info Systems/Toshiba/ since they are the main PCI issuer.
Add new version of the Oboe FIR device.
2000-08-10 01:55:57 +00:00
drochner
a1b037bc3a recognize the i440MX mobile chipset's IDE interface 2000-08-09 13:23:07 +00:00
tv
91537bce4a sizeof(fmtstring) + 8 wasn't enough for the string; that won't cope with the
printed version.  Make a little more room for the bitmask_snprintf() call.
2000-08-08 19:59:41 +00:00
tv
87ab5c42c5 %b -> bitmask_snprintf() 2000-08-08 19:42:40 +00:00
billc
aac52686f0 Manually edit the headers to show which version of pcidevs this was
generated from.

XXX - this really should be automated
2000-08-07 08:27:11 +00:00
billc
7ba2890ab8 Added PCI IDs for 3Com's Home Connect (3c450) and Office Connect (3cSOHO100).
They both are register compat with later versions of the 3c905 (tornado/
vortex) series.
2000-08-07 04:08:35 +00:00
ad
8d37a29277 Regen. 2000-08-04 14:32:05 +00:00
ad
fc2908cf8a Vortex Computer Systems changes, from OpenBSD:
- Add product ID for GDT6518RS.
- Fix bogus product IDs.
2000-08-04 14:31:40 +00:00
tsutsui
ef86d29308 Add one more delay() to sip_read_eeprom(). 2000-08-04 09:30:56 +00:00
nathanw
fb20241fda When performing pci_config_dump:
- Display the full value of 64-bit BARs.
 - Avoid displaying the upper 32 bits of 64-bit BARs as a separate 32-bit BAR.
2000-08-03 19:58:55 +00:00
castor
b6dd28b4ce Support some differences in the Macronix 98715AEC-C and E chips from the other
98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail.  There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
2000-08-03 03:07:30 +00:00
mjacob
cb4d63d57c More compilation breakage in the non-DEBUG case
(from Castor Fu <castor@geocast.com>)
2000-08-03 03:00:04 +00:00
bouyer
46c3f0204d PCIIDE_CMD0646U_UDMA->PCIIDE_CMD0646U_ENABLEUDMA for consistency with
PCIIDE_AMD756_ENABLEDMA
defopt PCIIDE_CMD0646U_ENABLEUDMA, PCIIDE_AMD756_ENABLEDMA,
    PCIIDE_CMD064x_DISABLE
Fix a typo pointed out by John Hawkinson
2000-08-02 21:49:09 +00:00
bouyer
bd0766459c Add support for the CMD PCI646U. Linux claims that this driver is brocken
with UDMA, so enable Ultra-DMA only if "options PCIIDE_CMD0646U_UDMA" is set.
2000-08-02 20:23:45 +00:00
mjacob
1ae072f471 Fix bonehead bug for compiles w/o DEBUG set
(thanks to KANETA Shin'ichi <kaneta@cr.chiba-u.ac.jp>)
2000-08-02 17:39:50 +00:00
mjacob
068c76fc80 Core version 2.0 (platform version 1.0) rewrite of ISP driver. Some
interace cleanups, some new common functions. The major impact that
will be noticeable right away is that if you boot with not Fibre connected
to the FC cards, you no longer hang indefinitely.
2000-08-01 23:55:09 +00:00
bouyer
76c77aca38 Add support for the CMD PCI0646U2, an Ultra/33 version of the 0646.
Note: there's also a PCI0646U, for which I don't have docs for now.
2000-08-01 21:02:55 +00:00
jhawk
d569dc2fb5 Whitespace fix (space rather than tab after #ifdef) 2000-07-29 17:49:08 +00:00
jlam
cbd3022e31 Make this compile without PUCCN defined. 2000-07-29 17:43:38 +00:00
castor
b2bf026f39 Guard the console code in puc.c with the defopt PUCCN so we can
use the puc driver without having the com drivers.
2000-07-28 20:43:45 +00:00
thorpej
081f57c846 Handle booting without a serial expander box connected. 2000-07-28 06:10:54 +00:00
bouyer
0154cbce36 Ops, forgot this one: Add interrupt disable bit #define for HPT370 2000-07-27 15:26:16 +00:00
bouyer
aa0d4a41d5 HPT370: clear disable interrupt bit; make it works in Ultra/66 mode. 2000-07-27 14:28:45 +00:00
jeffs
fa8ff381d8 Add code to allow the PCI com serial ports to be used as the system
console.  This is not enabled by default, and is turned on with
options PUCCN.  Done by castor@netbsd.org.
2000-07-25 23:18:42 +00:00
jonathan
5f7778cd1e * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E.
Regen.
2000-07-23 00:18:24 +00:00
jonathan
2169753fc5 * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E
2000-07-23 00:14:15 +00:00
ad
b60bcd873d Regen. 2000-07-20 14:47:35 +00:00
ad
d3b42c18e4 Add what is apparently ESS's old vendor ID and corresponding product ID for
the Maestro 1.
2000-07-20 14:46:51 +00:00
bouyer
6e88d58524 Make it compile when PCIIDE_AMD756_ENABLEDMA is defined. From kern/10555
by MURATA Shuuichirou.
2000-07-20 12:19:41 +00:00
augustss
00cafd0569 Add MIDI support. From Tatoku Ogaito. 2000-07-19 09:58:45 +00:00
soda
c41ca10d33 add "#define PCI_INTERRUPT_PIN_MAX 0x04" 2000-07-18 10:59:04 +00:00
tron
5446d3c92e Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.
2000-07-17 18:12:00 +00:00
tron
cfae3184d8 Don't clobber bits from 2 to 31 when trying to change the power state.
Problem noted by John Hawkinson.
2000-07-17 17:53:44 +00:00
tron
114bb7f9d9 If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.
2000-07-16 20:18:48 +00:00
jhawk
859057e6b3 Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
2000-07-15 21:36:19 +00:00
tron
9feae259a4 Avoid printing duplicate colon when card is waked up. 2000-07-15 20:57:24 +00:00
tron
cfe61a3025 Un-__P'ify kernel prototypes. 2000-07-15 19:59:27 +00:00
tron
61c607b9fe Improve kernel message when card is in power state D3. Instead of...
epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
2000-07-15 10:32:36 +00:00
tron
498310f5be Check if card was put into sleep mode using PCI/ACPI power management
and try to restart it. This patch based on hints by Jason Thorpe.
2000-07-14 22:00:32 +00:00
ad
b71bddab49 Regen. 2000-07-10 16:32:07 +00:00
ad
5a5452c95d Add ICP Vortex RAID controllers. 2000-07-10 16:14:02 +00:00
jhawk
469c88cc11 Clarify that the RX5C47X requires writes to the PCI_LEGACY to
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."
2000-07-09 22:06:02 +00:00
jhawk
e6e9cc5c41 Move legacy pcic-mode disabling code from pccbb_chipinit() to
pccbbattach(). This is necessary as pccbb_chipinit() is deferred, and
may not run until after the pcic is already attached.

Now pcics are properly disabled on Sony VAIO, f'rinstance.
2000-07-09 21:58:30 +00:00
mycroft
bd8f07c394 Recognize the i82559ER. 2000-07-09 00:46:26 +00:00
mycroft
5cdb782283 Regen. 2000-07-09 00:45:56 +00:00
mycroft
9d0e35cc63 Add ID for i82559ER. 2000-07-09 00:45:14 +00:00
mrg
6421cc8af8 regen 2000-07-08 04:39:50 +00:00
mrg
d74c0a2e3e add microSPARC IIep PCI controller 2000-07-08 04:38:55 +00:00
bouyer
2646cf1612 Use the CMD PCI0648/9 IRQ ACK code for the 0646 too, makes the 0646 works
in native mode.
2000-07-07 13:54:25 +00:00
bouyer
e2aaf9ef7f Work around a bug in AMD756 rev D2, from patches provided by David Sainty:
disable multiword DMA for these chips. multiword DMA can be forced with
options PCIIDE_AMD756_ENABLEDMA on rev D2 chips, but use at your own risk !
While I'm there remove a duplicate allocation of sc_wdcdev.nchannels in HPT
code.
2000-07-06 15:08:11 +00:00
mjacob
c466b99a9a Use new isp_handle_index function. Redo how firmware is checked for
and loaded. Remember to enable interrupts after isp_reset but before
isp_attach. Return CMD_EAGAIN on request queue overflow so we can retry
the command when there's more queue space.
2000-07-05 22:12:23 +00:00
bouyer
3c5afc2677 Back out previous, it has to be done in a different way. 2000-07-05 19:05:31 +00:00
bouyer
838676ce64 Apply patch from David Sainty <David.Sainty@optimation.co.nz>:
Some AMD controllers have a bug which can look up the machine when using DMA, so
disable DMA for some revisions (info provided by AMD).
"options PCIIDE_AMD756_ENABLEDMA" can be used to force DMA on these chips.
2000-07-05 18:58:41 +00:00