Commit Graph

37 Commits

Author SHA1 Message Date
macallan 4c36dff3e4 include openfirmio.h when needed 2006-08-17 03:50:21 +00:00
macallan ad53a0a585 Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
2006-08-16 03:24:57 +00:00
dsl 9d34a2e458 More fallout from removing the (int) casts from ctype.h
Should fix PR/28082
2004-11-08 08:05:20 +00:00
christos d434bff667 Unsigned char casts for ctype functions. 2004-11-06 18:18:33 +00:00
petrov 209bf42bf9 Add CPPFLAGS. 2003-05-08 20:24:10 +00:00
perry 4eabc653ac OpenProm -> openprom (apparently how Sun prefers it.)
inteteger -> integer
rts/cts -> RTS/CTS
xon/xoff -> Xon/Xoff
All from Igor Sobrado, PR misc/20737
2003-03-31 01:31:39 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz c1f53358ea Fix typos. Found by Adrian Mrva. 2002-10-29 16:16:58 +00:00
mrg 04ccd30c07 don't build eehandlers.c on MACHINE_ARCH!=sparc64 2002-07-19 02:26:40 +00:00
tron 87733e3d43 Fix typo noted by Sune Stjerneby in PR port-sparc/15640. 2002-02-17 20:53:35 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz 51d5c7d6bd Whitespace nit, sort sections. 2002-01-19 03:11:34 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
jmc 5ec07d55ff Hmm...My last change was a bit too drastic. Sun3's would never run the inner
bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
2001-01-29 03:11:50 +00:00
jmc f8c082d5a5 Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
2001-01-28 22:22:25 +00:00
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
mrg 7996c8de3a de-__P-ify. 2000-11-19 11:15:01 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
bjh21 ff579c68fd Style nit -- hard-coded path names belong in pathnames.h. 2000-09-24 09:45:55 +00:00
itojun bbef2fbaac errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd 2000-07-07 15:10:32 +00:00
eeh 3efdc5b597 This is also useful for sparc64. 1999-01-17 20:02:29 +00:00
lukem 5e14541b5b use YPREFIX 1998-11-01 03:51:16 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
lukem c9fcc32882 deprecate register, use memset/memmove instead of bzero/bcopy 1997-10-18 08:40:40 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
jeremy fe56753f5e Add sun3x to the list of machines using this program. 1997-09-24 07:22:37 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
fair 1f7596052f fix a compile error on non-sparc 1997-07-28 19:29:54 +00:00
thorpej 70e9bf3e24 Oops, somehow the last commit got screwed up. 1997-07-23 21:02:39 +00:00
thorpej 2434f06806 - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
1997-07-23 20:58:36 +00:00
mrg 0553741950 move man pages into share/man. 1997-06-23 04:51:16 +00:00
mrg a9437d1189 be safe with buffers. 1997-04-13 13:36:46 +00:00
thorpej f4fab42521 Discard setgid privileges if we don't need them.
From Mike Grupenhoff <kashmir@vanquish.umiacs.umd.edu>, PR #2646.
1996-09-27 02:39:46 +00:00
thorpej 7356f2c747 Fix think-o in the code that deals with multiple field names passed
on the command line.
1996-05-16 16:00:55 +00:00
thorpej c479d69ad9 Copyright assigned to The NetBSD Foundation. 1996-02-28 01:13:20 +00:00
thorpej b7c1140c05 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:17:28 +00:00
thorpej da9b1f7603 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:07:19 +00:00