summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2005-06-28 20:12:49 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2005-06-28 20:12:49 +0000
commit24f1cea82c9248ad58ccf60a281e071f3898a64d (patch)
tree42f5103557cfd95e08ccbc201f6ae985bb549e31 /dev-embedded/uisp
parentFix #97281. (diff)
downloadgentoo-2-24f1cea82c9248ad58ccf60a281e071f3898a64d.tar.gz
gentoo-2-24f1cea82c9248ad58ccf60a281e071f3898a64d.tar.bz2
gentoo-2-24f1cea82c9248ad58ccf60a281e071f3898a64d.zip
Wrong patch, bleh
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-embedded/uisp')
-rw-r--r--dev-embedded/uisp/files/mega-48-88-168.patch18
1 files changed, 3 insertions, 15 deletions
diff --git a/dev-embedded/uisp/files/mega-48-88-168.patch b/dev-embedded/uisp/files/mega-48-88-168.patch
index 730078bb9845..dad337b740a7 100644
--- a/dev-embedded/uisp/files/mega-48-88-168.patch
+++ b/dev-embedded/uisp/files/mega-48-88-168.patch
@@ -1,12 +1,12 @@
-diff -Nura uisp-20050207/src/Avr.C uisp-20050207-mega-48-88-168/src/Avr.C
+diff -Nura uisp-20050207/src/Avr.C uisp-20050207+mega-48-88-168/src/Avr.C
--- uisp-20050207/src/Avr.C 2005-02-07 19:55:08.000000000 -0300
-+++ uisp-20050207-mega-48-88-168/src/Avr.C 2005-06-28 16:37:58.000000000 -0300
++++ uisp-20050207+mega-48-88-168/src/Avr.C 2005-06-28 17:11:15.000000000 -0300
@@ -77,7 +77,7 @@
/* no longer in production? -> use 8515, 8535 instead */
{ "AT90S4414", 0x92, 0x01, 4096, 0, 256, 4000, 4000, AVR_2313 },
{ "AT90S4434", 0x92, 0x02, 4096, 0, 256, 4000, 4000, AVR_8535 },
- { "ATmega48", 0x92, 0x05, 4096, 0, 256, 4000, 4000, AVR_M163 },
-+ { "ATmega48", 0x92, 0x05, 4096, 32, 256, 2000, 1500, AVR_M48 },
++ { "ATmega48", 0x92, 0x05, 4096, 32, 256, 2000, 1500, AVR_M163 },
{ "AT90S8515", 0x93, 0x01, 8192, 0, 512, 4000, 4000, AVR_2313 },
{ "AT90S8535", 0x93, 0x03, 8192, 0, 512, 4000, 4000, AVR_8535 },
@@ -27,15 +27,3 @@ diff -Nura uisp-20050207/src/Avr.C uisp-20050207-mega-48-88-168/src/Avr.C
{ "ATmega169", 0x94, 0x05, 16384, 128, 512, 4500, 9000, AVR_M128 },
{ "ATmega323", 0x95, 0x01, 32768, 128, 1024, 15000, 3800, AVR_M163 },
-diff -Nura uisp-20050207/src/Avr.h uisp-20050207-mega-48-88-168/src/Avr.h
---- uisp-20050207/src/Avr.h 2004-03-30 23:25:44.000000000 -0300
-+++ uisp-20050207-mega-48-88-168/src/Avr.h 2005-06-28 16:41:24.000000000 -0300
-@@ -121,6 +121,8 @@
- | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH)
- #define AVR_M128 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_LOCK_BOOT | AVR_FUSE_RD \
- | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH | AVR_FUSE_EXT)
-+#define AVR_M48 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_FUSE_RD | AVR_FUSE_NEWWR \
-+ | AVR_CAL_RD | AVR_FUSE_HIGH)
-
- /* XXX no boot lock bits, but ordinary lock bits are in bits 1 and 0.
- XXX has 4 calibration bytes for 1/2/4/8 MHz, can only read one for now. */