1/* 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Don Ahn. 7 * 8 * Copyright (c) 1993, 1994 by --- 29 unchanged lines hidden (view full) --- 38 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 39 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 40 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 41 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 42 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 43 * SUCH DAMAGE. 44 * 45 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 |
46 * $Id: fd.c,v 1.27 1998/01/24 02:54:37 eivind Exp $ |
47 * 48 */ 49 50#include "ft.h" 51#if NFT < 1 52#undef NFDC 53#endif 54#include "fd.h" --- 1646 unchanged lines hidden (view full) --- 1701 fd->pc98_trans = pc98_trans; 1702 } 1703#else 1704 outb(fdc->baseport+FDCTL, fd->ft->trans); 1705#endif 1706 TRACE1("[0x%x->FDCTL]", fd->ft->trans); 1707 /*******************************************************\ 1708 * If the next drive has a motor startup pending, then * |
1709 * it will start up in its own good time * |
1710 \*******************************************************/ 1711 if(fd->flags & FD_MOTOR_WAIT) 1712 { 1713 fdc->state = MOTORWAIT; 1714 return(0); /* come back later */ 1715 } 1716 /*******************************************************\ 1717 * Maybe if it's not starting, it SHOULD be starting * --- 694 unchanged lines hidden --- |