On Tue, Sep 25, 2007 at 03:53:21PM -0700, ron minnich wrote:
> Robert, I understand the reason for the include of the .c files, but
> go ahead and just copy the code. We've tried both ways, over the
> years, and it's better to clone the code, since the vendors have a
> habit of changing things on mainboards, and code that includes other
> code can cause trouble in both directions.
Ok. Here's an updated patch (with the new svn recipe included).
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Signed-off-by: Robert Millan <[EMAIL PROTECTED]>
The following files are copied from the repository:
for i in Config.lb Options.lb cmos.layout \
mptable.c irq_tables.c mainboard.c get_bus_conf.c cache_as_ram_auto.c ; do
svn copy src/mainboard/asus/a8n_e/$i src/mainboard/asus/a8n5x/
done
svn copy targets/asus/a8n_e/Config.lb targets/asus/a8n5x/
Index: src/mainboard/asus/a8n5x/Config.lb
===================================================================
--- src/mainboard/asus/a8n5x/Config.lb (revision 0)
+++ src/mainboard/asus/a8n5x/Config.lb (working copy)
@@ -241,56 +241,28 @@
device pci 0.0 on end # HT
device pci 1.0 on # LPC
chip superio/ite/it8712f # Super I/O
- device pnp 2e.0 off # Floppy
+ device pnp 2e.7 off # Floppy
io 0x60 = 0x3f0
irq 0x70 = 6
drq 0x74 = 2
end
- device pnp 2e.1 on # Com1
+ device pnp 2e.8 on # Com1
io 0x60 = 0x3f8
irq 0x70 = 4
end
- device pnp 2e.2 off # Com2
- io 0x60 = 0x2f8
- irq 0x70 = 3
- end
- device pnp 2e.3 on # Parallel port
+ device pnp 2e.9 on # Parallel port
io 0x60 = 0x378
irq 0x70 = 7
+ drq 0x74 = 3
end
- device pnp 2e.4 on # Environment controller
- io 0x60 = 0x290
- io 0x62 = 0x0000
- irq 0x70 = 0x00
- end
- device pnp 2e.5 on # PS/2 keyboard
+ device pnp 2e.a on # PS/2 keyboard
io 0x60 = 0x60
io 0x62 = 0x64
irq 0x70 = 1
irq 0x71 = 2
end
- device pnp 2e.6 on # PS/2 mouse
- irq 0x70 = 12
- irq 0x71 = 2
- end
- device pnp 2e.7 on # GPIO config
- # Set GPIO 1 & 2
- io 0x25 = 0x0000
- # Set GPIO 3 & 4
- io 0x27 = 0x2540
- # GPIO Polarity for Set 3
- io 0xb2 = 0x2100
- # GPIO Pin Internal Pull up for Set 3
- io 0xba = 0x0100
- # Simple I/O register config
- io 0xc0 = 0x0000
- io 0xc2 = 0x2540
- io 0xc8 = 0x0000
- io 0xca = 0x0500
- end
- device pnp 2e.8 off end # Midi port
- device pnp 2e.9 off end # Game port
- device pnp 2e.a off end # IR
+ device pnp 2e.b off end # Midi port
+ device pnp 2e.c off end # Game port
end
end
device pci 1.1 on # SM 0
Index: targets/asus/a8n5x/Config.lb
===================================================================
--- targets/asus/a8n5x/Config.lb (revision 0)
+++ targets/asus/a8n5x/Config.lb (working copy)
@@ -19,8 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-target asus_a8n_e
-mainboard asus/a8n_e
+target asus_a8n5x
+mainboard asus/a8n5x
romimage "normal"
option USE_FAILOVER_IMAGE=0
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios