Commit Graph

312 Commits

Author SHA1 Message Date
cegger 0da9122630 age driver needs mii_phy 2009-01-16 21:11:27 +00:00
cegger 32b43f4cc8 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.
2009-01-16 20:18:08 +00:00
macallan b7893fb67e PCI attachment for the bwi driver
From Urban Boquist
2009-01-09 19:53:24 +00:00
jmcneill 63b42fed50 PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>
2008-12-28 15:16:24 +00:00
darran 0e11c6bfd5 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.
2008-10-30 12:02:14 +00:00
jkunz fb8ec4c35a Ported alipm(4) and admtemp(4) from OpenBSD. 2008-10-29 17:26:56 +00:00
bouyer 540cab1ec8 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.
2008-10-11 21:54:11 +00:00
joerg 26fd2cb43f Express explicitly that VGA_POST needs X86EMU. 2008-07-21 21:36:05 +00:00
jnemeth 3f1ee498b5 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)
2008-05-23 21:11:40 +00:00
cube 2bfb1e4fe0 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).
2008-03-29 00:16:26 +00:00
ober 5b57893f60 Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@.  OK nick@ moof@
2008-02-09 12:25:43 +00:00
jklos 0123f42896 10 gigabit Chelsio cards now compile and work, although not very well yet. 2008-01-17 06:03:21 +00:00
joerg 9a98cd19ff Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.
2007-12-25 14:22:25 +00:00
dyoung eb6813e870 Finish making the sip(4) and gsip(4) drivers share compiled code. 2007-12-15 05:46:21 +00:00
xtraeme 11b3a747bd Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.
2007-12-05 00:18:06 +00:00
xtraeme 8e6cf74867 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.
2007-12-04 18:47:50 +00:00
macallan 2e65015ca3 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
2007-11-07 19:09:09 +00:00
kiyohara 37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
kiyohara 1f48268a37 Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver. 2007-07-11 07:53:29 +00:00
jklos 7e18461fc5 More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.
2007-07-10 06:07:54 +00:00
jklos b03f59f16f Boo boo - .h files don't go in here... 2007-07-09 01:14:05 +00:00
jklos 5bb1837e63 Added one last file for Chelsio support. 2007-07-09 01:08:22 +00:00
jklos 1f2ed1cde7 Added two files for Chelsio 10 gig cards. 2007-07-07 20:59:16 +00:00
jklos f757e0cee8 Added cxgb entry for Chelsio T3 10 gigabit card. 2007-06-21 23:13:18 +00:00
bouyer 95b42c31ad 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.
2007-05-15 17:53:41 +00:00
bouyer 920d7a6afe Split the ahcisata driver in pci front-end and bus-independant back-end. 2007-05-12 11:04:58 +00:00
garbled 3dc01edf82 Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.
2007-04-26 19:47:03 +00:00
macallan df0a99cbb2 fix a typo 2007-04-11 04:48:31 +00:00
macallan 13daabb045 move genfb's PCI frontend to dev/pci 2007-04-10 02:16:47 +00:00
jmcneill 881e272543 Include dev/pci/drm/files.pcidrm 2007-03-24 15:04:43 +00:00
jmcneill e6e6c988b3 Allow viadrm to attach to unichromefb 2007-03-23 22:17:52 +00:00
jmcneill aeb34d786e Add viadrm 2007-03-23 15:00:38 +00:00
macallan fd3677f42a defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb
2007-03-21 20:52:41 +00:00
drochner 2d9e04fc35 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
2007-03-20 18:05:25 +00:00
garbled 6f633e2b65 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.
2007-03-20 05:50:35 +00:00
macallan f2fda6052d add some flags for chipsfb 2007-01-25 00:11:58 +00:00
xtraeme a4423f177a 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.
2007-01-20 18:44:26 +00:00
bouyer ea4f35dcd0 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.
2006-12-17 23:02:06 +00:00
bouyer 462dc620e3 Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.
2006-12-17 22:57:14 +00:00
bouyer 7b4730a29f 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.
2006-11-30 21:01:15 +00:00
thorpej f347528e49 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.
2006-10-31 14:04:29 +00:00
bouyer f91ce46f20 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.
2006-10-27 08:22:31 +00:00
bouyer cb53a57e9c 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 ...
2006-10-25 17:38:27 +00:00
macallan 52819a126f 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.
2006-09-23 05:12:22 +00:00
riz d5e3d70afd 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.
2006-09-09 16:17:50 +00:00
itohy 0a30900857 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.
2006-09-07 12:34:41 +00:00
gdamore 0d7e99a27a 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!
2006-08-16 22:46:44 +00:00
jmcneill bdbf1a3323 Add rasops16 attribute to unichromefb. 2006-08-13 03:34:11 +00:00
simonb af29995e74 Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.
2006-08-13 02:21:45 +00:00
cube 9979ca290b iwi now needs firmload [hi nick!] 2006-08-10 12:22:25 +00:00