mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
Changed hydra stuff from DOS to UNIX fileformat. Fixed bug in isadump.
Thanks, Geert. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@434 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -4,7 +4,8 @@ Status: Complete and somewhat tested
|
|||||||
|
|
||||||
Supported adapters:
|
Supported adapters:
|
||||||
* Apple `Hydra' Mac I/O
|
* Apple `Hydra' Mac I/O
|
||||||
Datasheet: Publicly available (?)
|
Datasheet: Was publicly available from the Apple website, now seems to
|
||||||
|
have disappeared?!?
|
||||||
|
|
||||||
Author: Geert Uytterhoeven <geert@linux-m68k.org>
|
Author: Geert Uytterhoeven <geert@linux-m68k.org>
|
||||||
|
|
||||||
|
@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
|
|||||||
sleep(5);
|
sleep(5);
|
||||||
|
|
||||||
#ifndef __powerpc__
|
#ifndef __powerpc__
|
||||||
if ((datareg < 0x400) && (datareg < 0x400)) {
|
if ((datareg < 0x400) && (addrreg < 0x400)) {
|
||||||
if(ioperm(datareg,1,1)) {
|
if(ioperm(datareg,1,1)) {
|
||||||
fprintf(stderr,"Error: Could not ioperm() data register!\n");
|
fprintf(stderr,"Error: Could not ioperm() data register!\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Reference in New Issue
Block a user