Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 00:08:58 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        erich@lodgenet.com, hasty@rah.star-gate.com
Cc:        hackers@freebsd.org
Subject:   Re: FreeBSD smc program to set smc card?
Message-ID:  <199609191408.AAA11630@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>ftp://cesdis1.gsfc.nasa.gov/pub/linux/setup/
>ftp://sunsite.unc.edu/system/Network/management/ewrk3tools-0.20.tar.gz
>wdsetup-0.6a.tar.gz is the smc setup program.
>
>the following sed script does most of the work to get 'em to compile,
>dunno if they run though.  I'll try to test the ones I've got hardware
>for.
>
>sed -e 's:ioperm([^)]*):open("/dev/io", O_RDWR):' \
>    -e -e 's,asm/io.h,machine/cpufunc.h,'

It probably won't work.  The args to outb() are reversed (wrong :-) in
Linux.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609191408.AAA11630>