OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [char/] [ftape/] [ftape-eof.h] - Blame information for rev 1626

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
 
2
 
3
#ifndef _FTAPE_EOF_H
4
#define _FTAPE_EOF_H
5
 
6
/*
7
 * Copyright (C) 1994-1995 Bas Laarhoven.
8
 
9
 This program is free software; you can redistribute it and/or modify
10
 it under the terms of the GNU General Public License as published by
11
 the Free Software Foundation; either version 2, or (at your option)
12
 any later version.
13
 
14
 This program is distributed in the hope that it will be useful,
15
 but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 GNU General Public License for more details.
18
 
19
 You should have received a copy of the GNU General Public License
20
 along with this program; see the file COPYING.  If not, write to
21
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22
 
23
 *
24
 $Source: /home/marcus/revision_ctrl_test/oc_cvs/cvs/or1k/rc203soc/sw/uClinux/drivers/char/ftape/ftape-eof.h,v $
25
 $Author: jcastillo $
26
 *
27
 $Revision: 1.1 $
28
 $Date: 2005-12-20 10:16:52 $
29
 $State: Exp $
30
 *
31
 *      Definitions and declarations for the end of file markers
32
 *      for the QIC-40/80 floppy-tape driver for Linux.
33
 */
34
 
35
/*      ftape-eof.c defined global vars.
36
 */
37
extern int failed_sector_log_changed;
38
extern int eof_mark;
39
 
40
/*      ftape-eof.c defined global functions.
41
 */
42
extern void clear_eof_mark_if_set(unsigned segment, unsigned byte_count);
43
extern void reset_eof_list(void);
44
extern int check_for_eof(unsigned segment);
45
extern int ftape_weof(unsigned count, unsigned segment, unsigned sector);
46
extern int ftape_erase(void);
47
extern void put_file_mark_in_map(unsigned segment, unsigned sector);
48
extern void extract_file_marks(byte * address);
49
extern int update_failed_sector_log(byte * buffer);
50
extern int ftape_seek_eom(void);
51
extern int ftape_seek_eof(unsigned count);
52
extern int ftape_file_no(daddr_t * file, daddr_t * block);
53
extern int ftape_validate_label(char *label);
54
 
55
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.