fdc.c (6b7bd95b6d724c6bea5af622fd907511fec8e83c) fdc.c (87eafbcacd0f66b638e7bb730d2df94d341e5670)
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 * Portions Copyright (c) 1993, 1994 by

--- 26 unchanged lines hidden (view full) ---

35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
36 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
39 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
40 * SUCH DAMAGE.
41 *
42 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91
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 * Portions Copyright (c) 1993, 1994 by

--- 26 unchanged lines hidden (view full) ---

35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
36 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
39 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
40 * SUCH DAMAGE.
41 *
42 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91
43 * $Id: fd.c,v 1.30 1994/09/17 16:56:06 davidg Exp $
43 * $Id: fd.c,v 1.31 1994/09/17 18:08:36 joerg Exp $
44 *
45 */
46
47#include "ft.h"
48#if NFT < 1
49#undef NFDC
50#endif
51#include "fd.h"

--- 14 unchanged lines hidden (view full) ---

66#include <sys/malloc.h>
67#include <sys/proc.h>
68#include <sys/syslog.h>
69#include <i386/isa/isa.h>
70#include <i386/isa/isa_device.h>
71#include <i386/isa/fdreg.h>
72#include <i386/isa/fdc.h>
73#include <i386/isa/rtc.h>
44 *
45 */
46
47#include "ft.h"
48#if NFT < 1
49#undef NFDC
50#endif
51#include "fd.h"

--- 14 unchanged lines hidden (view full) ---

66#include <sys/malloc.h>
67#include <sys/proc.h>
68#include <sys/syslog.h>
69#include <i386/isa/isa.h>
70#include <i386/isa/isa_device.h>
71#include <i386/isa/fdreg.h>
72#include <i386/isa/fdc.h>
73#include <i386/isa/rtc.h>
74#if NFT > 0
75#include <sys/ftape.h>
76#include <i386/isa/ftreg.h>
77#endif
74
75#define RAW_PART 2
76#define b_cylin b_resid
77
78/* misuse a flag to identify format operation */
79#define B_FORMAT B_XXX
80
81/*

--- 1383 unchanged lines hidden ---
78
79#define RAW_PART 2
80#define b_cylin b_resid
81
82/* misuse a flag to identify format operation */
83#define B_FORMAT B_XXX
84
85/*

--- 1383 unchanged lines hidden ---