fdc.c (ad27f8d9a57655a2872d93e9e55fbb44d386377d) | fdc.c (29d6b96d690ea282b7a7f1c5c1a157fcc09ed07b) |
---|---|
1 2/* 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Don Ahn. 8 * --- 30 unchanged lines hidden (view full) --- 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 43 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 * SUCH DAMAGE. 45 * 46 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 | 1 2/* 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Don Ahn. 8 * --- 30 unchanged lines hidden (view full) --- 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 43 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 * SUCH DAMAGE. 45 * 46 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 |
47 * $Id: fd.c,v 1.116 1998/07/11 06:35:37 bde Exp $ | 47 * $Id: fd.c,v 1.117 1998/07/13 08:22:59 julian Exp $ |
48 * 49 */ 50 51#include "ft.h" 52#if NFT < 1 53#undef NFDC 54#endif 55#include "fd.h" --- 156 unchanged lines hidden (view full) --- 212* fdsu is the floppy drive unit number on that controller. (sub-unit) * 213\***********************************************************************/ 214 215#if NFT > 0 216int ftopen(dev_t, int); 217int ftintr(ftu_t ftu); 218int ftclose(dev_t, int); 219void ftstrategy(struct buf *); | 48 * 49 */ 50 51#include "ft.h" 52#if NFT < 1 53#undef NFDC 54#endif 55#include "fd.h" --- 156 unchanged lines hidden (view full) --- 212* fdsu is the floppy drive unit number on that controller. (sub-unit) * 213\***********************************************************************/ 214 215#if NFT > 0 216int ftopen(dev_t, int); 217int ftintr(ftu_t ftu); 218int ftclose(dev_t, int); 219void ftstrategy(struct buf *); |
220int ftioctl(dev_t, int, caddr_t, int, struct proc *); | 220int ftioctl(dev_t, unsigned long, caddr_t, int, struct proc *); |
221int ftdump(dev_t); 222int ftsize(dev_t); 223int ftattach(struct isa_device *, struct isa_device *, int); 224#endif 225 226/* autoconfig functions */ 227static int fdprobe(struct isa_device *); 228static int fdattach(struct isa_device *); --- 2025 unchanged lines hidden --- | 221int ftdump(dev_t); 222int ftsize(dev_t); 223int ftattach(struct isa_device *, struct isa_device *, int); 224#endif 225 226/* autoconfig functions */ 227static int fdprobe(struct isa_device *); 228static int fdattach(struct isa_device *); --- 2025 unchanged lines hidden --- |