1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 226 unchanged lines hidden (view full) ---

235 break;
236 case REG_TCTL:
237 pkt->set<uint32_t>(regs.tctl());
238 break;
239 case REG_PBA:
240 pkt->set<uint32_t>(regs.pba());
241 break;
242 case REG_WUC:
243 case REG_WUFC:
244 case REG_WUS:
245 case REG_LEDCTL:
246 pkt->set<uint32_t>(0); // We don't care, so just return 0
247 break;
248 case REG_FCRTL:
249 pkt->set<uint32_t>(regs.fcrtl());
250 break;
251 case REG_FCRTH:
252 pkt->set<uint32_t>(regs.fcrth());

--- 290 unchanged lines hidden (view full) ---

543 txDescCache.reset();
544 }
545 break;
546 case REG_PBA:
547 regs.pba.rxa(val);
548 regs.pba.txa(64 - regs.pba.rxa());
549 break;
550 case REG_WUC:
551 case REG_WUFC:
552 case REG_WUS:
553 case REG_LEDCTL:
554 case REG_FCAL:
555 case REG_FCAH:
556 case REG_FCT:
557 case REG_VET:
558 case REG_AIFS:
559 case REG_TIPG:
560 ; // We don't care, so don't store anything

--- 2009 unchanged lines hidden ---