1.\" $NetBSD: jmide.4,v 1.4 2009/10/19 18:41:09 bouyer Exp $ 2.\" 3.\" 4.\" Copyright (c) 2007 Manuel Bouyer. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" 26.\" 27.Dd July 2, 2007 28.Dt JMIDE 4 29.Os 30.Sh NAME 31.Nm jmide 32.Nd JMicron Technology JMB36x PCIe to SATA II/PATA controller driver 33.Sh SYNOPSIS 34.Cd "jmide* at pci? dev ? function ? flags 0x0000" 35.Cd "ahcisata* at jmide?" 36.Sh DESCRIPTION 37The 38.Nm 39driver supports the JMicron Technology JMB36x IDE controllers. 40.Pp 41These PCI-e controllers exist in different flavors (1 or 2 PATA Ultra/133 42ports and/or 1 or 2 SATA-II ports), and are highly flexible. 43The SATA ports can be attached to the integrated AHCI controller or 44attached to the PCI IDE channels in PATA emulation, in either single-drive 45emulation on each PCI IDE channels, or in master/slave emulation on one of the 46PCI IDE channels. 47.Pp 48When enabled, the AHCI controller can either be on the PCI function 0 or 49function 2. 50The PCI IDE controller can also be on either PCI function, and 51can share the PCI function with AHCI. 52The 53.Nm 54driver supports both the AHCI controller and PCI IDE controller in various 55configurations. 56.Sh SEE ALSO 57.Xr ahcisata 4 , 58.Xr ata 4 , 59.Xr atapi 4 , 60.Xr intro 4 , 61.Xr pci 4 , 62.Xr pciide 4 , 63.Xr wd 4 , 64.Xr wdc 4 65.Sh AUTHORS 66.An -nosplit 67The 68.Nm 69driver was written by 70.An Manuel Bouyer . 71