History log of /netbsd-current/sys/dev/pci/files.pci
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.448 20-Oct-2023 msaitoh

eqos(4): Add initial support for Intel Elkhart Lake internal Ethernet devices.

- Only tested on PSE SGMII 1G Ethernet MAC with MaxLinear GPY115.
- I don't know why dmat64 doesn't work. eqos_attach() have a special
code if EQOS_HW_FEATURE_ADDR64_32BIT(sc) is true, but it seems it doesn't
work.
- TODO:
Multiqueue support.
Detach support.


# 1.447 04-Oct-2023 rin

igc(4): Add support to Intel I225 / I226 series ethernet devices

Originally written by kevlo@o for OpenBSD, and ported by knakahara@,
msaitoh@, and myself.

The driver is *EXPERIMENTAL* at the moment, as some minor error
handling paths are not fully implemented.

Hardware VLAN tagging and TSO are not supported yet.

Although, we have never observed strange behaviors at least on amd64,
aarch64{,eb}, and evbppc (IBM405), except for PR port-arm/57643.

We will send pullup request to netbsd-10, after successful snapshot
build for -current.


# 1.446 12-Apr-2023 riastradh

ichsmb(4), tco(4): Add support for TCO on newer Intel chipsets.

TCO (`Total Cost of Ownership', Intel's bizarre name for a watchdog
timer) used to hang off the Intel I/O platform controller hub's (ICH)
low-pin-count interface bridge (LPC IB), or ichlpcib(4). On newer
devices, it hangs off the ICH SMBus instead.

Tested on INTEL 100SERIES_SMB (works) and INTEL 100SERIES_LP_SMB
(doesn't work, still not sure why).

XXX kernel revbump: This breaks the module ABI -- tco(4) modules
older than the change to make ta_has_rcba into ta_version will
incorrectly attach at buses they do not understand. (However, the
tco(4) driver is statically built into GENERIC, so maybe it's safe
for pullup since the module wouldn't have worked anyway.)


Revision tags: netbsd-10-base
# 1.445 14-Oct-2022 jmcneill

branches: 1.445.2;
Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.


Revision tags: bouyer-sunxi-drm-base
# 1.444 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to ixl(4), too.


# 1.443 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to vmx(4), too.


# 1.442 16-Sep-2022 knakahara

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput. But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.447 04-Oct-2023 rin

igc(4): Add support to Intel I225 / I226 series ethernet devices

Originally written by kevlo@o for OpenBSD, and ported by knakahara@,
msaitoh@, and myself.

The driver is *EXPERIMENTAL* at the moment, as some minor error
handling paths are not fully implemented.

Hardware VLAN tagging and TSO are not supported yet.

Although, we have never observed strange behaviors at least on amd64,
aarch64{,eb}, and evbppc (IBM405), except for PR port-arm/57643.

We will send pullup request to netbsd-10, after successful snapshot
build for -current.


# 1.446 12-Apr-2023 riastradh

ichsmb(4), tco(4): Add support for TCO on newer Intel chipsets.

TCO (`Total Cost of Ownership', Intel's bizarre name for a watchdog
timer) used to hang off the Intel I/O platform controller hub's (ICH)
low-pin-count interface bridge (LPC IB), or ichlpcib(4). On newer
devices, it hangs off the ICH SMBus instead.

Tested on INTEL 100SERIES_SMB (works) and INTEL 100SERIES_LP_SMB
(doesn't work, still not sure why).

XXX kernel revbump: This breaks the module ABI -- tco(4) modules
older than the change to make ta_has_rcba into ta_version will
incorrectly attach at buses they do not understand. (However, the
tco(4) driver is statically built into GENERIC, so maybe it's safe
for pullup since the module wouldn't have worked anyway.)


Revision tags: netbsd-10-base
# 1.445 14-Oct-2022 jmcneill

branches: 1.445.2;
Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.


Revision tags: bouyer-sunxi-drm-base
# 1.444 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to ixl(4), too.


# 1.443 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to vmx(4), too.


# 1.442 16-Sep-2022 knakahara

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput. But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.446 12-Apr-2023 riastradh

ichsmb(4), tco(4): Add support for TCO on newer Intel chipsets.

TCO (`Total Cost of Ownership', Intel's bizarre name for a watchdog
timer) used to hang off the Intel I/O platform controller hub's (ICH)
low-pin-count interface bridge (LPC IB), or ichlpcib(4). On newer
devices, it hangs off the ICH SMBus instead.

Tested on INTEL 100SERIES_SMB (works) and INTEL 100SERIES_LP_SMB
(doesn't work, still not sure why).

XXX kernel revbump: This breaks the module ABI -- tco(4) modules
older than the change to make ta_has_rcba into ta_version will
incorrectly attach at buses they do not understand. (However, the
tco(4) driver is statically built into GENERIC, so maybe it's safe
for pullup since the module wouldn't have worked anyway.)


Revision tags: netbsd-10-base
# 1.445 14-Oct-2022 jmcneill

Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.


Revision tags: bouyer-sunxi-drm-base
# 1.444 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to ixl(4), too.


# 1.443 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to vmx(4), too.


# 1.442 16-Sep-2022 knakahara

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput. But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.445 14-Oct-2022 jmcneill

Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.


Revision tags: bouyer-sunxi-drm-base
# 1.444 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to ixl(4), too.


# 1.443 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to vmx(4), too.


# 1.442 16-Sep-2022 knakahara

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput. But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.444 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to ixl(4), too.


# 1.443 16-Sep-2022 knakahara

Add ALWAYS_TXDEFER option to vmx(4), too.


# 1.442 16-Sep-2022 knakahara

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput. But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.441 07-Sep-2022 martin

Fix the build, add new emuxki_boards.c


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.440 17-Dec-2021 knakahara

Add missing WM_TX_{,INTR_}PROCESS_LIMIT_DEFAULT options same as RX side.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.439 12-Nov-2021 skrll

Trailing whitespace


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.438 25-Aug-2021 msaitoh

Use MCLGET() instead of homegrown cluster (jcl) allocation mechanism.

- Before this commit, resource shortage was easily occurred because the total
number of the clusters is small.

- Reviewed by knakahara and ryo.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

branches: 1.436.4;
Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.437 26-Apr-2021 thorpej

- The "eso" device does not need to carry the "midibus" interface attribute.
It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
"opl", "mpu", and "joy" instances.


Revision tags: thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.436 09-Mar-2021 msaitoh

Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


# 1.432 14-Oct-2020 ryo

branches: 1.432.2;
vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.436 09-Mar-2021 msaitoh

Modify some parameters to reduce packet dropping.

- Background: ixgbe doesn't use common MCLGET() interface and use the
driver specific cluster allocation mechanism (jcl). The cluster is
pre-allocated with a fixed number and the current number per queue
is num_rx_desc * 2 (2048*2=4096). It's too small. It also has a problem
that the max length of the pcq which is used in the TX path is big
(4096). Example:

100M <----- [ixg0 ixg1] <----- 1G
2048 TX descs <--- 4096 pcqs <---- 2048 RX descs

If a machine forwards a traffic from 1G interface to 100M interface,
It would require 2048+4096+2048=8192 descriptors, but the current number
is 2048*2=4096. It's too small. Even if the both interface's link speed
is the same and only small number of packet is queued in the pcq, 4096
jcl is small because 2048(RX)+TX(2048)=4096. If jcl is exhausted, not only
forwarding from ixg1 to ixg0 is dropped, but also another forwarding path
from ixg1 to another interface(e.g. wm0) is also dropped. Sockets also
queue packets, so if a lot of sockets are used and/or a socket buffer
size is changed to bigger one, it'll also become a problem. If the jcl
is exhausted, evcnt(9) counter "ixgX qY Rx no jumbo mbuf" is incremented.
Example:
vmstat -ev | grep ixg1 | grep "no jumbo"
ixg1 q0 Rx no jumbo mbuf 0 0 misc
ixg1 q1 Rx no jumbo mbuf 0 0 misc
ixg1 q2 Rx no jumbo mbuf 141326 0 misc
ixg1 q3 Rx no jumbo mbuf 0 0 misc


- To solve this problem:
- Add new config parameter IXGBE_JCLNUM_MULTI and set the default to 3
(2048 * 3). The minimum number is 2. The total number of jcl per queue
is available with hw.ixgN.num_jcl_per_queue sysctl.
- Reduce the max length of the pcq() which is used in the TX path from
4096 to 2048.

- Reviewed by knakahara@ and ozaki-r@.

- TODO: Use MCLGET().


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


Revision tags: thorpej-futex-base
# 1.432 14-Oct-2020 ryo

vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.435 01-Mar-2021 jakllsch

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


Revision tags: thorpej-futex-base
# 1.432 14-Oct-2020 ryo

vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.434 17-Feb-2021 knakahara

In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.

No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


Revision tags: thorpej-futex-base
# 1.432 14-Oct-2020 ryo

vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.433 30-Jan-2021 jmcneill

Sync with OpenBSD r1.98. Lots of improvements including checksum offload,
hardware vlan tagging, and support for multiple receive queues.


Revision tags: thorpej-futex-base
# 1.432 14-Oct-2020 ryo

vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.432 14-Oct-2020 ryo

vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.431 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.430 26-Jul-2020 jdolecek

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.429 24-Jun-2020 thorpej

Add a PCI front-end for the "amdccp" (AMD Cryptographic Coprocessor)
driver.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.428 21-May-2020 macallan

- remove i2cbus etc. on drivers that don't use iic
- for private iic buses pull in only what we need and skip the bus attachment


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.427 20-May-2020 macallan

radeonfb doesn't attach an iic*, so pull in iic, not i2cbus


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.426 09-Feb-2020 jmcneill

Retire azalia(4).


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


Revision tags: ad-namecache-base2
# 1.425 25-Jan-2020 thorpej

Retire the le@pci attachment. It has been superseded (and matched at a
higher priority) by the pcn(4) driver since NetBSD 1.6.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.424 20-Jan-2020 thorpej

Remove FDDI support.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.423 19-Jan-2020 thorpej

Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.422 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


Revision tags: ad-namecache-base1
# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

branches: 1.419.2;
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.421 17-Jan-2020 ryo

support internal PHY temperature sensor


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.420 16-Jan-2020 yamaguchi

Use def{flag,param} for parameters in ixl(4)


Revision tags: ad-namecache-base
# 1.419 01-Jan-2020 ryo

add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.419 01-Jan-2020 ryo

add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.418 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.417 26-Nov-2019 nisimura

- use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
selection.
- some style knits; use aprint(9) and modernise callout(9).


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.416 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

branches: 1.413.2;
Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.415 22-Sep-2019 jmcneill

Correct mcx comment, drop mii dependency


# 1.414 22-Sep-2019 mrg

add mcx attachment.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.413 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

branches: 1.397.2;
shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.413 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

branches: 1.412.2;
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.412 12-Dec-2018 maxv

Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.


# 1.411 07-Dec-2018 msaitoh

- defflag PPB_USEINTR
- Print "interrupting at "


Revision tags: pgoyette-compat-1126
# 1.410 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.409 20-Nov-2018 skrll

Add support for MSI/MSI-X to ahcisata at pci.

The options AHCISATA_DISABLE_MSI and AHCISATA_DISABLE_MSIX are available
if required.


# 1.408 14-Nov-2018 skrll

defflag XHCI_DISABLE_MSIX


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930
# 1.407 22-Sep-2018 maxv

Remove isic(4). It is part of ISDN, which we are now retiring.


# 1.406 22-Sep-2018 maxv

Unreference iwic (now removed), forgot that.


# 1.405 22-Sep-2018 maxv

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.


# 1.404 22-Sep-2018 maxv

Remove ifpci(4). It is part of ISDN, which we are retiring.


# 1.403 22-Sep-2018 nakayama

ixg and ixv depend on mii and mii_phy.


# 1.402 21-Sep-2018 maxv

Remove iavc(4).


# 1.401 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906 jdolecek-ncqfixes-base
# 1.400 25-Aug-2018 maxv

branches: 1.400.2;
Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.


# 1.399 08-Aug-2018 maya

Remove NetOctave NSP2000 support

This code has bitrotted - it hasn't been adjusted from the old module
framework.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2018/07/10/msg023638.html


Revision tags: pgoyette-compat-0728
# 1.398 15-Jul-2018 maxv

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.397 06-Jun-2018 jakllsch

shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet


Revision tags: pgoyette-compat-0521
# 1.396 19-May-2018 jdolecek

add config glue for ena(4)


# 1.395 11-May-2018 maya

add bwfm pci support, from openbsd

Tested on BCM43602.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.394 01-Mar-2018 pgoyette

branches: 1.394.2;
Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.


# 1.393 25-Feb-2018 pgoyette

Import imcsmb driver from FreeBSD. This driver allows access to the
SMBus controllers which are part of the integrated memory controllers
on certain modern Intel CPUs. These SMBus are attached only to the
memory DIMMs, so we provide only a minimum amount of functionality.

Deliberately not included in GENERIC, as on some motherboards there
can be conflicting access between the driver and the motherboard. The
motherboards generally will provide a mechanism to synchronize access,
but the methods are likely proprietary; the driver provides a place
for inserting user-provided synchronization.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.392 03-Dec-2017 jdolecek

port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable


Revision tags: tls-maxphys-base-20171202
# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

branches: 1.388.4;
wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.391 05-Sep-2017 skrll

Add an XHCI_DISABLE_MSI option


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.390 30-Aug-2017 msaitoh

- Sync with FreeBSD r320688 (and up to r322865):
- Add C3000(Denvertion(-NS)) support.
- Add bypass function support for bypass adapters. Sysctls are provided.
Not tested because I have no any bypass adapter.
- ixv(4): set RSS mapping.
- Change EEE sysctl.
- ixv(4): Add TSOv6.
- ixv(4): Mailbox API 1.2 and more are implemented and comment says it
negotiate with 1.2 but it really does 1.1...
- Remove thermal test sysctl.
- Fix unknown bugs.
- Print driver feature capabilities and enable bits when verbose boot.


Revision tags: nick-nhusb-base-20170825
# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.389 02-Aug-2017 cherry

Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin


Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.388 13-Apr-2017 knakahara

wm(4) can disable msi/msix by build option and ddb command.

suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.


Revision tags: jdolecek-ncq-base
# 1.387 22-Mar-2017 knakahara

make kernel config flag WM_EVENT_COUNTERS.

suggested by msaitoh@n.o.


Revision tags: pgoyette-localcount-20170320
# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

branches: 1.385.2;
Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


# 1.386 03-Mar-2017 knakahara

make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT

e.g. if
- WM_RX_PROCESS_LIMIT_DEFAULT is set 0
- WM_RX_INTR_PROCESS_LIMIT_DEFAULT is set -1 (means almost infinite)
that means wm(4) does not use polling mode.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

branches: 1.381.2;
Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.


Revision tags: nick-nhusb-base-20161204
# 1.385 02-Dec-2016 msaitoh

Add ixgbe_osdep.c.


# 1.384 01-Dec-2016 msaitoh

Update ixg(4) and ixv(4) up to FreeBSD r282299:
- Add support for X55x.
- ADD EEE support (not tested).
- Add WOL support (not tested).
- Add suspend/resume support (not testd).
- Add LPLU support (not tested).
- Add DMA Coalescing (note verified).
- Not tested well for sysctls.
- Fix ixgbe_set_advertise() a bit. At least, FreeBSD r294578 is required
to work hw.ixg0.advertise_speed sysctl correctly.


# 1.383 28-Nov-2016 msaitoh

FreeBSD r280182 made new file ix_txrx.c and moved ixgbe.c and ixv's common
code into it. Before sync with whole of them, just move ixgbe.c and ixv.c's
common code into ix_txrx.c from ixgbe.c. In this commit, only ixgbe.c is split
into the device dependent part and the common part. ixv.c isn't change to make
this commit no functional change. To use ixv.c with ix_txrx.c, it's required
to modify the common part's API and functions themselves.

This commit is done to make the next change easy to understand.


# 1.382 21-Nov-2016 macallan

missing bits for pm3fb, should have went with previous...


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529
# 1.381 01-May-2016 nonaka

Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


Revision tags: nick-nhusb-base-20160422 nick-nhusb-base-20160319
# 1.380 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.379 29-Oct-2015 christos

Add vioscsi, compile tested only (toxic)


# 1.378 20-Oct-2015 tnn

add ifnet attributes to vioif(4) so it can be config(8)ed as root device


Revision tags: nick-nhusb-base-20150921
# 1.377 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
# 1.376 28-Mar-2015 jmcneill

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.


# 1.375 27-Mar-2015 msaitoh

Synchronize our ixg(4) driver up to FreeBSD r230775:
- Add X540 support.
- Add 100BaseTX support.
- Fix a lot of bugs.
- Improve performance.


# 1.374 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.373 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


Revision tags: nick-nhusb-base
# 1.372 26-Oct-2014 tls

branches: 1.372.2;
Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
# 1.371 19-Mar-2014 nonaka

branches: 1.371.4;
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


# 1.370 18-Mar-2014 riastradh

Merge riastradh-drm2 to HEAD.


Revision tags: riastradh-drm2-base3
# 1.369 26-Jan-2014 msaitoh

PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
in pucdata.c's table.

- Add a new option PUC_CNAUTO. If this option is set, consinit() in
x86/x86/consinit.c checks puc com device to use it as console.
Without this option, the behavior is the same as before.

- Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
If PUC_CNBUS is set, the specified number's bus will be scanned.

- Rename comcnprobe() to puc_cnprobe() to make it clear.

- Rename comcninit() to puc_cninit() to make it clear.

- Add code for a device that a device's com register is MMIO (#if0 ed).


# 1.368 21-Jan-2014 mlelstv

wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.


# 1.367 18-Sep-2013 macallan

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output


# 1.366 21-Aug-2013 jakllsch

We already have a config rule for the eventual core of xhci(4); may as
well have the PCI attachment rule as well.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1
# 1.365 22-Jul-2013 soren

PUCCN is now implicit.


Revision tags: riastradh-drm2-base
# 1.364 30-Mar-2013 christos

branches: 1.364.4; 1.364.6;
patches for new wifi devices.


Revision tags: agc-symver-base
# 1.363 30-Jan-2013 rkujawa

Include rasops that are actually needed by this driver.


Revision tags: yamt-pagecache-base8
# 1.362 01-Jan-2013 macallan

add a compile option to override the fallback to software drawing of bitmap
fonts on R3xx ( options RADEONFB_ALWAYS_ACCEL_PUTCHAR ) since this works just
fine on my RV350.
Next step: don't map VRAM if we don't need it.


# 1.361 17-Dec-2012 mbalmer

Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.360 02-Aug-2012 macallan

branches: 1.360.2;
add support for anti-aliased fonts


# 1.359 30-Jul-2012 degroote

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
- contrary to OpenBSD one, only support pci at the moment, because I don't
have the necessary hardware to test PCMCIA / CARDUS Marvell Card
- not connected to pmf(9) (unable to test it)


# 1.358 18-Jul-2012 rkujawa

Add 3Dfx Voodoo2 driver. Still needs some cleanup and prettyfying, but hey
it works.


Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.357 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.356 02-Mar-2012 nonaka

Added Lemote Yeeloong Notebook support.


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2
# 1.355 16-Feb-2012 macallan

cache glyphs in video memory when using anti-aliased fonts on r128fb and
radeonfb


Revision tags: netbsd-6-base
# 1.354 24-Jan-2012 rkujawa

branches: 1.354.2;
Add missing i2c dependencies to voodoofb.


# 1.353 21-Jan-2012 rkujawa

Fix double i2cbus dependency for voyager


# 1.352 21-Jan-2012 rkujawa

Change dependency iic to i2cbus for fb drivers. OK macallan.


# 1.351 03-Jan-2012 macallan

support anti-aliased fonts in 32bit colour
enable with options RADEONFB_DEPTH_32


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.350 30-Oct-2011 hannken

branches: 1.350.2; 1.350.6;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.349 08-Oct-2011 kiyohara

Fix panic when boot time. Require attribute drm to voodoofb.


# 1.348 31-Aug-2011 macallan

split up voyagerfb into the framebuffer portion and a pseudo bus that we can
attach all the other sub-devices to
while there attach an i2c bus


# 1.347 27-Aug-2011 bouyer

Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.


# 1.346 24-Aug-2011 dyoung

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.


# 1.345 12-Aug-2011 dyoung

Attach ixg(4) to the kernel build (it's not in any kernel
configurations, yet).


# 1.344 11-Aug-2011 mbalmer

pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
attached watchdog timers.


# 1.343 04-Aug-2011 jakllsch

Add coram(4).

A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.


# 1.342 14-Jul-2011 jmcneill

hook in lg3303 demod support and modularize


# 1.341 11-Jul-2011 jakllsch

Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.

Initially supports digital reception on ATI HDTV Wonder card.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.340 04-Apr-2011 bouyer

Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.


Revision tags: bouyer-quota2-nbase
# 1.339 23-Feb-2011 jmcneill

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto


Revision tags: bouyer-quota2-base
# 1.338 09-Feb-2011 macallan

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c


# 1.337 26-Jan-2011 bouyer

Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.


# 1.336 22-Jan-2011 cegger

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@


Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231
# 1.335 11-Dec-2010 matt

branches: 1.335.2; 1.335.4;
arcmsr needs sysmon_envsys


# 1.334 13-Nov-2010 jnemeth

PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver

The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.


# 1.333 10-Nov-2010 skrll

Add nside(4) - a driver for the National Semiconductor PC87415 IDE
controller as found in many HP PA-RISC machines.

From OpenBSD.

Reviewed by Manuel Bouyer.


# 1.332 09-Nov-2010 skrll

Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.


# 1.331 06-Nov-2010 jakllsch

Add Intel SCH IDE controller driver.
From OpenBSD via Tomokazu HARADA in PR#42310.


Revision tags: uebayasi-xip-base4
# 1.330 03-Nov-2010 macallan

pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix


Revision tags: uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.329 24-May-2010 pgoyette

Extract the vendor/product tables and related access routines into a
separate kernel module. Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel. On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


Revision tags: uebayasi-xip-base1
# 1.328 01-Apr-2010 jakllsch

Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.


# 1.327 21-Mar-2010 jklos

Reorganizing all Chelsio 10 gig files into separate directory.


Revision tags: yamt-nfs-mp-base9
# 1.326 25-Feb-2010 macallan

branches: 1.326.2;
a very preliminary driver for Wildcat 5110 / Sun XVR-500 graphics boards
Since we don't have any documentationthis driver is unaccelerated and thanks
to the insane state we get the hardware in it's also slow and scrolling
looks weird.
Some hardware info came from OpenBSD's ifb driver.


# 1.325 22-Feb-2010 ahoka

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue


Revision tags: uebayasi-xip-base
# 1.324 07-Jan-2010 jdc

branches: 1.324.2;
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase
# 1.323 28-Oct-2009 macallan

A driver for the Permedia 2 graphics processor, so far it's been tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor, it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless you use the
VESA BIOS to set up graphics and pass the right properties ( width, height
etc. ) to the driver. For the same reason it will work only if it's the
OpenFirmware console.


# 1.322 26-Sep-2009 snj

"Intel High Definition Audio" -> "High Definition Audio"


# 1.321 26-Sep-2009 jakllsch

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.


# 1.320 20-Sep-2009 christos

PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers.


Revision tags: yamt-nfs-mp-base8
# 1.319 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.318 12-Aug-2009 macallan

add voyagerfb, a driver for the Gdium Liberty 1000's onboard graphics chip


# 1.317 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base yamt-nfs-mp-base6
# 1.316 21-Jun-2009 mrg

make external drm the default.


Revision tags: yamt-nfs-mp-base5
# 1.315 17-Jun-2009 jakllsch

A few changes for siisata(4):

- Support detachment. From KIYOHARA Takashi.
- Add PCI detachment functionality (albeit not very interesting when
the bus can not yet be rescanned).
- Rework interrupt handlers to reduce near-duplicate code.
Borrowed from ahcisata(4).
- Attempt to make polled I/O work. Untested.
- Fix formatting of some messages.
- For always-polled commands, disable interrupt
at slot level rather than port level.
- Instead of busy-waiting indefinitely for completion of some commands
move on after 31 seconds. Use cv_timedwait(9) instead of DELAY(9).
- Use abstracted SATA FIS code.
- Enable use of disks that don't respond with the standard signature.


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.314 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.313 20-Apr-2009 cegger

Add ale(4), a driver for Attansic/Atheros L1E gigabit ethernet device.
Ported by me from OpenBSD, improvements from Kevin Lahey,
successfully tested by Kevin Lahey and Stephen Borrill.


Revision tags: nick-hppapmap-base2 mjf-devfs2-base
# 1.312 16-Jan-2009 cegger

branches: 1.312.2;
age driver needs mii_phy


# 1.311 16-Jan-2009 cegger

Driver for Attansic L1 gigabit ethernet driver.

Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.


# 1.310 09-Jan-2009 macallan

PCI attachment for the bwi driver
From Urban Boquist


# 1.309 28-Dec-2008 jmcneill

PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base haad-dm-base
# 1.308 30-Oct-2008 darran

branches: 1.308.2; 1.308.8;
NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems. The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD. These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.


# 1.307 29-Oct-2008 jkunz

Ported alipm(4) and admtemp(4) from OpenBSD.


Revision tags: matt-mips64-base2 haad-dm-base1
# 1.306 11-Oct-2008 bouyer

branches: 1.306.2;
jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 simonb-wapbl-nbase simonb-wapbl-base
# 1.305 21-Jul-2008 joerg

Express explicitly that VGA_POST needs X86EMU.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.304 23-May-2008 jnemeth

branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base
# 1.303 29-Mar-2008 cube

branches: 1.303.2; 1.303.4; 1.303.6;
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.

The linux driver was used as documentation.

Many thanks to all the people who helped or at least supported me while I
was fighting that bug that made the EeePC freeze. At the top of that list,
Matt J. Fleming (mjf@) and David Gwynne (from the OpenBSD fame).


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.302 09-Feb-2008 ober

branches: 1.302.6;
Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@. OK nick@ moof@


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base
# 1.301 17-Jan-2008 jklos

10 gigabit Chelsio cards now compile and work, although not very well yet.


Revision tags: vmlocking2-base3 matt-armv6-base
# 1.300 25-Dec-2007 joerg

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.


# 1.299 15-Dec-2007 dyoung

Finish making the sip(4) and gsip(4) drivers share compiled code.


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.298 05-Dec-2007 xtraeme

branches: 1.298.4;
Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.


# 1.297 04-Dec-2007 xtraeme

Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume Status Size Device
arc0 0 Online 466G ARC-1210-VOL#00 RAID0
0 Online 234G 0:0.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:1.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
arc0 1 Online 466G ARC-1210-VOL#01 RAID0
0 Online 234G 0:2.0 noencl <WDC WD2500YS-01SHB1 20.06C06>
1 Online 234G 0:3.0 noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


Revision tags: vmlocking2-base1 bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base
# 1.296 07-Nov-2007 macallan

branches: 1.296.2;
add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits


Revision tags: nick-csl-alignment-base5 jmcneill-base yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base vmlocking-base
# 1.295 28-Jul-2007 kiyohara

branches: 1.295.4; 1.295.6; 1.295.10; 1.295.12; 1.295.14;
Add support for Intel ICH SMBus controller.


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.294 11-Jul-2007 kiyohara

branches: 1.294.2;
Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver.


# 1.293 10-Jul-2007 jklos

More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.


# 1.292 09-Jul-2007 jklos

Boo boo - .h files don't go in here...


# 1.291 09-Jul-2007 jklos

Added one last file for Chelsio support.


# 1.290 07-Jul-2007 jklos

Added two files for Chelsio 10 gig cards.


# 1.289 21-Jun-2007 jklos

Added cxgb entry for Chelsio T3 10 gigabit card.


Revision tags: yamt-idlelwp-base8
# 1.288 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.287 12-May-2007 bouyer

Split the ahcisata driver in pci front-end and bus-independant back-end.


# 1.286 26-Apr-2007 garbled

Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.


Revision tags: thorpej-atomic-base
# 1.285 11-Apr-2007 macallan

fix a typo


# 1.284 10-Apr-2007 macallan

move genfb's PCI frontend to dev/pci


# 1.283 24-Mar-2007 jmcneill

Include dev/pci/drm/files.pcidrm


# 1.282 23-Mar-2007 jmcneill

Allow viadrm to attach to unichromefb


# 1.281 23-Mar-2007 jmcneill

Add viadrm


# 1.280 21-Mar-2007 macallan

defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb


# 1.279 20-Mar-2007 drochner

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test


# 1.278 20-Mar-2007 garbled

Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register. This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.


Revision tags: ad-audiomp-base post-newlock2-merge newlock2-nbase newlock2-base
# 1.277 25-Jan-2007 macallan

branches: 1.277.2; 1.277.6; 1.277.8; 1.277.10;
add some flags for chipsfb


# 1.276 20-Jan-2007 xtraeme

Updated viaenv(4) driver:

* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.275 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.274 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.273 30-Nov-2006 bouyer

branches: 1.273.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.272 31-Oct-2006 thorpej

In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.


# 1.271 27-Oct-2006 bouyer

Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the C�sar Catri�n Carre�o and paul (at) whooppee.com for
tests.


# 1.270 25-Oct-2006 bouyer

Map the SATA registers for SATA channels, and probe drives using them instead
of using the old PATA way. Tested with a PDC20375 (2xSATA + 1xPATA).
While there add the PDC20618-621 products (Ultra/133 controllers);
untested. Yes, it's strange to support PATA-only devices in a driver
called pdcsata, but that's how it is ...


Revision tags: yamt-splraiseipl-base2
# 1.269 23-Sep-2006 macallan

a half done wsdisplay driver for Chips & Technologies 65550 graphics chips
So far it only uses the blitter for scrolling and rectangle filling,
characters are still drawn in software and there's no support for video
mode switching. Virtual consoles are supported via vcons.
Works fine on a PowerBook 3400c.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.268 09-Sep-2006 riz

branches: 1.268.2;
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD. There are still some outstanding
issues with this driver, namely:

- Checksum offload is unsupported
- There is a significant amount of code duplication from sk(4)
- There remain some 'magic numbers'
- Performance is not heavily tested, and likely to be lower than
the chip is capable of in some cases. Syncing some of the
aforementioned 'magic numbers' with the Marvell FreeBSD driver
should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.


Revision tags: rpaulo-netinet-merge-pcb-base
# 1.267 07-Sep-2006 itohy

branches: 1.267.2;
Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.


Revision tags: yamt-pdpolicy-base8
# 1.266 16-Aug-2006 gdamore

Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software. ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!


# 1.265 13-Aug-2006 jmcneill

Add rasops16 attribute to unichromefb.


# 1.264 13-Aug-2006 simonb

Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.


Revision tags: yamt-pdpolicy-base7
# 1.263 10-Aug-2006 cube

iwi now needs firmload [hi nick!]


Revision tags: abandoned-netbsd-4-base
# 1.262 02-Aug-2006 jmcneill

branches: 1.262.2;
Forgot to commit this last night -- add the unichromefb(4) driver.


# 1.261 11-Jul-2006 drochner

use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration


# 1.260 30-Jun-2006 nisimura

Add kse(4) driver for Micrel KSZ8842/8841 Ethernet controller.


# 1.259 26-Jun-2006 drochner

-make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base chap-midi-base simonb-timecounters-base
# 1.258 07-Jun-2006 dogcow

branches: 1.258.2;
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
not here.


# 1.257 07-Jun-2006 dogcow

ral_pci was missing the /ic/ files.


# 1.256 06-Jun-2006 rpaulo

Attachment framework for the rt2561.c and rt2661.c drivers.

From OpenBSD.


# 1.255 28-May-2006 martin

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.


# 1.254 24-May-2006 wrstuden

3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.


Revision tags: yamt-pdpolicy-base5 elad-kernelauth-base
# 1.253 07-May-2006 jmcneill

branches: 1.253.2;
Add support for the Intel PIIX4 power management controller, from OpenBSD.


# 1.252 30-Apr-2006 xtraeme

Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.


# 1.251 26-Apr-2006 rpaulo

Comment out glxt.


# 1.250 18-Apr-2006 rittera

A number of minor changes for NDIS. (OK'd by phil)

1. Removed the makeoptions line from arch/i386/conf/GENERIC. Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS. NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.


# 1.249 17-Apr-2006 rpaulo

Pull firmload on ipw.


# 1.248 12-Apr-2006 macallan

convert to vcons
while there, attach an fb device when running on sparc


# 1.247 11-Apr-2006 macallan

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.246 31-Mar-2006 rittera

Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel. I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental. It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100


# 1.245 21-Mar-2006 he

Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.244 12-Mar-2006 chs

branches: 1.244.2;
add nfe.


# 1.243 06-Mar-2006 bouyer

branches: 1.243.2;
Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.242 19-Feb-2006 tls

branches: 1.242.2;
Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well). We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.


Revision tags: ktrace-lwp-base
# 1.241 06-Dec-2005 christos

branches: 1.241.2; 1.241.4; 1.241.6;
New lmc driver from David Boggs


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.240 18-Oct-2005 joerg

Both iwi and ipw need arp.


# 1.239 28-Sep-2005 kent

split azalia.c into three files.
* azalia_codec.c: code for specific codecs
* azalia.c: other code
* azalia.h: common definitions


# 1.238 09-Sep-2005 ragge

Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
Still missing: VLAN + IPv6 checksum support.


# 1.237 29-Aug-2005 drochner

remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already


# 1.236 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.235 01-Jul-2005 drochner

branches: 1.235.2;
add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually


# 1.234 25-Jun-2005 dyoung

Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now. Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.


# 1.233 18-Jun-2005 kent

An audio driver for High Definition Audio.

The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base kent-audio2-base
# 1.232 27-Feb-2005 perry

branches: 1.232.2;
nuke trailing whitespace


# 1.231 20-Feb-2005 jdolecek

Add device driver support for the VIA Networking Technologies VT6122
gigabit ethernet chip and integrated 10/100/1000 copper PHY.

Obtained from: FreeBSD


Revision tags: yamt-km-base2
# 1.230 12-Feb-2005 rearnsha

Change PCIIDE_I31244_ENABLEDMA to PCIIDE_I31244_DISABLEDMA as
suggested by briggs. Put the flag in opt_pciide.h.


Revision tags: yamt-km-base
# 1.229 21-Jan-2005 yamt

branches: 1.229.2;
- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.


# 1.228 12-Jan-2005 reinoud

branches: 1.228.2;
Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.


# 1.227 11-Jan-2005 skrll

Add iwi(4).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.226 06-Dec-2004 cube

Add config wires for ixpide(4).


# 1.225 01-Dec-2004 grant

add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.


# 1.224 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.223 13-Nov-2004 kent

auacer uses aurateconv


# 1.222 22-Oct-2004 scw

Make artsata depend on sata.


# 1.221 10-Oct-2004 augustss

Add a driver for the Acer Labs M5455 audio controller.
This controller is integrated in some ALi Southbridges.

XXX This driver is incomplete and slightly buggy, but it
works enough to enable me to listen to music on my Sharp MM20.


# 1.220 26-Sep-2004 dyoung

Add rtw(4).


# 1.219 30-Aug-2004 drochner

add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do


# 1.218 30-Aug-2004 drochner

there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it


# 1.217 26-Aug-2004 itohy

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)


# 1.216 23-Aug-2004 lukem

Add ipw(4)


# 1.215 12-Aug-2004 thorpej

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.


# 1.214 09-Jul-2004 bouyer

Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).


# 1.213 08-Jul-2004 drochner

support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)


# 1.212 28-May-2004 thorpej

satalink now needs the "sata" attribute.


# 1.211 28-May-2004 toshii

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.


Revision tags: netbsd-2-0-base
# 1.210 12-Mar-2004 ragge

branches: 1.210.2;
Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no
problem with intercontinental TCP connections of over 4Gbit/s, which is
where my test hardware runs out of bus bandwidth.

Stuff that is on the TODO list:
* HW VLAN support.
* Large jumbo buffers (16k).
* TCP Segmentation Offload
* RAIDC (receive interrupt delay adaptation)
* Understand how to use memory above 4GB.


# 1.209 14-Feb-2004 junyoung

device<tab>
attach<tab>


# 1.208 03-Feb-2004 fredb

Enable the 8X clock on the SIIG Cyberserial serial and combination PCI
cards at attachment time, in order to support bit rates greater than 115K,
as discussed on tech-kern.


# 1.207 25-Jan-2004 jdolecek

add puc(4) atppc(4) attachment; probes correctly, but needs further
work to support DMA, and some actual transfer testing


# 1.206 20-Jan-2004 jdolecek

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue


# 1.205 31-Dec-2003 jonathan

Split opencrypto configuration into an attribute, usable by inkernel
clients, and a pseudo-device for userspace access.

The attribute is named `opencrypto'. The pseudo-device is renamed to
"crypto", which has a dependency on "opencrypto". The sys/conf/majors
entry and pseudo-device attach entrypoint are updated to match the
new pseudo-device name.

Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the
"opencrypto" attribute. Drivers for crypto accelerators (ubsec,
hifn775x) also pull in opencrypto, as providers of opencrypto transforms.


# 1.204 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.203 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.202 05-Dec-2003 cube

Remove bitbang code that was taken from FreeBSD to support recent SiS
chipsets and use mii_bitbang interface instead. Reflect sip dependency in
the config file.

Support for SiS96x needs broader testing.


# 1.201 04-Nov-2003 mycroft

Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.


# 1.200 31-Oct-2003 nisimura

Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.


# 1.199 19-Oct-2003 matt

Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it). From John Gordon.


# 1.198 08-Oct-2003 bouyer

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.


# 1.197 08-Oct-2003 bouyer

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.


# 1.196 08-Oct-2003 bouyer

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.


# 1.195 30-Sep-2003 thorpej

New generic I2C framework. Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.


# 1.194 27-Sep-2003 mrg

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!


# 1.193 25-Sep-2003 pooka

autoconf goop for iavc


# 1.192 08-Sep-2003 thorpej

Remove unused "skge" defns.


# 1.191 26-Aug-2003 jdolecek

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler


# 1.190 08-Aug-2003 jonathan

Config hooks for ubsec (Bluesteelnet, Broadcom 582x) driver.


# 1.189 06-Jul-2003 dyoung

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.


# 1.188 04-Jul-2003 wiz

1.179 had the commit message "Use CFATTACH_DECL()." but actually
added a paragraph for the non-existent (or just not in-tree)
als driver -- remove that paragraph again to avoid confusion.


# 1.187 01-Jul-2003 drochner

branches: 1.187.2;
VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.


# 1.186 19-Apr-2003 fvdl

Add ahd at pci (to be added later).


# 1.185 16-Apr-2003 thorpej

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters. Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley. Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.184 07-Nov-2002 martin

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.


# 1.183 25-Oct-2002 leo

Fritz!PCI v2.0 ISDN driver from FreeBSD.


# 1.182 24-Oct-2002 junyoung

Add machfb, ATI Mach64/Rage framebuffer display driver.

XXX this version is not fully functional yet. More to come shortly.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.181 11-Oct-2002 thorpej

Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a
required parameter for IPKDB_NE_PCI).
* IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT.
While IPKDB_NE_PCISLOT is a required parameter, that is not how option-
dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT,
as that would cause a bogus value for IPKDB_NE_PCISLOT to be used.

Also, the IPKDB_NE_PCI selector should be lower-case; make it so.


# 1.180 08-Oct-2002 kent

auvia:
- Add aurateconv
- Update comment


Revision tags: kqueue-base
# 1.179 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.178 24-Sep-2002 pooka

Driver for Winbond W6692 passive ISDN cards.

Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.


# 1.177 03-Sep-2002 augustss

Replace the mr driver with the gtp driver. From OpenBSD.


Revision tags: gehenna-devsw-base
# 1.176 06-Aug-2002 augustss

Pull in tea5757.c for the mr driver. Fixes kern/17864.


# 1.175 23-Jun-2002 fvdl

Add files for bge at pci attachment.


# 1.174 02-Jun-2002 enami

Collect random number from AMD 768MPX power management controller.


Revision tags: netbsd-1-6-base
# 1.173 18-May-2002 matt

branches: 1.173.2;
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.


# 1.172 26-Apr-2002 ad

branches: 1.172.2;
Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.


# 1.171 25-Apr-2002 kleink

Add a joystick attachment to the ESS Solo-1 driver.


# 1.170 22-Apr-2002 ad

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.


# 1.169 22-Apr-2002 bouyer

Add esiop at pci.


# 1.168 22-Apr-2002 augustss

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.


# 1.167 17-Apr-2002 mycroft

Remove TLP_MATCH_* options.


# 1.166 30-Mar-2002 uwe

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)


# 1.165 26-Mar-2002 thorpej

Only build pciconf.o if pci is configured.


# 1.164 25-Mar-2002 martin

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.


Revision tags: eeh-devprop-base newlock-base
# 1.163 09-Mar-2002 kent

Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)


Revision tags: ifpoll-base
# 1.162 02-Feb-2002 jdolecek

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.


# 1.161 30-Jan-2002 ad

Bare-bones driver for AMI RAID. Parts taken from FreeBSD. This was tried a
good while ago and it had problems under load. Changes were made to address
that, but I don't have the ability to test them. So, I'm committing it
before it rots.


# 1.160 09-Jan-2002 augustss

Split out some code so you can have cardbus ehci without pci.


# 1.159 07-Jan-2002 jmcneill

Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.


# 1.158 07-Jan-2002 drochner

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.


# 1.157 07-Jan-2002 tron

Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).


# 1.156 06-Jan-2002 jmcneill

Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.


# 1.155 06-Jan-2002 jmcneill

Add radio support to bktr.


# 1.154 03-Jan-2002 thorpej

Need ibm561.c for TGA.


# 1.153 01-Jan-2002 augustss

Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.


# 1.152 01-Jan-2002 hpeyerl

Add stanza for PC Weasel/PCI.


# 1.151 12-Dec-2001 elric

Added support for the PowerStorm 4d20, initial support that is.
I plan on cleaning a few things up over the next few days, but this
appears to be working for me.


# 1.150 05-Dec-2001 augustss

Do SIR framing on incoming frames.


# 1.149 05-Dec-2001 wiz

Use defparam instead of defflags for some bktr(4) related options that need
a value. Add BKTR_REVERSE_MUTE to defflags.


# 1.148 05-Dec-2001 simonb

s/defopt/defparam/ in previous; from lukem.


# 1.147 05-Dec-2001 simonb

Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.


# 1.146 02-Dec-2001 augustss

Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.


# 1.145 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.144 18-Nov-2001 someya

add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver


Revision tags: thorpej-mips-cache-base
# 1.143 03-Nov-2001 tsutsui

Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...


# 1.142 17-Oct-2001 jdolecek

branches: 1.142.2;
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
Written by Yannick Montulet (thanks!), with only couple minor touches by me.


# 1.141 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.140 16-Sep-2001 eeh

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.


Revision tags: post-chs-ubcperf pre-chs-ubcperf
# 1.139 13-Sep-2001 thorpej

Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.


Revision tags: thorpej-devvp-base
# 1.138 04-Sep-2001 itohy

branches: 1.138.2;
Add "opl at cmpci" and "mpu at cmpci" attachment.


# 1.137 27-Aug-2001 thorpej

New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.


# 1.136 22-Aug-2001 thorpej

Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.


# 1.135 01-Aug-2001 ad

Hook in the mly control interface on i386.


# 1.134 30-Jul-2001 ad

Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.


# 1.133 25-Jul-2001 thorpej

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.


# 1.132 07-Jul-2001 thorpej

branches: 1.132.2;
Remove config glue for the old `ncr' driver.


# 1.131 19-Jun-2001 thorpej

Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.


# 1.130 03-Jun-2001 tsutsui

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.


# 1.129 22-May-2001 thorpej

Add mii_bitbang attribute to gsip, pointed out by Andrew Gillham.


# 1.128 18-May-2001 thorpej

Add a driver for the National Semiconductor DP83820 Gigabit Ethernet
chip. This is found on the NetGear GA-622 and Asante FriendlyNet
GigaNIX.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.127 30-Mar-2001 minoura

Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.


# 1.126 25-Mar-2001 jmc

Actually fix fwlynx correctly. Got the right filename this time.


# 1.125 13-Mar-2001 jmc

Fix typo on fwlynx_pci driver. Brett McCoy reported this in.


# 1.124 08-Mar-2001 thorpej

advlib.c and advmcode.c should be built for all adv, not
just adv_pci. From takashi.yamamoto@bigfoot.com, kern/12341.


# 1.123 24-Feb-2001 lukem

branches: 1.123.2;
whitespace police


# 1.122 18-Feb-2001 martin

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


# 1.121 09-Feb-2001 briggs

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 ]


# 1.120 07-Feb-2001 tacha

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>.


# 1.119 04-Feb-2001 ad

Add a driver for the Mylex DAC960 family (including DEC SWXCR).


# 1.118 22-Jan-2001 ad

opt_twe.h isn't needed any more.


# 1.117 22-Jan-2001 augustss

Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.


# 1.116 08-Jan-2001 thorpej

Only build "esm" if it's included in the kernel config file.


# 1.115 08-Jan-2001 rh

Add esm audio driver.


# 1.114 05-Jan-2001 martin

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.


# 1.113 24-Dec-2000 augustss

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.


# 1.112 14-Dec-2000 onoe

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...


# 1.111 28-Nov-2000 thorpej

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.


# 1.110 26-Nov-2000 ad

lsu -> ld, by popular request.


# 1.109 14-Nov-2000 matt

Add fwlynx PCI attachment


# 1.108 08-Nov-2000 ad

Add glue for iop.


# 1.107 08-Nov-2000 ad

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.


# 1.106 05-Nov-2000 thorpej

Add NeoMagic 256 audio.


# 1.105 05-Nov-2000 thorpej

viaenv carries the sysmon_envsys attribute.


# 1.104 20-Oct-2000 ad

- 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.


# 1.103 19-Oct-2000 ad

Hook in twe.


# 1.102 12-Oct-2000 itojun

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


# 1.101 02-Aug-2000 bouyer

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


# 1.100 25-Jul-2000 jeffs

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.


# 1.99 25-Jun-2000 gmcgarry

cmpci requires mulaw dependency.


# 1.98 25-Jun-2000 sommerfeld

Defopt TLP_MATCH_*


# 1.97 24-Jun-2000 thorpej

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.


Revision tags: netbsd-1-5-base
# 1.96 06-Jun-2000 thorpej

branches: 1.96.2;
Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.


# 1.95 30-May-2000 matt

Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.


Revision tags: minoura-xpg4dl-base
# 1.94 17-May-2000 thorpej

branches: 1.94.2;
Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards. Written by Jason R. Thorpe and Bill Studenmund.


# 1.93 15-May-2000 bouyer

Update for siop split.


# 1.92 10-May-2000 haya

Move if_rl_pci.c:1.7 to if_rtk_pci.c.


# 1.91 08-May-2000 joda

VIA VT82C686A hardware monitor


# 1.90 07-May-2000 wiz

some glue for bktr-driver


# 1.89 30-Apr-2000 augustss

Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>


# 1.88 21-Apr-2000 bouyer

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.


# 1.87 20-Apr-2000 nathanw

Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.


# 1.86 19-Apr-2000 haya

Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.


# 1.85 10-Apr-2000 haya

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.


# 1.84 05-Apr-2000 mrg

add "hme at pci" support.


# 1.83 02-Apr-2000 nathanw

Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.


# 1.82 31-Mar-2000 tsarna

Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.


# 1.81 22-Mar-2000 ws

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.


# 1.80 22-Mar-2000 cgd

add PCI_CONFIG_DUMP as a defopted option


# 1.79 22-Mar-2000 cgd

opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon)


# 1.78 16-Mar-2000 ad

Driver for Compaq array controllers and disks (cac(4)/ca(4)).


# 1.77 04-Mar-2000 elric

Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c. Disabled tga_bt463.c, which we don't
currently support.


# 1.76 25-Feb-2000 drochner

add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter


Revision tags: chs-ubc2-newbase
# 1.75 26-Jan-2000 thorpej

Fix an oversight in the AIC-7xxx SEEPROM split.


# 1.74 04-Jan-2000 chopps

Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.73 13-Dec-1999 augustss

Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.


# 1.72 19-Nov-1999 thorpej

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.


Revision tags: comdex-fall-1999-base fvdl-softdep-base
# 1.71 02-Nov-1999 augustss

Add the midibus attribute to the fms driver.


# 1.70 02-Nov-1999 thorpej

Get fms MPU and OPL module inclusion right.


# 1.69 01-Nov-1999 augustss

Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.


# 1.68 30-Oct-1999 augustss

Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>


# 1.67 30-Oct-1999 augustss

Add midibus attribute for eap.


# 1.66 27-Oct-1999 augustss

Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>.


# 1.65 15-Oct-1999 haya

branches: 1.65.2; 1.65.4;
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h


# 1.64 13-Oct-1999 thorpej

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.


# 1.63 27-Sep-1999 ad

branches: 1.63.2;
Add glue for 'dpt' driver.


# 1.62 01-Sep-1999 drochner

add "ti" - Alteon Gigabit Ethernet


# 1.61 01-Sep-1999 thorpej

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.


Revision tags: chs-ubc2-base
# 1.60 02-Aug-1999 augustss

Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.


# 1.59 12-Jul-1999 kleink

Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.


# 1.58 30-Jun-1999 drochner

add driver for the Bit3 PCI-VME adapter, without the DMA parts for now


# 1.57 27-Jun-1999 drochner

add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out


# 1.56 20-Jun-1999 thorpej

Intel i82557 driver is now split into bus and chip bits.


# 1.55 01-Jun-1999 thorpej

Glue in the SiS900 Ethernet controller driver.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.54 25-Mar-1999 explorer

branches: 1.54.2; 1.54.4; 1.54.6;
Start commit of Lan Media Corp T1/HSSI/DS3 driver


Revision tags: bouyer-ide-last-dist
# 1.53 09-Feb-1999 sakamoto

add "mii" to vr driver.


# 1.52 21-Jan-1999 sakamoto

Add VIA Rhine/Rhine II Fast Ethernet files.


# 1.51 06-Jan-1999 thorpej

Device declaration for the PCscsi-PCI SCSI chip driver.


# 1.50 10-Dec-1998 augustss

Add a driver for the S3 SonicVibes chip. From OpenBSD and
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org) with
some changes by me.
XXX The driver still needs work.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.49 04-Nov-1998 fvdl

Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.


# 1.48 31-Oct-1998 thorpej

Use the rtl80x9 common code for media selection.


# 1.47 12-Oct-1998 bouyer

Merge bouyer-ide


Revision tags: bouyer-ide-base
# 1.46 26-Sep-1998 dante

Add AdvanSys ULTRA WIDE SCSI controllers


# 1.45 26-Aug-1998 dante

Add AdvanSys support


# 1.44 11-Aug-1998 thorpej

Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.


Revision tags: eeh-paddr_t-base
# 1.43 26-Jul-1998 explorer

add ntwo* at pci? function ?, a T1 network driver.


# 1.42 21-Jul-1998 drochner

adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode


# 1.41 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.40 26-Jun-1998 cgd

add a driver for "PCI 'universal' communications" cards, that is, PCI cards
which contain 'standard' com- and lpt-type ports. Some of these present
as PCI simple-communications/serial or simple-communications/parallel
devices, but many do not. (Additionally, there is no document that I can
find that describes the "specific well-konwn register-level" description
of how the 'standard' devices' config space headers shold work.) Eventually,
some of the devices driven by this code should become simple pci attachments
for the 'lpt' and 'com' drivers, but that requires solid documentation.


# 1.39 02-Jun-1998 thorpej

branches: 1.39.2;
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.


# 1.38 31-May-1998 cgd

dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way. The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


# 1.37 14-May-1998 kml

Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card. With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...


# 1.36 01-May-1998 augustss

Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound. The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>. Thanks.


# 1.35 15-Apr-1998 drochner

add mi PCI VGA and TGA


# 1.34 04-Mar-1998 cgd

add (commented out) device/file declarations for the MI PCI IDE
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.


# 1.33 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.32 12-Jan-1998 thorpej

Update for config changes.


# 1.31 21-Oct-1997 bouyer

Correct 'ThunderLAN' spelling


Revision tags: netbsd-1-3-base
# 1.30 17-Oct-1997 bouyer

branches: 1.30.2;
Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).


Revision tags: marc-pcmcia-base
# 1.29 14-Oct-1997 thorpej

Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver.


# 1.28 13-Sep-1997 enami

Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.


# 1.27 12-Sep-1997 mycroft

Fix bogus comment.


Revision tags: thorpej-signal-base
# 1.26 30-Aug-1997 mycroft

Pull in new file.


Revision tags: marc-pcmcia-bp
# 1.25 20-Jul-1997 pk

branches: 1.25.2;
config.new => config


# 1.24 05-Jun-1997 thorpej

Add device declaration for Intel EtherExpress PRO 10/100B driver.


# 1.23 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.22 12-Mar-1997 cgd

specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob


Revision tags: is-newarp-base
# 1.21 12-Nov-1996 thorpej

branches: 1.21.4;
Centralize the declaration of the "en" driver (Efficient Networks, Inc.
155Mb/sec ATM interface).


# 1.20 24-Sep-1996 christos

New cyclades driver from Timo Rossi.


# 1.19 01-Sep-1996 mycroft

Update.


# 1.18 14-Jul-1996 cgd

alphabetize by driver name


# 1.17 22-Jun-1996 chuck

pci specific code for the eni155p card


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.16 16-May-1996 mycroft

New version, with changes from Justin Gibbs and Noriyuki Soda.


# 1.15 07-May-1996 thorpej

Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Add a real PCI front-end for PCnet-PCI Ethernet cards.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.


# 1.14 25-Apr-1996 thorpej

Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>


# 1.13 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.12 04-Mar-1996 cgd

the i386 port no longer attaches isa, eisa, and pci at root.


# 1.11 28-Feb-1996 cgd

make PCI bus match/attach and sub-device attachment machine-independent,
add definition of 'ppb' (PCI-PCI bridge) device.


# 1.10 27-Feb-1996 cgd

alphabetize device list


# 1.9 13-Jan-1996 thorpej

Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.8 10-Oct-1995 mycroft

Add specs for ahc driver.


# 1.7 19-Aug-1995 cgd

add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.


# 1.6 27-Jul-1995 mycroft

Add needs-flags for pci_subr.c.


# 1.5 18-Jun-1995 cgd

make a comment reflect the way things should be done


# 1.4 17-Jun-1995 cgd

more appropriate name, as this only has PCI support subroutines.


# 1.3 05-Jun-1995 cgd

enable the de driver


# 1.2 17-Apr-1995 cgd

try to actually (gasp!) describe the drivers.


# 1.1 17-Apr-1995 cgd

config.new files description for PCI mi files.