25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_unreadable.c,v 1.12 2006/02/09 20:02:59 debug Exp $ |
* $Id: dev_unreadable.c,v 1.13 2006/02/25 12:55:20 debug Exp $ |
29 |
* |
* |
30 |
* A simple device which returns an error for all accesses (both reads and |
* A simple device which returns an error for all accesses (both reads and |
31 |
* writes). |
* writes). |
41 |
#include "misc.h" |
#include "misc.h" |
42 |
|
|
43 |
|
|
|
/* |
|
|
* dev_unreadable_access(): |
|
|
*/ |
|
44 |
DEVICE_ACCESS(unreadable) |
DEVICE_ACCESS(unreadable) |
45 |
{ |
{ |
46 |
return 0; |
return 0; |