people/xl0/gpxe.git
17 years agoFirst version
Michael Brown [Wed, 27 Apr 2005 10:40:59 +0000 (10:40 +0000)]
First version

17 years agoAdded back in the actual call to load().
Michael Brown [Tue, 26 Apr 2005 17:12:07 +0000 (17:12 +0000)]
Added back in the actual call to load().

17 years agoAdd isapnp_max_csn to reduce scan time.
Michael Brown [Tue, 26 Apr 2005 14:07:30 +0000 (14:07 +0000)]
Add isapnp_max_csn to reduce scan time.

17 years agoISA bus driver updated to report devices as present only if a driver
Michael Brown [Tue, 26 Apr 2005 12:30:14 +0000 (12:30 +0000)]
ISA bus driver updated to report devices as present only if a driver
thinks they are.
Other bus drivers modified for consistency.

17 years agoPCI_DRIVER changed
Michael Brown [Tue, 26 Apr 2005 12:20:05 +0000 (12:20 +0000)]
PCI_DRIVER changed

17 years agoAutomatically updated with
Michael Brown [Tue, 26 Apr 2005 12:19:39 +0000 (12:19 +0000)]
Automatically updated with

perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c

17 years agoBIOS floppy handling code moved to where it will really live.
Michael Brown [Mon, 25 Apr 2005 19:29:55 +0000 (19:29 +0000)]
BIOS floppy handling code moved to where it will really live.

17 years agoAdded arch/i386/drivers/disk
Michael Brown [Mon, 25 Apr 2005 19:29:02 +0000 (19:29 +0000)]
Added arch/i386/drivers/disk

17 years agoImproved debug messages
Michael Brown [Mon, 25 Apr 2005 19:28:49 +0000 (19:28 +0000)]
Improved debug messages

17 years agos/{name,describe}/{name,describe}_device/
Michael Brown [Mon, 25 Apr 2005 19:27:53 +0000 (19:27 +0000)]
s/{name,describe}/{name,describe}_device/

17 years agoRenamed describe to describe_device for consistency
Michael Brown [Mon, 25 Apr 2005 19:27:25 +0000 (19:27 +0000)]
Renamed describe to describe_device for consistency

17 years agoAdded "name" field to struct bus_driver
Michael Brown [Mon, 25 Apr 2005 19:26:33 +0000 (19:26 +0000)]
Added "name" field to struct bus_driver

17 years agoAdded DBG2
Michael Brown [Mon, 25 Apr 2005 19:25:45 +0000 (19:25 +0000)]
Added DBG2

17 years agoAdded "name" field to bus structure.
Michael Brown [Mon, 25 Apr 2005 18:54:15 +0000 (18:54 +0000)]
Added "name" field to bus structure.

17 years agoAllow for multiple debug levels
Michael Brown [Mon, 25 Apr 2005 16:28:07 +0000 (16:28 +0000)]
Allow for multiple debug levels

17 years agoPrevent hundreds of errors from "make symcheck". The prefix exit path
Michael Brown [Sat, 23 Apr 2005 14:57:53 +0000 (14:57 +0000)]
Prevent hundreds of errors from "make symcheck".  The prefix exit path
mechanism has changed anyway, and so must be rewritten, but at least doing
this makes the output of "make symcheck" more legible.

17 years agoFixed to properly catch multiply defined symbols.
Michael Brown [Sat, 23 Apr 2005 14:54:30 +0000 (14:54 +0000)]
Fixed to properly catch multiply defined symbols.

17 years agoSymbol errors caught by symcheck.pl
Michael Brown [Sat, 23 Apr 2005 14:45:37 +0000 (14:45 +0000)]
Symbol errors caught by symcheck.pl

17 years agoAdded "make symcheck"
Michael Brown [Sat, 23 Apr 2005 14:41:38 +0000 (14:41 +0000)]
Added "make symcheck"

17 years agoFirst working version
Michael Brown [Sat, 23 Apr 2005 14:41:15 +0000 (14:41 +0000)]
First working version

17 years agoShould be an <= comparison, not a < comparison.
Michael Brown [Sat, 23 Apr 2005 14:34:00 +0000 (14:34 +0000)]
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)

17 years agoCoerced into compiling.
Michael Brown [Fri, 22 Apr 2005 16:40:10 +0000 (16:40 +0000)]
Coerced into compiling.

17 years agoMake it easier to comment out individual SRC directories when things
Michael Brown [Fri, 22 Apr 2005 16:36:44 +0000 (16:36 +0000)]
Make it easier to comment out individual SRC directories when things
are broken...  :)

17 years agoTypo
Michael Brown [Fri, 22 Apr 2005 16:32:29 +0000 (16:32 +0000)]
Typo

17 years agoEnsured that all drivers call xxx_fill_nic().
Michael Brown [Fri, 22 Apr 2005 16:31:52 +0000 (16:31 +0000)]
Ensured that all drivers call xxx_fill_nic().

17 years agoCoerced into compiling
Michael Brown [Fri, 22 Apr 2005 16:27:56 +0000 (16:27 +0000)]
Coerced into compiling

17 years agoUpdated to new device probing API
Michael Brown [Fri, 22 Apr 2005 16:24:21 +0000 (16:24 +0000)]
Updated to new device probing API

17 years agoCoerced into compiling
Michael Brown [Fri, 22 Apr 2005 16:09:54 +0000 (16:09 +0000)]
Coerced into compiling

17 years agoCoerced into compiling.
Michael Brown [Fri, 22 Apr 2005 16:07:48 +0000 (16:07 +0000)]
Coerced into compiling.

17 years agoCoerced into actually compiling.
Michael Brown [Fri, 22 Apr 2005 16:06:46 +0000 (16:06 +0000)]
Coerced into actually compiling.

17 years agoFields in struct pci_device slightly changed.
Michael Brown [Fri, 22 Apr 2005 16:05:05 +0000 (16:05 +0000)]
Fields in struct pci_device slightly changed.

17 years agoisapnp_read_port can be set directly, rather than via a function call.
Michael Brown [Fri, 22 Apr 2005 16:03:25 +0000 (16:03 +0000)]
isapnp_read_port can be set directly, rather than via a function call.

17 years agoUpdated debug messages
Michael Brown [Fri, 22 Apr 2005 16:02:12 +0000 (16:02 +0000)]
Updated debug messages

17 years agoDocumented where to get hold of the datasheet.
Michael Brown [Fri, 22 Apr 2005 16:01:51 +0000 (16:01 +0000)]
Documented where to get hold of the datasheet.

17 years agoUpdated to new API.
Michael Brown [Fri, 22 Apr 2005 16:00:51 +0000 (16:00 +0000)]
Updated to new API.

17 years agoDebug message fixes.
Michael Brown [Fri, 22 Apr 2005 15:56:57 +0000 (15:56 +0000)]
Debug message fixes.

17 years agoUpdated to new bus API, and improved using the 3c5x9 reference manual.
Michael Brown [Fri, 22 Apr 2005 15:55:13 +0000 (15:55 +0000)]
Updated to new bus API, and improved using the 3c5x9 reference manual.

17 years agoNeed to leave structure zeroed
Michael Brown [Fri, 22 Apr 2005 15:33:35 +0000 (15:33 +0000)]
Need to leave structure zeroed

17 years agodisable() is a void
Michael Brown [Fri, 22 Apr 2005 12:07:22 +0000 (12:07 +0000)]
disable() is a void

17 years agoMust not go beyond end of driver's probe list.
Michael Brown [Fri, 22 Apr 2005 12:02:34 +0000 (12:02 +0000)]
Must not go beyond end of driver's probe list.

17 years agoUpdated to current API.
Michael Brown [Fri, 22 Apr 2005 11:57:35 +0000 (11:57 +0000)]
Updated to current API.

17 years agoUpdated to new API.
Michael Brown [Fri, 22 Apr 2005 11:56:49 +0000 (11:56 +0000)]
Updated to new API.

17 years agoConsistency
Michael Brown [Fri, 22 Apr 2005 11:56:27 +0000 (11:56 +0000)]
Consistency

17 years agoUpdated to new device API.
Michael Brown [Fri, 22 Apr 2005 11:29:40 +0000 (11:29 +0000)]
Updated to new device API.

17 years agoFix up fill_mca_nic.
Michael Brown [Fri, 22 Apr 2005 02:47:39 +0000 (02:47 +0000)]
Fix up fill_mca_nic.

17 years agoAdded friendly enable/disable functions
Michael Brown [Fri, 22 Apr 2005 02:43:24 +0000 (02:43 +0000)]
Added friendly enable/disable functions

17 years agoUpdated all common buses to new API.
Michael Brown [Fri, 22 Apr 2005 02:28:16 +0000 (02:28 +0000)]
Updated all common buses to new API.

17 years agoRevert debug message prefix back to none, since we sometimes want to use
Michael Brown [Fri, 22 Apr 2005 02:27:59 +0000 (02:27 +0000)]
Revert debug message prefix back to none, since we sometimes want to use
DBG() several times to build up a line.

17 years agoAutomatically updated with the program
Michael Brown [Thu, 21 Apr 2005 19:20:39 +0000 (19:20 +0000)]
Automatically updated with the program

#!/usr/bin/perl -w -pi -0777

use strict;

( my $type ) = /find_(\w+?)_boot_device/ or die "Could not find type\n";

( my $disable ) = /\.disable\s*=\s*(\w+)/ or die "Could not locate disable\n";

s/(${disable}\s*\(\s*struct\s+nic\s+\*nic)(\s*\)\s*\{)(\s*)/${1}, struct ${type}_device \*${type} __unused${2}${3}nic_disable ( nic );${3}/s;

s/(${disable}\s*\(\s*struct\s+nic\s+\*nic)(\s*\)\s*;)/${1}, struct ${type}_device \*${type}${2}/g;

s/^\s*.disable\s*=\s*${disable}\s*,\s*?$//m;

s/(_probe\s*\(\s*)struct\s+dev\s+\*dev/${1}struct nic \*nic/g;

s/^\s*struct\s+nic\s+\*nic\s*=\s*nic_device\s*\(\s*dev\s*\)\s*;\s*?$//m;

s/^(\s*)(nic->(ioaddr|irqno)\s*=\s*${type})/${1}${type}_fill_nic ( nic, ${type} );\n${1}${2}/m;

17 years agoTweaked API to minimise changes to existing drivers even further.
Michael Brown [Thu, 21 Apr 2005 19:04:53 +0000 (19:04 +0000)]
Tweaked API to minimise changes to existing drivers even further.

17 years agoUpdated to current API
Michael Brown [Thu, 21 Apr 2005 18:31:31 +0000 (18:31 +0000)]
Updated to current API

17 years agoMade macros more like the previous driver API, to minimise required
Michael Brown [Thu, 21 Apr 2005 18:30:12 +0000 (18:30 +0000)]
Made macros more like the previous driver API, to minimise required
changes.

17 years agoCreated a bus/device API that allows for the ROM prefix to specify an
Michael Brown [Thu, 21 Apr 2005 18:18:29 +0000 (18:18 +0000)]
Created a bus/device API that allows for the ROM prefix to specify an
initial device, and will also allow for e.g. a device menu to be presented
to the user.

17 years agoForce a standard format upon debug messages.
Michael Brown [Thu, 21 Apr 2005 18:16:54 +0000 (18:16 +0000)]
Force a standard format upon debug messages.

17 years agoTypo
Michael Brown [Thu, 21 Apr 2005 18:15:31 +0000 (18:15 +0000)]
Typo

17 years agobswap_16() exists; no need to use __bswap_16()
Michael Brown [Thu, 21 Apr 2005 16:38:28 +0000 (16:38 +0000)]
bswap_16() exists; no need to use __bswap_16()

17 years agoTrying to create a bus API.
Michael Brown [Wed, 20 Apr 2005 00:29:12 +0000 (00:29 +0000)]
Trying to create a bus API.

17 years agoFirst versions
Michael Brown [Tue, 19 Apr 2005 14:17:42 +0000 (14:17 +0000)]
First versions

17 years agoMoved floppy.c to i386 arch, since it's i386-specific.
Michael Brown [Mon, 18 Apr 2005 18:56:18 +0000 (18:56 +0000)]
Moved floppy.c to i386 arch, since it's i386-specific.

17 years agoAdded remaining bus functions.
Michael Brown [Mon, 18 Apr 2005 18:54:27 +0000 (18:54 +0000)]
Added remaining bus functions.

17 years agoCode fixed to operate correctly.
Michael Brown [Mon, 18 Apr 2005 15:48:20 +0000 (15:48 +0000)]
Code fixed to operate correctly.

17 years agoExtracted from firmware/pcbios/bios.c
Michael Brown [Mon, 18 Apr 2005 15:39:02 +0000 (15:39 +0000)]
Extracted from firmware/pcbios/bios.c

17 years agoAdded arch/i386/drivers/bus
Michael Brown [Mon, 18 Apr 2005 15:37:17 +0000 (15:37 +0000)]
Added arch/i386/drivers/bus

17 years agoMoved disk functions to drivers/bus/bios_disks.c
Michael Brown [Mon, 18 Apr 2005 15:35:39 +0000 (15:35 +0000)]
Moved disk functions to drivers/bus/bios_disks.c

17 years agoblib definition moved to Makefile.housekeeping.
Michael Brown [Mon, 18 Apr 2005 14:40:57 +0000 (14:40 +0000)]
blib definition moved to Makefile.housekeeping.

17 years agoFix endianness of dhcp device id structure.
Michael Brown [Mon, 18 Apr 2005 14:38:51 +0000 (14:38 +0000)]
Fix endianness of dhcp device id structure.

17 years ago"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly. :)
Michael Brown [Mon, 18 Apr 2005 14:16:13 +0000 (14:16 +0000)]
"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly.  :)

17 years ago"make xxx DEBUG=yyy,zzz" now working, but the "up to date" message is
Michael Brown [Mon, 18 Apr 2005 13:55:57 +0000 (13:55 +0000)]
"make xxx DEBUG=yyy,zzz" now working, but the "up to date" message is
getting suppressed.  :(

17 years agoBe nice to emacs
Michael Brown [Mon, 18 Apr 2005 12:59:50 +0000 (12:59 +0000)]
Be nice to emacs

17 years agoIgnore buildserial-related files.
Michael Brown [Mon, 18 Apr 2005 12:55:45 +0000 (12:55 +0000)]
Ignore buildserial-related files.

17 years agoNote to self: save files before checking in.
Michael Brown [Mon, 18 Apr 2005 12:54:27 +0000 (12:54 +0000)]
Note to self: save files before checking in.

17 years agoAdded warning about not using Config for single-object options.
Michael Brown [Mon, 18 Apr 2005 12:53:39 +0000 (12:53 +0000)]
Added warning about not using Config for single-object options.

17 years agoThis is, of course, the neater and much more obvious way to do it.
Michael Brown [Mon, 18 Apr 2005 12:45:31 +0000 (12:45 +0000)]
This is, of course, the neater and much more obvious way to do it.

17 years agoFix BUILD_SERIAL.
Michael Brown [Mon, 18 Apr 2005 12:43:18 +0000 (12:43 +0000)]
Fix BUILD_SERIAL.

Change from using #if to #ifdef, since #if can't cope with string
constants.

17 years agoMove RELOCATE into config.h
Michael Brown [Mon, 18 Apr 2005 11:00:42 +0000 (11:00 +0000)]
Move RELOCATE into config.h

Move ISA probe address logic from config.c into isa.c, create header file
config/isa.h.

17 years agoMoved console options to config.h
Michael Brown [Mon, 18 Apr 2005 10:19:36 +0000 (10:19 +0000)]
Moved console options to config.h

Removed CONFIG_{PCI,ISA,PCMCIA}, since buses are now always compiled and
linked in only if required by the individual driver objects.

17 years agoCONFIG_PCI and CONFIG_ISA no longer exist
Michael Brown [Mon, 18 Apr 2005 10:18:38 +0000 (10:18 +0000)]
CONFIG_PCI and CONFIG_ISA no longer exist

17 years agoSave a few bytes by using naturally-sized ints.
Michael Brown [Mon, 18 Apr 2005 09:17:27 +0000 (09:17 +0000)]
Save a few bytes by using naturally-sized ints.

17 years agoSplit out EISA driver into a separate file, since 3c509s can only take 16K
Michael Brown [Sun, 17 Apr 2005 17:52:33 +0000 (17:52 +0000)]
Split out EISA driver into a separate file, since 3c509s can only take 16K
ROMs (AFAIK).

17 years agoAvoid deleting .cvsignore
Michael Brown [Sun, 17 Apr 2005 16:24:36 +0000 (16:24 +0000)]
Avoid deleting .cvsignore

17 years agoSerial port configuration moved to config.h
Michael Brown [Sun, 17 Apr 2005 16:18:20 +0000 (16:18 +0000)]
Serial port configuration moved to config.h

17 years agoWhoops
Michael Brown [Sun, 17 Apr 2005 16:16:02 +0000 (16:16 +0000)]
Whoops

17 years agoAllow serial port options to be specified in a relatively friendly format.
Michael Brown [Sun, 17 Apr 2005 16:15:46 +0000 (16:15 +0000)]
Allow serial port options to be specified in a relatively friendly format.

17 years agoWorking format.
Michael Brown [Sun, 17 Apr 2005 16:01:13 +0000 (16:01 +0000)]
Working format.

17 years agoAdd MKCONFIG utility, and add "-I ." to CFLAGS so that we can work
Michael Brown [Sun, 17 Apr 2005 15:58:39 +0000 (15:58 +0000)]
Add MKCONFIG utility, and add "-I ." to CFLAGS so that we can work
with generated headers.

17 years agoUse mkconfig.pl to generate fragments from config.h
Michael Brown [Sun, 17 Apr 2005 15:57:34 +0000 (15:57 +0000)]
Use mkconfig.pl to generate fragments from config.h

Don't use -MP to generate phony rules for included files, otherwise
make won't use the pattern rule for config/%.h.  :(

17 years agoIf we end up with fragments that are older than config.h, set the
Michael Brown [Sun, 17 Apr 2005 15:56:32 +0000 (15:56 +0000)]
If we end up with fragments that are older than config.h, set the
timestamp on config.h to match the oldest fragment, to prevent make
from always attempting to rebuild the fragments.

17 years agoAll .h files in this directory are generated from the top-level config.h
Michael Brown [Sun, 17 Apr 2005 15:36:15 +0000 (15:36 +0000)]
All .h files in this directory are generated from the top-level config.h

17 years agoGenerate phony targets, so that we don't get screwed by missing config
Michael Brown [Sun, 17 Apr 2005 15:31:06 +0000 (15:31 +0000)]
Generate phony targets, so that we don't get screwed by missing config
header files.

17 years agoFirst version
Michael Brown [Sun, 17 Apr 2005 15:25:09 +0000 (15:25 +0000)]
First version

17 years agoExperiment; let's see if we can get individual config header files working.
Michael Brown [Sun, 17 Apr 2005 14:08:40 +0000 (14:08 +0000)]
Experiment; let's see if we can get individual config header files working.

17 years agoFound a home for MAKEROM_FLAGS_3c503.
Michael Brown [Sun, 17 Apr 2005 13:25:43 +0000 (13:25 +0000)]
Found a home for MAKEROM_FLAGS_3c503.

17 years ago3c509/3c529 no longer use legacy INCLUDE_xxx mechanism.
Michael Brown [Sun, 17 Apr 2005 13:16:13 +0000 (13:16 +0000)]
3c509/3c529 no longer use legacy INCLUDE_xxx mechanism.

17 years agoxstart16() fixed up to use new REAL_EXEC mechanism.
Michael Brown [Sun, 17 Apr 2005 12:36:45 +0000 (12:36 +0000)]
xstart16() fixed up to use new REAL_EXEC mechanism.

17 years agoMade copy_{to,from}_real volatile, so that they don't get optimised away.
Michael Brown [Sun, 17 Apr 2005 12:17:06 +0000 (12:17 +0000)]
Made copy_{to,from}_real volatile, so that they don't get optimised away.
Added REAL_FRAGMENT(), because it could conceivably be useful.

17 years agoWe don't refer to _bss and _ebss any more.
Michael Brown [Sun, 17 Apr 2005 11:47:18 +0000 (11:47 +0000)]
We don't refer to _bss and _ebss any more.

17 years agoRe-add the "." progress indicator.
Michael Brown [Sun, 17 Apr 2005 11:40:24 +0000 (11:40 +0000)]
Re-add the "." progress indicator.

17 years agoUse only the header files that we need
Michael Brown [Sun, 17 Apr 2005 10:51:05 +0000 (10:51 +0000)]
Use only the header files that we need

17 years agoNeed stddef.h to get size_t
Michael Brown [Sun, 17 Apr 2005 10:48:56 +0000 (10:48 +0000)]
Need stddef.h to get size_t

17 years agoprintf and sprintf now defined in vsprintf.h, drag in console.h to get
Michael Brown [Sun, 17 Apr 2005 10:45:13 +0000 (10:45 +0000)]
printf and sprintf now defined in vsprintf.h, drag in console.h to get
putchar() as well.