target/linux/brcm47xx/patches-2.6.34/700-ssb-gigabit-ethernet-driver.patch |
8 | 8 | |
9 | 9 | #include <net/checksum.h> |
10 | 10 | #include <net/ip.h> |
11 | | @@ -471,8 +472,9 @@ static void _tw32_flush(struct tg3 *tp, |
| 11 | @@ -471,8 +472,9 @@ static void _tw32_flush(struct tg3 *tp, |
12 | 12 | static inline void tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) |
13 | 13 | { |
14 | 14 | tp->write32_mbox(tp, off, val); |
... | ... | |
61 | 61 | { |
62 | 62 | u32 frame_val; |
63 | 63 | unsigned int loops; |
64 | | @@ -848,7 +855,7 @@ static int tg3_writephy(struct tg3 *tp, |
| 64 | @@ -848,7 +855,7 @@ static int tg3_writephy(struct tg3 *tp, |
65 | 65 | udelay(80); |
66 | 66 | } |
67 | 67 | |
... | ... | |
70 | 70 | MI_COM_PHY_ADDR_MASK); |
71 | 71 | frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & |
72 | 72 | MI_COM_REG_ADDR_MASK); |
73 | | @@ -881,6 +888,11 @@ static int tg3_writephy(struct tg3 *tp, |
| 73 | @@ -881,6 +888,11 @@ static int tg3_writephy(struct tg3 *tp, |
74 | 74 | return ret; |
75 | 75 | } |
76 | 76 | |
... | ... | |
147 | 147 | tw32(GRC_MODE, tp->grc_mode); |
148 | 148 | |
149 | 149 | if (tp->pci_chip_rev_id == CHIPREV_ID_5705_A0) { |
150 | | @@ -7135,9 +7173,12 @@ static int tg3_halt_cpu(struct tg3 *tp, |
| 150 | @@ -7135,9 +7173,12 @@ static int tg3_halt_cpu(struct tg3 *tp, |
151 | 151 | return -ENODEV; |
152 | 152 | } |
153 | 153 | |
... | ... | |
175 | 175 | fw_data = (void *)tp->fw->data; |
176 | 176 | |
177 | 177 | /* Firmware blob starts with version numbers, followed by |
178 | | @@ -7256,6 +7302,11 @@ static int tg3_load_tso_firmware(struct |
| 178 | @@ -7256,6 +7302,11 @@ static int tg3_load_tso_firmware(struct |
179 | 179 | unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size; |
180 | 180 | int err, i; |
181 | 181 | |
... | ... | |
242 | 242 | tw32_f(GRC_EEPROM_ADDR, |
243 | 243 | (EEPROM_ADDR_FSM_RESET | |
244 | 244 | (EEPROM_DEFAULT_CLOCK_PERIOD << |
245 | | @@ -12020,6 +12087,9 @@ static int tg3_nvram_write_block(struct |
| 245 | @@ -12020,6 +12087,9 @@ static int tg3_nvram_write_block(struct |
246 | 246 | { |
247 | 247 | int ret; |
248 | 248 | |
target/linux/generic/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch |
601 | 601 | dev->checkpointBlockList[i] = -1; |
602 | 602 | } |
603 | 603 | |
604 | | @@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device |
| 604 | @@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device |
605 | 605 | |
606 | 606 | static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev) |
607 | 607 | { |
... | ... | |
926 | 926 | { |
927 | 927 | unsigned char cDelta; /* column parity delta */ |
928 | 928 | unsigned lDelta; /* line parity delta */ |
929 | | @@ -294,8 +292,7 @@ int yaffs_ECCCorrectOther(unsigned char |
| 929 | @@ -294,8 +292,7 @@ int yaffs_ECCCorrectOther(unsigned char |
930 | 930 | return 0; /* no error */ |
931 | 931 | |
932 | 932 | if (lDelta == ~lDeltaPrime && |
... | ... | |
936 | 936 | /* Single bit (recoverable) error in data */ |
937 | 937 | |
938 | 938 | bit = 0; |
939 | | @@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char |
| 939 | @@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char |
940 | 940 | if (cDelta & 0x02) |
941 | 941 | bit |= 0x01; |
942 | 942 | |
... | ... | |
945 | 945 | return -1; |
946 | 946 | |
947 | 947 | data[lDelta] ^= (1 << bit); |
948 | | @@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char |
| 948 | @@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char |
949 | 949 | } |
950 | 950 | |
951 | 951 | if ((yaffs_CountBits32(lDelta) + yaffs_CountBits32(lDeltaPrime) + |
... | ... | |
954 | 954 | /* Reccoverable error in ecc */ |
955 | 955 | |
956 | 956 | *read_ecc = *test_ecc; |
957 | | @@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char |
| 957 | @@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char |
958 | 958 | /* Unrecoverable error */ |
959 | 959 | |
960 | 960 | return -1; |
... | ... | |
1398 | 1398 | { |
1399 | 1399 | unsigned char *alias; |
1400 | 1400 | int ret; |
1401 | | @@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry |
| 1401 | @@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry |
1402 | 1402 | return ret; |
1403 | 1403 | } |
1404 | 1404 | |
... | ... | |
1560 | 1560 | static int yaffs_file_flush(struct file *file, fl_owner_t id) |
1561 | 1561 | #else |
1562 | 1562 | static int yaffs_file_flush(struct file *file) |
1563 | | @@ -513,8 +579,8 @@ static int yaffs_file_flush(struct file |
| 1563 | @@ -513,8 +579,8 @@ static int yaffs_file_flush(struct file |
1564 | 1564 | yaffs_Device *dev = obj->myDev; |
1565 | 1565 | |
1566 | 1566 | T(YAFFS_TRACE_OS, |
... | ... | |
1571 | 1571 | |
1572 | 1572 | yaffs_GrossLock(dev); |
1573 | 1573 | |
1574 | | @@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct |
| 1574 | @@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct |
1575 | 1575 | |
1576 | 1576 | yaffs_Device *dev; |
1577 | 1577 | |
... | ... | |
1591 | 1591 | BUG_ON(!PageLocked(pg)); |
1592 | 1592 | #else |
1593 | 1593 | if (!PageLocked(pg)) |
1594 | | @@ -555,9 +621,9 @@ static int yaffs_readpage_nolock(struct |
| 1594 | @@ -555,9 +621,9 @@ static int yaffs_readpage_nolock(struct |
1595 | 1595 | |
1596 | 1596 | yaffs_GrossLock(dev); |
1597 | 1597 | |
... | ... | |
1604 | 1604 | |
1605 | 1605 | yaffs_GrossUnlock(dev); |
1606 | 1606 | |
1607 | | @@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct |
| 1607 | @@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct |
1608 | 1608 | flush_dcache_page(pg); |
1609 | 1609 | kunmap(pg); |
1610 | 1610 | |
... | ... | |
3193 | 3193 | if (n < step) { |
3194 | 3194 | n++; |
3195 | 3195 | continue; |
3196 | | @@ -2119,7 +2356,7 @@ static int yaffs_proc_write(struct file |
| 3196 | @@ -2119,7 +2356,7 @@ static int yaffs_proc_write(struct file |
3197 | 3197 | char *end; |
3198 | 3198 | char *mask_name; |
3199 | 3199 | const char *x; |
... | ... | |
3202 | 3202 | int i; |
3203 | 3203 | int done = 0; |
3204 | 3204 | int add, len = 0; |
3205 | | @@ -2129,9 +2366,8 @@ static int yaffs_proc_write(struct file |
| 3205 | @@ -2129,9 +2366,8 @@ static int yaffs_proc_write(struct file |
3206 | 3206 | |
3207 | 3207 | while (!done && (pos < count)) { |
3208 | 3208 | done = 1; |
... | ... | |
3213 | 3213 | |
3214 | 3214 | switch (buf[pos]) { |
3215 | 3215 | case '+': |
3216 | | @@ -2148,20 +2384,21 @@ static int yaffs_proc_write(struct file |
| 3216 | @@ -2148,20 +2384,21 @@ static int yaffs_proc_write(struct file |
3217 | 3217 | mask_name = NULL; |
3218 | 3218 | |
3219 | 3219 | mask_bitfield = simple_strtoul(buf + pos, &end, 0); |
... | ... | |
3240 | 3240 | mask_name = mask_flags[i].mask_name; |
3241 | 3241 | mask_bitfield = mask_flags[i].mask_bitfield; |
3242 | 3242 | done = 0; |
3243 | | @@ -2172,7 +2409,7 @@ static int yaffs_proc_write(struct file |
| 3243 | @@ -2172,7 +2409,7 @@ static int yaffs_proc_write(struct file |
3244 | 3244 | |
3245 | 3245 | if (mask_name != NULL) { |
3246 | 3246 | done = 0; |
... | ... | |
3249 | 3249 | case '-': |
3250 | 3250 | rg &= ~mask_bitfield; |
3251 | 3251 | break; |
3252 | | @@ -2191,13 +2428,13 @@ static int yaffs_proc_write(struct file |
| 3252 | @@ -2191,13 +2428,13 @@ static int yaffs_proc_write(struct file |
3253 | 3253 | |
3254 | 3254 | yaffs_traceMask = rg | YAFFS_TRACE_ALWAYS; |
3255 | 3255 | |
... | ... | |
5691 | 5691 | { |
5692 | 5692 | /* Get the real object in case we were fed a hard link as an equivalent object */ |
5693 | 5693 | equivalentObject = yaffs_GetEquivalentObject(equivalentObject); |
5694 | | @@ -2363,33 +2396,31 @@ yaffs_Object *yaffs_Link(yaffs_Object * |
| 5694 | @@ -2363,33 +2396,31 @@ yaffs_Object *yaffs_Link(yaffs_Object * |
5695 | 5695 | |
5696 | 5696 | } |
5697 | 5697 | |
... | ... | |
7622 | 7622 | int nToCopy; |
7623 | 7623 | int n = nBytes; |
7624 | 7624 | int nDone = 0; |
7625 | | @@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object |
| 7625 | @@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object |
7626 | 7626 | dev = in->myDev; |
7627 | 7627 | |
7628 | 7628 | while (n > 0) { |
... | ... | |
7657 | 7657 | if (dev->nShortOpCaches > 0) { |
7658 | 7658 | |
7659 | 7659 | /* If we can't find the data in the cache, then load it up. */ |
7660 | | @@ -4641,14 +4705,9 @@ int yaffs_ReadDataFromFile(yaffs_Object |
| 7660 | @@ -4641,14 +4705,9 @@ int yaffs_ReadDataFromFile(yaffs_Object |
7661 | 7661 | |
7662 | 7662 | cache->locked = 1; |
7663 | 7663 | |
... | ... | |
7673 | 7673 | cache->locked = 0; |
7674 | 7674 | } else { |
7675 | 7675 | /* Read into the local buffer then copy..*/ |
7676 | | @@ -4657,41 +4716,19 @@ int yaffs_ReadDataFromFile(yaffs_Object |
| 7676 | @@ -4657,41 +4716,19 @@ int yaffs_ReadDataFromFile(yaffs_Object |
7677 | 7677 | yaffs_GetTempBuffer(dev, __LINE__); |
7678 | 7678 | yaffs_ReadChunkDataFromObject(in, chunk, |
7679 | 7679 | localBuffer); |
... | ... | |
7718 | 7718 | } |
7719 | 7719 | |
7720 | 7720 | n -= nToCopy; |
7721 | | @@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object |
| 7721 | @@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object |
7722 | 7722 | return nDone; |
7723 | 7723 | } |
7724 | 7724 | |
... | ... | |
7923 | 7923 | int newFullChunks; |
7924 | 7924 | |
7925 | 7925 | yaffs_Device *dev = in->myDev; |
7926 | | @@ -4955,13 +4981,11 @@ int yaffs_ResizeFile(yaffs_Object * in, |
| 7926 | @@ -4955,13 +4981,11 @@ int yaffs_ResizeFile(yaffs_Object * in, |
7927 | 7927 | |
7928 | 7928 | yaffs_CheckGarbageCollection(dev); |
7929 | 7929 | |
... | ... | |
7941 | 7941 | |
7942 | 7942 | if (newSize < oldFileSize) { |
7943 | 7943 | |
7944 | | @@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in, |
| 7944 | @@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in, |
7945 | 7945 | } |
7946 | 7946 | |
7947 | 7947 | |
... | ... | |
7968 | 7968 | { |
7969 | 7969 | obj = yaffs_GetEquivalentObject(obj); |
7970 | 7970 | |
7971 | | @@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object * |
| 7971 | @@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object * |
7972 | 7972 | |
7973 | 7973 | |
7974 | 7974 | |
... | ... | |
9789 | 9789 | { |
9790 | 9790 | int init_failed = 0; |
9791 | 9791 | unsigned x; |
9792 | | @@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9792 | @@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device * |
9793 | 9793 | dev->chunkOffset = 0; |
9794 | 9794 | dev->nFreeChunks = 0; |
9795 | 9795 | |
... | ... | |
9798 | 9798 | if (dev->startBlock == 0) { |
9799 | 9799 | dev->internalStartBlock = dev->startBlock + 1; |
9800 | 9800 | dev->internalEndBlock = dev->endBlock + 1; |
9801 | | @@ -7049,18 +7137,18 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9801 | @@ -7049,18 +7137,18 @@ int yaffs_GutsInitialise(yaffs_Device * |
9802 | 9802 | |
9803 | 9803 | /* Check geometry parameters. */ |
9804 | 9804 | |
... | ... | |
9823 | 9823 | return YAFFS_FAIL; |
9824 | 9824 | } |
9825 | 9825 | |
9826 | | @@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9826 | @@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device * |
9827 | 9827 | return YAFFS_FAIL; |
9828 | 9828 | } |
9829 | 9829 | |
... | ... | |
9836 | 9836 | /* Got the right mix of functions? */ |
9837 | 9837 | if (!yaffs_CheckDevFunctions(dev)) { |
9838 | 9838 | /* Function missing */ |
9839 | | @@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9839 | @@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device * |
9840 | 9840 | |
9841 | 9841 | dev->isMounted = 1; |
9842 | 9842 | |
... | ... | |
9875 | 9875 | |
9876 | 9876 | /* |
9877 | 9877 | * Calculate chunkGroupBits. |
9878 | | @@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9878 | @@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device * |
9879 | 9879 | bits = ShiftsGE(x); |
9880 | 9880 | |
9881 | 9881 | /* Set up tnode width if wide tnodes are enabled. */ |
... | ... | |
9896 | 9896 | dev->tnodeWidth = 16; |
9897 | 9897 | |
9898 | 9898 | dev->tnodeMask = (1<<dev->tnodeWidth)-1; |
9899 | | @@ -7193,7 +7273,7 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9899 | @@ -7193,7 +7273,7 @@ int yaffs_GutsInitialise(yaffs_Device * |
9900 | 9900 | dev->hasPendingPrioritisedGCs = 1; /* Assume the worst for now, will get fixed on first GC */ |
9901 | 9901 | |
9902 | 9902 | /* Initialise temporary buffers and caches. */ |
... | ... | |
9905 | 9905 | init_failed = 1; |
9906 | 9906 | |
9907 | 9907 | dev->srCache = NULL; |
9908 | | @@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9908 | @@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device * |
9909 | 9909 | if (!init_failed && |
9910 | 9910 | dev->nShortOpCaches > 0) { |
9911 | 9911 | int i; |
... | ... | |
9940 | 9940 | init_failed = 1; |
9941 | 9941 | |
9942 | 9942 | dev->srLastUse = 0; |
9943 | | @@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9943 | @@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device * |
9944 | 9944 | |
9945 | 9945 | dev->cacheHits = 0; |
9946 | 9946 | |
... | ... | |
9979 | 9979 | T(YAFFS_TRACE_ALWAYS, |
9980 | 9980 | (TSTR("yaffs: restored from checkpoint" TENDSTR))); |
9981 | 9981 | } else { |
9982 | | @@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 9982 | @@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device * |
9983 | 9983 | dev->nBackgroundDeletions = 0; |
9984 | 9984 | dev->oldestDirtySequence = 0; |
9985 | 9985 | |
... | ... | |
10011 | 10011 | /* Clean up the mess */ |
10012 | 10012 | T(YAFFS_TRACE_TRACING, |
10013 | 10013 | (TSTR("yaffs: yaffs_GutsInitialise() aborted.\n" TENDSTR))); |
10014 | | @@ -7318,7 +7401,7 @@ int yaffs_GutsInitialise(yaffs_Device * |
| 10014 | @@ -7318,7 +7401,7 @@ int yaffs_GutsInitialise(yaffs_Device * |
10015 | 10015 | |
10016 | 10016 | } |
10017 | 10017 | |
... | ... | |
10710 | 10710 | { |
10711 | 10711 | if (etags) { |
10712 | 10712 | memset(etags, 0, sizeof(*etags)); |
10713 | | @@ -169,9 +169,9 @@ static int rettags(yaffs_ExtendedTags * |
| 10713 | @@ -169,9 +169,9 @@ static int rettags(yaffs_ExtendedTags * |
10714 | 10714 | * Returns YAFFS_OK or YAFFS_FAIL. |
10715 | 10715 | */ |
10716 | 10716 | int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev, |
... | ... | |
11038 | 11038 | + yaffs_UnpackTags2(tags, &pt); |
11039 | 11039 | + } |
11040 | 11040 | + } |
11041 | | |
11042 | | - if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) |
11043 | | - tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; |
| 11041 | + |
11044 | 11042 | + if (localData) |
11045 | 11043 | + yaffs_ReleaseTempBuffer(dev, data, __LINE__); |
11046 | 11044 | |
| 11045 | - if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) |
11047 | 11046 | + if (tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) |
11048 | | + tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; |
| 11047 | tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; |
| 11048 | - |
11049 | 11049 | if (retval == 0) |
11050 | 11050 | return YAFFS_OK; |
11051 | 11051 | else |
target/linux/generic/patches-2.6.34/975-ssb_update.patch |
385 | 385 | u32 pmucap; |
386 | 386 | |
387 | 387 | if (!(cc->capabilities & SSB_CHIPCO_CAP_PMU)) |
388 | | @@ -516,15 +516,12 @@ void ssb_pmu_init(struct ssb_chipcommon |
| 388 | @@ -516,15 +516,12 @@ void ssb_pmu_init(struct ssb_chipcommon |
389 | 389 | ssb_dprintk(KERN_DEBUG PFX "Found rev %u PMU (capabilities 0x%08X)\n", |
390 | 390 | cc->pmu.rev, pmucap); |
391 | 391 | |
... | ... | |
527 | 527 | /* Helper to extract some _offset, which is one of the SSB_SPROM_XXX defines. */ |
528 | 528 | #define SPEX16(_outvar, _offset, _mask, _shift) \ |
529 | 529 | out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift)) |
| 530 | @@ -623,6 +623,28 @@ static int ssb_pci_sprom_get(struct ssb_ |
| 531 | |
| 532 | if (!ssb_is_sprom_available(bus)) { |
| 533 | ssb_printk(KERN_ERR PFX "No SPROM available!\n"); |
| 534 | + return -ENODEV; |
| 535 | + } |
| 536 | + if (bus->chipco.dev) { /* can be unavailible! */ |
| 537 | + /* |
| 538 | + * get SPROM offset: SSB_SPROM_BASE1 except for |
| 539 | + * chipcommon rev >= 31 or chip ID is 0x4312 and |
| 540 | + * chipcommon status & 3 == 2 |
| 541 | + */ |
| 542 | + if (bus->chipco.dev->id.revision >= 31) |
| 543 | + bus->sprom_offset = SSB_SPROM_BASE31; |
| 544 | + else if (bus->chip_id == 0x4312 && |
| 545 | + (bus->chipco.status & 0x03) == 2) |
| 546 | + bus->sprom_offset = SSB_SPROM_BASE31; |
| 547 | + else |
| 548 | + bus->sprom_offset = SSB_SPROM_BASE1; |
| 549 | + } else { |
| 550 | + bus->sprom_offset = SSB_SPROM_BASE1; |
| 551 | + } |
| 552 | + ssb_dprintk(KERN_INFO PFX "SPROM offset is 0x%x\n", bus->sprom_offset); |
| 553 | + |
| 554 | + if (!ssb_is_sprom_available(bus)) { |
| 555 | + ssb_printk(KERN_ERR PFX "No SPROM available!\n"); |
| 556 | return -ENODEV; |
| 557 | } |
| 558 | if (bus->chipco.dev) { /* can be unavailible! */ |
530 | 559 | --- a/include/linux/ssb/ssb.h |
531 | 560 | +++ b/include/linux/ssb/ssb.h |
532 | 561 | @@ -167,7 +167,7 @@ struct ssb_device { |
... | ... | |
538 | 567 | |
539 | 568 | struct ssb_bus *bus; |
540 | 569 | struct ssb_device_id id; |
541 | | @@ -470,14 +470,6 @@ extern u32 ssb_dma_translation(struct ss |
| 570 | @@ -398,6 +398,9 @@ extern void ssb_bus_unregister(struct ss |
| 571 | /* Does the device have an SPROM? */ |
| 572 | extern bool ssb_is_sprom_available(struct ssb_bus *bus); |
| 573 | |
| 574 | +/* Does the device have an SPROM? */ |
| 575 | +extern bool ssb_is_sprom_available(struct ssb_bus *bus); |
| 576 | + |
| 577 | /* Set a fallback SPROM. |
| 578 | * See kdoc at the function definition for complete documentation. */ |
| 579 | extern int ssb_arch_set_fallback_sprom(const struct ssb_sprom *sprom); |
| 580 | @@ -470,14 +473,6 @@ extern u32 ssb_dma_translation(struct ss |
542 | 581 | #define SSB_DMA_TRANSLATION_MASK 0xC0000000 |
543 | 582 | #define SSB_DMA_TRANSLATION_SHIFT 30 |
544 | 583 | |
... | ... | |
553 | 592 | static inline void __cold __ssb_dma_not_implemented(struct ssb_device *dev) |
554 | 593 | { |
555 | 594 | #ifdef CONFIG_SSB_DEBUG |
556 | | @@ -486,155 +478,6 @@ static inline void __cold __ssb_dma_not_ |
| 595 | @@ -486,155 +481,6 @@ static inline void __cold __ssb_dma_not_ |
557 | 596 | #endif /* DEBUG */ |
558 | 597 | } |
559 | 598 | |