patch-2.4.2 linux/Documentation/mca.txt
Next file: linux/Documentation/modules.txt
Previous file: linux/Documentation/magic-number.txt
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Feb 13 14:13:42 2001
- Orig file:
v2.4.1/linux/Documentation/mca.txt
- Orig date:
Wed Aug 18 11:37:51 1999
diff -u --recursive --new-file v2.4.1/linux/Documentation/mca.txt linux/Documentation/mca.txt
@@ -25,7 +25,7 @@
if( MCA_bus ) {
slot = mca_find_adapter( ADAPTER_ID, 0 );
if( slot == MCA_NOTFOUND ) {
- return ENODEV;
+ return -ENODEV;
}
/* optional - see below */
mca_set_adapter_name( slot, "adapter name & description" );
@@ -37,7 +37,7 @@
pos4 = mca_read_stored_pos( slot, 4 );
pos5 = mca_read_stored_pos( slot, 5 );
} else {
- return ENODEV;
+ return -ENODEV;
}
/* extract configuration from pos[2345] and set everything up */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)