aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/eeprom
Commit message (Collapse)AuthorAgeFilesLines
* MFC: 1.6Marius Strobl2006-09-021-2/+2
| | | | | | | Add missing '?' in "watchdog-enable?". Notes: svn path=/stable/6/; revision=161916
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-111-1/+1
| | | | Notes: svn path=/head/; revision=140063
* Save on one variable in ofwo_action(). Leftover from an older version ofMarius Strobl2004-08-151-3/+1
| | | | | | | this function which needed the handle of the /options node more than once. Notes: svn path=/head/; revision=133768
* - Correct the description of the "local-mac-address?" variable. Not all NICsMarius Strobl2004-08-151-4/+43
| | | | | | | | | | | | use it, only those with FCode. Add references to dc(4), gem(4) and hme(4) for obtaining further information about such devices presently supported by FreeBSD. - Correct the HISTORY section. There was an eeprom(8) utility in 4.4BSD and early versions of FreeBSD 2.x. - Add an AUTHORS section. Notes: svn path=/head/; revision=133767
* Move __iniline function definition before its first usage in the file.Alexander Kabaev2004-07-281-8/+7
| | | | Notes: svn path=/head/; revision=132788
* Add eeprom(8), a utility to display and modify system configurationsMarius Strobl2004-05-225-0/+1181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stored in EEPROM or NVRAM. It's inspired by the NetBSD eeprom(8) and the SunOS/Solaris eeprom(1M) utilities. Currently, this eeprom(8) only supports systems equipped with Open Firmware and is only tested on Sun machines but should work on any platform using Open Firmware. A bit more specific, eeprom(8) can be used on these systems to do the same under FreeBSD as can be done using the printenv and setenv commandos in the boot monitor. One thing that only hardly can be done using the boot monitor but easily with eeprom(8) is to write a logo to the "oem-logo" property. eeprom(8) may also be useful to recover the boot monitor password (in the default configuration only as root, of course), i.e. when the boot monitor allows you to boot but you can't alter the configuration because the password is unknown. The man page may also be a useful reference of the various configuration variables. The idea of eeprom(8) is that handlers can be written to add support for any firmware that stores such configuration in EEPROM or NVRAM; sort of e.g. eeprom(1M) on Solaris/x86 is used to turn PAE-support on and off (stored in a file then, not hardware). In FreeBSD, a candidate for this would be a handler for the EFI boot environment for FreeBSD/ia64. eeprom(8) uses some code from NetBSD (eeprom.c and the base for eeprom.8), the handler for the Open Firmware /options node (ofw_options.[c,h]) was written using ofw_util.[c,h] from ofwdump(8). Reviewed by: ru (slightly earlier version of the man page) Notes: svn path=/head/; revision=129590
* Remove eeprom too as more unused stuff.Gary Palmer1996-07-184-324/+0
| | | | | | | Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de> Notes: svn path=/head/; revision=17219
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8857
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-264-0/+324
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553