1.\" $NetBSD: jmide.4,v 1.3 2007/12/08 11:09:58 wiz 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.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by Manuel Bouyer. 17.\" 4. The name of the author may not be used to endorse or promote products 18.\" derived from this software without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.\" 32.Dd July 2, 2007 33.Dt JMIDE 4 34.Os 35.Sh NAME 36.Nm jmide 37.Nd JMicron Technology JMB36x PCIe to SATA II/PATA controller driver 38.Sh SYNOPSIS 39.Cd "jmide* at pci? dev ? function ? flags 0x0000" 40.Cd "ahcisata* at jmide?" 41.Sh DESCRIPTION 42The 43.Nm 44driver supports the JMicron Technology JMB36x IDE controllers. 45.Pp 46These PCI-e controllers exist in different flavors (1 or 2 PATA Ultra/133 47ports and/or 1 or 2 SATA-II ports), and are highly flexible. 48The SATA ports can be attached to the integrated AHCI controller or 49attached to the PCI IDE channels in PATA emulation, in either single-drive 50emulation on each PCI IDE channels, or in master/slave emulation on one of the 51PCI IDE channels. 52.Pp 53When enabled, the AHCI controller can either be on the PCI function 0 or 54function 2. 55The PCI IDE controller can also be on either PCI function, and 56can share the PCI function with AHCI. 57The 58.Nm 59driver supports both the AHCI controller and PCI IDE controller in various 60configurations. 61.Sh SEE ALSO 62.Xr ahcisata 4 , 63.Xr ata 4 , 64.Xr atapi 4 , 65.Xr intro 4 , 66.Xr pci 4 , 67.Xr pciide 4 , 68.Xr wd 4 , 69.Xr wdc 4 70.Sh AUTHORS 71.An -nosplit 72The 73.Nm 74driver was written by 75.An Manuel Bouyer . 76