]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/poke-rls.c
More ICH2-specific code diked out.
[netwatch.git] / tools / poke-rls.c
index 03c4fb1fcf564d652612fd4f7376e0cac0ab11a1..557e7a9b0ec02bf25b639cc4f7857e7baa294056 100644 (file)
@@ -1,3 +1,13 @@
+/* poke-rls.c
+ * Linux-side communication packet utility
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree.
+ *
+ */
+
 #include <sys/io.h>
 #include <reg-82801b.h>
 #include <string.h>
 #include <sys/io.h>
 #include <reg-82801b.h>
 #include <string.h>
@@ -41,9 +51,8 @@ int main(int argc, char **argv)
        printf("returned %p\n", res);
 
        if (res == 42) {
        printf("returned %p\n", res);
 
        if (res == 42) {
-               printf("%s\n", packet->data);
-               printf("%s\n", packet->data+41);
-               printf("%s\n", packet->data+82);
-               printf("%s\n", packet->data+123);
+               int i;
+               for (i = 0; i < 96; i++)
+                       printf("%s\n", packet->data + i * 41);
        }
 }
        }
 }
This page took 0.020165 seconds and 4 git commands to generate.