Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 1 | /* |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 2 | * Copyright 2006 Freescale Semiconductor |
| 3 | * Jeff Brown |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 4 | * Srikanth Srinivasan (srikanth.srinivasan@freescale.com) |
| 5 | * |
| 6 | * See file CREDITS for list of people who contributed to this |
| 7 | * project. |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License as |
| 11 | * published by the Free Software Foundation; either version 2 of |
| 12 | * the License, or (at your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU General Public License |
| 20 | * along with this program; if not, write to the Free Software |
| 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 22 | * MA 02111-1307 USA |
| 23 | */ |
| 24 | |
| 25 | #include <common.h> |
| 26 | #include <watchdog.h> |
| 27 | #include <command.h> |
| 28 | #include <asm/cache.h> |
| 29 | #include <mpc86xx.h> |
| 30 | |
| 31 | #if defined(CONFIG_OF_FLAT_TREE) |
| 32 | #include <ft_build.h> |
| 33 | #endif |
| 34 | |
Jon Loeliger | 4d3d729 | 2006-05-31 11:24:28 -0500 | [diff] [blame] | 35 | #ifdef CONFIG_MPC8641HPCN |
| 36 | extern void mpc8641_reset_board(cmd_tbl_t *cmdtp, int flag, |
| 37 | int argc, char *argv[]); |
| 38 | #endif |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 39 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 40 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 41 | int |
| 42 | checkcpu(void) |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 43 | { |
| 44 | sys_info_t sysinfo; |
| 45 | uint pvr, svr; |
| 46 | uint ver; |
| 47 | uint major, minor; |
| 48 | uint lcrr; /* local bus clock ratio register */ |
| 49 | uint clkdiv; /* clock divider portion of lcrr */ |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 50 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 51 | puts("Freescale PowerPC\n"); |
| 52 | |
| 53 | pvr = get_pvr(); |
| 54 | ver = PVR_VER(pvr); |
| 55 | major = PVR_MAJ(pvr); |
| 56 | minor = PVR_MIN(pvr); |
| 57 | |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 58 | puts("CPU:\n"); |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 59 | puts(" Core: "); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 60 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 61 | switch (ver) { |
| 62 | case PVR_VER(PVR_86xx): |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 63 | puts("E600"); |
| 64 | break; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 65 | default: |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 66 | puts("Unknown"); |
| 67 | break; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 68 | } |
| 69 | printf(", Version: %d.%d, (0x%08x)\n", major, minor, pvr); |
| 70 | |
| 71 | svr = get_svr(); |
| 72 | ver = SVR_VER(svr); |
| 73 | major = SVR_MAJ(svr); |
| 74 | minor = SVR_MIN(svr); |
| 75 | |
| 76 | puts(" System: "); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 77 | switch (ver) { |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 78 | case SVR_8641: |
Jon Loeliger | d14ba6a | 2006-09-14 08:40:36 -0500 | [diff] [blame] | 79 | if (SVR_SUBVER(svr) == 1) { |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 80 | puts("8641D"); |
Jon Loeliger | d14ba6a | 2006-09-14 08:40:36 -0500 | [diff] [blame] | 81 | } else { |
| 82 | puts("8641"); |
| 83 | } |
| 84 | break; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 85 | default: |
| 86 | puts("Unknown"); |
| 87 | break; |
| 88 | } |
| 89 | printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr); |
| 90 | |
| 91 | get_sys_info(&sysinfo); |
| 92 | |
| 93 | puts(" Clocks: "); |
| 94 | printf("CPU:%4lu MHz, ", sysinfo.freqProcessor / 1000000); |
| 95 | printf("MPX:%4lu MHz, ", sysinfo.freqSystemBus / 1000000); |
| 96 | printf("DDR:%4lu MHz, ", sysinfo.freqSystemBus / 2000000); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 97 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 98 | #if defined(CFG_LBC_LCRR) |
| 99 | lcrr = CFG_LBC_LCRR; |
| 100 | #else |
| 101 | { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 102 | volatile immap_t *immap = (immap_t *) CFG_IMMR; |
| 103 | volatile ccsr_lbc_t *lbc = &immap->im_lbc; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 104 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 105 | lcrr = lbc->lcrr; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 106 | } |
| 107 | #endif |
| 108 | clkdiv = lcrr & 0x0f; |
| 109 | if (clkdiv == 2 || clkdiv == 4 || clkdiv == 8) { |
| 110 | printf("LBC:%4lu MHz\n", |
| 111 | sysinfo.freqSystemBus / 1000000 / clkdiv); |
| 112 | } else { |
| 113 | printf(" LBC: unknown (lcrr: 0x%08x)\n", lcrr); |
| 114 | } |
| 115 | |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 116 | puts(" L2: "); |
Jon Loeliger | 126aa70 | 2006-05-30 17:47:00 -0500 | [diff] [blame] | 117 | if (get_l2cr() & 0x80000000) |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 118 | puts("Enabled\n"); |
Jon Loeliger | 126aa70 | 2006-05-30 17:47:00 -0500 | [diff] [blame] | 119 | else |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 120 | puts("Disabled\n"); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 121 | |
| 122 | return 0; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 123 | } |
| 124 | |
| 125 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 126 | static inline void |
| 127 | soft_restart(unsigned long addr) |
| 128 | { |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 129 | #ifndef CONFIG_MPC8641HPCN |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 130 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 131 | /* |
| 132 | * SRR0 has system reset vector, SRR1 has default MSR value |
| 133 | * rfi restores MSR from SRR1 and sets the PC to the SRR0 value |
| 134 | */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 135 | |
| 136 | __asm__ __volatile__ ("mtspr 26, %0" :: "r" (addr)); |
| 137 | __asm__ __volatile__ ("li 4, (1 << 6)" ::: "r4"); |
| 138 | __asm__ __volatile__ ("mtspr 27, 4"); |
| 139 | __asm__ __volatile__ ("rfi"); |
| 140 | |
| 141 | #else /* CONFIG_MPC8641HPCN */ |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 142 | |
| 143 | out8(PIXIS_BASE + PIXIS_RST, 0); |
| 144 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 145 | #endif /* !CONFIG_MPC8641HPCN */ |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 146 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 147 | while (1) ; /* not reached */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 148 | } |
| 149 | |
| 150 | |
Jon Loeliger | 126aa70 | 2006-05-30 17:47:00 -0500 | [diff] [blame] | 151 | /* |
| 152 | * No generic way to do board reset. Simply call soft_reset. |
| 153 | */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 154 | void |
Jon Loeliger | 126aa70 | 2006-05-30 17:47:00 -0500 | [diff] [blame] | 155 | do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 156 | { |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 157 | #ifndef CONFIG_MPC8641HPCN |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 158 | |
| 159 | #ifdef CFG_RESET_ADDRESS |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 160 | ulong addr = CFG_RESET_ADDRESS; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 161 | #else |
| 162 | /* |
| 163 | * note: when CFG_MONITOR_BASE points to a RAM address, |
| 164 | * CFG_MONITOR_BASE - sizeof (ulong) is usually a valid |
| 165 | * address. Better pick an address known to be invalid on your |
| 166 | * system and assign it to CFG_RESET_ADDRESS. |
| 167 | */ |
Jon Loeliger | cb5965f | 2006-05-31 12:44:44 -0500 | [diff] [blame] | 168 | ulong addr = CFG_MONITOR_BASE - sizeof(ulong); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 169 | #endif |
| 170 | |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 171 | /* flush and disable I/D cache */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 172 | __asm__ __volatile__ ("mfspr 3, 1008" ::: "r3"); |
| 173 | __asm__ __volatile__ ("ori 5, 5, 0xcc00" ::: "r5"); |
| 174 | __asm__ __volatile__ ("ori 4, 3, 0xc00" ::: "r4"); |
| 175 | __asm__ __volatile__ ("andc 5, 3, 5" ::: "r5"); |
| 176 | __asm__ __volatile__ ("sync"); |
| 177 | __asm__ __volatile__ ("mtspr 1008, 4"); |
| 178 | __asm__ __volatile__ ("isync"); |
| 179 | __asm__ __volatile__ ("sync"); |
| 180 | __asm__ __volatile__ ("mtspr 1008, 5"); |
| 181 | __asm__ __volatile__ ("isync"); |
| 182 | __asm__ __volatile__ ("sync"); |
| 183 | |
Jon Loeliger | 126aa70 | 2006-05-30 17:47:00 -0500 | [diff] [blame] | 184 | soft_restart(addr); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 185 | |
| 186 | #else /* CONFIG_MPC8641HPCN */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 187 | |
Jon Loeliger | 4d3d729 | 2006-05-31 11:24:28 -0500 | [diff] [blame] | 188 | mpc8641_reset_board(cmdtp, flag, argc, argv); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 189 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 190 | #endif /* !CONFIG_MPC8641HPCN */ |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 191 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 192 | while (1) ; /* not reached */ |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 193 | } |
| 194 | |
| 195 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 196 | /* |
| 197 | * Get timebase clock frequency |
| 198 | */ |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 199 | unsigned long |
| 200 | get_tbclk(void) |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 201 | { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 202 | sys_info_t sys_info; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 203 | |
| 204 | get_sys_info(&sys_info); |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 205 | return (sys_info.freqSystemBus + 3L) / 4L; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 206 | } |
| 207 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 208 | |
| 209 | #if defined(CONFIG_WATCHDOG) |
| 210 | void |
| 211 | watchdog_reset(void) |
| 212 | { |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 213 | } |
| 214 | #endif /* CONFIG_WATCHDOG */ |
| 215 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 216 | |
| 217 | #if defined(CONFIG_DDR_ECC) |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 218 | void |
| 219 | dma_init(void) |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 220 | { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 221 | volatile immap_t *immap = (immap_t *) CFG_IMMR; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 222 | volatile ccsr_dma_t *dma = &immap->im_dma; |
| 223 | |
| 224 | dma->satr0 = 0x00040000; |
| 225 | dma->datr0 = 0x00040000; |
| 226 | asm("sync; isync"); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 227 | } |
| 228 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 229 | uint |
| 230 | dma_check(void) |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 231 | { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 232 | volatile immap_t *immap = (immap_t *) CFG_IMMR; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 233 | volatile ccsr_dma_t *dma = &immap->im_dma; |
| 234 | volatile uint status = dma->sr0; |
| 235 | |
| 236 | /* While the channel is busy, spin */ |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 237 | while ((status & 4) == 4) { |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 238 | status = dma->sr0; |
| 239 | } |
| 240 | |
| 241 | if (status != 0) { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 242 | printf("DMA Error: status = %x\n", status); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 243 | } |
| 244 | return status; |
| 245 | } |
| 246 | |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 247 | int |
| 248 | dma_xfer(void *dest, uint count, void *src) |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 249 | { |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 250 | volatile immap_t *immap = (immap_t *) CFG_IMMR; |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 251 | volatile ccsr_dma_t *dma = &immap->im_dma; |
| 252 | |
| 253 | dma->dar0 = (uint) dest; |
| 254 | dma->sar0 = (uint) src; |
| 255 | dma->bcr0 = count; |
| 256 | dma->mr0 = 0xf000004; |
| 257 | asm("sync;isync"); |
| 258 | dma->mr0 = 0xf000005; |
| 259 | asm("sync;isync"); |
| 260 | return dma_check(); |
| 261 | } |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 262 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 263 | #endif /* CONFIG_DDR_ECC */ |
| 264 | |
| 265 | |
| 266 | #ifdef CONFIG_OF_FLAT_TREE |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 267 | void |
| 268 | ft_cpu_setup(void *blob, bd_t *bd) |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 269 | { |
| 270 | u32 *p; |
| 271 | ulong clock; |
| 272 | int len; |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 273 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 274 | clock = bd->bi_busfreq; |
| 275 | p = ft_get_prop(blob, "/cpus/" OF_CPU "/bus-frequency", &len); |
| 276 | if (p != NULL) |
| 277 | *p = cpu_to_be32(clock); |
| 278 | |
| 279 | p = ft_get_prop(blob, "/" OF_SOC "/serial@4500/clock-frequency", &len); |
| 280 | if (p != NULL) |
| 281 | *p = cpu_to_be32(clock); |
| 282 | |
| 283 | p = ft_get_prop(blob, "/" OF_SOC "/serial@4600/clock-frequency", &len); |
| 284 | if (p != NULL) |
| 285 | *p = cpu_to_be32(clock); |
| 286 | |
| 287 | #if defined(CONFIG_MPC86XX_TSEC1) |
Jon Loeliger | 709d307 | 2006-08-03 16:17:56 -0500 | [diff] [blame] | 288 | p = ft_get_prop(blob, "/" OF_SOC "/ethernet@24000/mac-address", &len); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 289 | memcpy(p, bd->bi_enetaddr, 6); |
| 290 | #endif |
Jon Loeliger | 5c9efb3 | 2006-04-27 10:15:16 -0500 | [diff] [blame] | 291 | |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 292 | #if defined(CONFIG_MPC86XX_TSEC2) |
Jon Loeliger | 709d307 | 2006-08-03 16:17:56 -0500 | [diff] [blame] | 293 | p = ft_get_prop(blob, "/" OF_SOC "/ethernet@25000/mac-address", &len); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 294 | memcpy(p, bd->bi_enet1addr, 6); |
| 295 | #endif |
| 296 | |
| 297 | #if defined(CONFIG_MPC86XX_TSEC3) |
Jon Loeliger | 709d307 | 2006-08-03 16:17:56 -0500 | [diff] [blame] | 298 | p = ft_get_prop(blob, "/" OF_SOC "/ethernet@26000/mac-address", &len); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 299 | memcpy(p, bd->bi_enet2addr, 6); |
| 300 | #endif |
| 301 | |
| 302 | #if defined(CONFIG_MPC86XX_TSEC4) |
Jon Loeliger | 709d307 | 2006-08-03 16:17:56 -0500 | [diff] [blame] | 303 | p = ft_get_prop(blob, "/" OF_SOC "/ethernet@27000/mac-address", &len); |
Jon Loeliger | ffff3ae | 2006-08-22 12:06:18 -0500 | [diff] [blame] | 304 | memcpy(p, bd->bi_enet3addr, 6); |
Jon Loeliger | debb735 | 2006-04-26 17:58:56 -0500 | [diff] [blame] | 305 | #endif |
| 306 | |
| 307 | } |
| 308 | #endif |