summaryrefslogtreecommitdiffstats
path: root/usr.sbin/eeprom
Commit message (Collapse)AuthorAgeFilesLines
* Save on one variable in ofwo_action(). Leftover from an older version ofmarius2004-08-151-3/+1
| | | | this function which needed the handle of the /options node more than once.
* - Correct the description of the "local-mac-address?" variable. Not all NICsmarius2004-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.
* Move __iniline function definition before its first usage in the file.kan2004-07-281-8/+7
|
* Add eeprom(8), a utility to display and modify system configurationsmarius2004-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)
* Remove eeprom too as more unused stuff.gpalmer1996-07-184-324/+0
| | | | Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-264-0/+324
OpenPOWER on IntegriCloud