Michael Brown [Fri, 29 Apr 2005 13:17:25 +0000 (13:17 +0000)]
First version
Michael Brown [Thu, 28 Apr 2005 13:47:36 +0000 (13:47 +0000)]
First version
Michael Brown [Thu, 28 Apr 2005 13:20:02 +0000 (13:20 +0000)]
Much, much smaller. :)
Michael Brown [Thu, 28 Apr 2005 12:12:11 +0000 (12:12 +0000)]
First version: far too large (408 bytes!!!)
Michael Brown [Wed, 27 Apr 2005 12:24:38 +0000 (12:24 +0000)]
isa.c uses the new table infrastructure.
Michael Brown [Wed, 27 Apr 2005 12:20:54 +0000 (12:20 +0000)]
dev.c uses the new tables infrastructure.
Michael Brown [Wed, 27 Apr 2005 12:17:09 +0000 (12:17 +0000)]
Missing include
Michael Brown [Wed, 27 Apr 2005 12:10:24 +0000 (12:10 +0000)]
Post-relocation functions use the generic table mechanism.
Michael Brown [Wed, 27 Apr 2005 12:08:52 +0000 (12:08 +0000)]
Use PREFIX_OBJECT to give the init_fn table variables meaningful names.
Michael Brown [Wed, 27 Apr 2005 12:08:13 +0000 (12:08 +0000)]
Special handling for symbols of the form "xxx_end", to make table end
markers appear before the symbols that immediately follow the table.
Michael Brown [Wed, 27 Apr 2005 11:59:37 +0000 (11:59 +0000)]
Added PREFIX_OBJECT() function to be able to easily prepend any string
to the object name in order to generate e.g. per-file variables.
Michael Brown [Wed, 27 Apr 2005 11:38:43 +0000 (11:38 +0000)]
console.c uses the generic table mechanism
Michael Brown [Wed, 27 Apr 2005 11:27:38 +0000 (11:27 +0000)]
Linker no longer provides start and end symbols for each table; these
markers are now static labels within the objects that refer to them.
Michael Brown [Wed, 27 Apr 2005 11:25:21 +0000 (11:25 +0000)]
Use new generic tables infrastructure
Michael Brown [Wed, 27 Apr 2005 11:22:46 +0000 (11:22 +0000)]
Added a generalised table infrastructure, so that we don't have to
keep adding new tables to each architecture's linker scripts.
Michael Brown [Wed, 27 Apr 2005 10:55:12 +0000 (10:55 +0000)]
Produce a sorted list of all local symbols in the map file.
Michael Brown [Wed, 27 Apr 2005 10:54:33 +0000 (10:54 +0000)]
Use symbol size as a third index, mainly so that zero-length symbols
(e.g. section start indicators) show up before the symbols they're
indicating the start of.
Michael Brown [Wed, 27 Apr 2005 10:40:59 +0000 (10:40 +0000)]
First version
Michael Brown [Tue, 26 Apr 2005 17:12:07 +0000 (17:12 +0000)]
Added back in the actual call to load().
Michael Brown [Tue, 26 Apr 2005 14:07:30 +0000 (14:07 +0000)]
Add isapnp_max_csn to reduce scan time.
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.
Michael Brown [Tue, 26 Apr 2005 12:20:05 +0000 (12:20 +0000)]
PCI_DRIVER changed
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
Michael Brown [Mon, 25 Apr 2005 19:29:55 +0000 (19:29 +0000)]
BIOS floppy handling code moved to where it will really live.
Michael Brown [Mon, 25 Apr 2005 19:29:02 +0000 (19:29 +0000)]
Added arch/i386/drivers/disk
Michael Brown [Mon, 25 Apr 2005 19:28:49 +0000 (19:28 +0000)]
Improved debug messages
Michael Brown [Mon, 25 Apr 2005 19:27:53 +0000 (19:27 +0000)]
s/{name,describe}/{name,describe}_device/
Michael Brown [Mon, 25 Apr 2005 19:27:25 +0000 (19:27 +0000)]
Renamed describe to describe_device for consistency
Michael Brown [Mon, 25 Apr 2005 19:26:33 +0000 (19:26 +0000)]
Added "name" field to struct bus_driver
Michael Brown [Mon, 25 Apr 2005 19:25:45 +0000 (19:25 +0000)]
Added DBG2
Michael Brown [Mon, 25 Apr 2005 18:54:15 +0000 (18:54 +0000)]
Added "name" field to bus structure.
Michael Brown [Mon, 25 Apr 2005 16:28:07 +0000 (16:28 +0000)]
Allow for multiple debug levels
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.
Michael Brown [Sat, 23 Apr 2005 14:54:30 +0000 (14:54 +0000)]
Fixed to properly catch multiply defined symbols.
Michael Brown [Sat, 23 Apr 2005 14:45:37 +0000 (14:45 +0000)]
Symbol errors caught by symcheck.pl
Michael Brown [Sat, 23 Apr 2005 14:41:38 +0000 (14:41 +0000)]
Added "make symcheck"
Michael Brown [Sat, 23 Apr 2005 14:41:15 +0000 (14:41 +0000)]
First working version
Michael Brown [Sat, 23 Apr 2005 14:34:00 +0000 (14:34 +0000)]
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)
Michael Brown [Fri, 22 Apr 2005 16:40:10 +0000 (16:40 +0000)]
Coerced into compiling.
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... :)
Michael Brown [Fri, 22 Apr 2005 16:32:29 +0000 (16:32 +0000)]
Typo
Michael Brown [Fri, 22 Apr 2005 16:31:52 +0000 (16:31 +0000)]
Ensured that all drivers call xxx_fill_nic().
Michael Brown [Fri, 22 Apr 2005 16:27:56 +0000 (16:27 +0000)]
Coerced into compiling
Michael Brown [Fri, 22 Apr 2005 16:24:21 +0000 (16:24 +0000)]
Updated to new device probing API
Michael Brown [Fri, 22 Apr 2005 16:09:54 +0000 (16:09 +0000)]
Coerced into compiling
Michael Brown [Fri, 22 Apr 2005 16:07:48 +0000 (16:07 +0000)]
Coerced into compiling.
Michael Brown [Fri, 22 Apr 2005 16:06:46 +0000 (16:06 +0000)]
Coerced into actually compiling.
Michael Brown [Fri, 22 Apr 2005 16:05:05 +0000 (16:05 +0000)]
Fields in struct pci_device slightly changed.
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.
Michael Brown [Fri, 22 Apr 2005 16:02:12 +0000 (16:02 +0000)]
Updated debug messages
Michael Brown [Fri, 22 Apr 2005 16:01:51 +0000 (16:01 +0000)]
Documented where to get hold of the datasheet.
Michael Brown [Fri, 22 Apr 2005 16:00:51 +0000 (16:00 +0000)]
Updated to new API.
Michael Brown [Fri, 22 Apr 2005 15:56:57 +0000 (15:56 +0000)]
Debug message fixes.
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.
Michael Brown [Fri, 22 Apr 2005 15:33:35 +0000 (15:33 +0000)]
Need to leave structure zeroed
Michael Brown [Fri, 22 Apr 2005 12:07:22 +0000 (12:07 +0000)]
disable() is a void
Michael Brown [Fri, 22 Apr 2005 12:02:34 +0000 (12:02 +0000)]
Must not go beyond end of driver's probe list.
Michael Brown [Fri, 22 Apr 2005 11:57:35 +0000 (11:57 +0000)]
Updated to current API.
Michael Brown [Fri, 22 Apr 2005 11:56:49 +0000 (11:56 +0000)]
Updated to new API.
Michael Brown [Fri, 22 Apr 2005 11:56:27 +0000 (11:56 +0000)]
Consistency
Michael Brown [Fri, 22 Apr 2005 11:29:40 +0000 (11:29 +0000)]
Updated to new device API.
Michael Brown [Fri, 22 Apr 2005 02:47:39 +0000 (02:47 +0000)]
Fix up fill_mca_nic.
Michael Brown [Fri, 22 Apr 2005 02:43:24 +0000 (02:43 +0000)]
Added friendly enable/disable functions
Michael Brown [Fri, 22 Apr 2005 02:28:16 +0000 (02:28 +0000)]
Updated all common buses to new API.
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.
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;
Michael Brown [Thu, 21 Apr 2005 19:04:53 +0000 (19:04 +0000)]
Tweaked API to minimise changes to existing drivers even further.
Michael Brown [Thu, 21 Apr 2005 18:31:31 +0000 (18:31 +0000)]
Updated to current API
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.
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.
Michael Brown [Thu, 21 Apr 2005 18:16:54 +0000 (18:16 +0000)]
Force a standard format upon debug messages.
Michael Brown [Thu, 21 Apr 2005 18:15:31 +0000 (18:15 +0000)]
Typo
Michael Brown [Thu, 21 Apr 2005 16:38:28 +0000 (16:38 +0000)]
bswap_16() exists; no need to use __bswap_16()
Michael Brown [Wed, 20 Apr 2005 00:29:12 +0000 (00:29 +0000)]
Trying to create a bus API.
Michael Brown [Tue, 19 Apr 2005 14:17:42 +0000 (14:17 +0000)]
First versions
Michael Brown [Mon, 18 Apr 2005 18:56:18 +0000 (18:56 +0000)]
Moved floppy.c to i386 arch, since it's i386-specific.
Michael Brown [Mon, 18 Apr 2005 18:54:27 +0000 (18:54 +0000)]
Added remaining bus functions.
Michael Brown [Mon, 18 Apr 2005 15:48:20 +0000 (15:48 +0000)]
Code fixed to operate correctly.
Michael Brown [Mon, 18 Apr 2005 15:39:02 +0000 (15:39 +0000)]
Extracted from firmware/pcbios/bios.c
Michael Brown [Mon, 18 Apr 2005 15:37:17 +0000 (15:37 +0000)]
Added arch/i386/drivers/bus
Michael Brown [Mon, 18 Apr 2005 15:35:39 +0000 (15:35 +0000)]
Moved disk functions to drivers/bus/bios_disks.c
Michael Brown [Mon, 18 Apr 2005 14:40:57 +0000 (14:40 +0000)]
blib definition moved to Makefile.housekeeping.
Michael Brown [Mon, 18 Apr 2005 14:38:51 +0000 (14:38 +0000)]
Fix endianness of dhcp device id structure.
Michael Brown [Mon, 18 Apr 2005 14:16:13 +0000 (14:16 +0000)]
"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly. :)
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. :(
Michael Brown [Mon, 18 Apr 2005 12:59:50 +0000 (12:59 +0000)]
Be nice to emacs
Michael Brown [Mon, 18 Apr 2005 12:55:45 +0000 (12:55 +0000)]
Ignore buildserial-related files.
Michael Brown [Mon, 18 Apr 2005 12:54:27 +0000 (12:54 +0000)]
Note to self: save files before checking in.
Michael Brown [Mon, 18 Apr 2005 12:53:39 +0000 (12:53 +0000)]
Added warning about not using Config for single-object options.
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.
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.
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.
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.
Michael Brown [Mon, 18 Apr 2005 10:18:38 +0000 (10:18 +0000)]
CONFIG_PCI and CONFIG_ISA no longer exist
Michael Brown [Mon, 18 Apr 2005 09:17:27 +0000 (09:17 +0000)]
Save a few bytes by using naturally-sized ints.
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).
Michael Brown [Sun, 17 Apr 2005 16:24:36 +0000 (16:24 +0000)]
Avoid deleting .cvsignore
Michael Brown [Sun, 17 Apr 2005 16:18:20 +0000 (16:18 +0000)]
Serial port configuration moved to config.h
Michael Brown [Sun, 17 Apr 2005 16:16:02 +0000 (16:16 +0000)]
Whoops
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.