Marius Strobl
9ba2b298df
- Initialize the ifnet structure, especially if_dname, before probing
...
the PHYs as some PHY drivers use it (but probably shouldn't). How
gem(4) has worked with brgphy(4) on powerpc without this so far is
unclear to me.
- Introduce a dying flag which is set during detach and checked in
gem_ioctl() in order to prevent active BPF listeners to clear
promiscuous mode which may lead to the tick callout being restarted
which will trigger a panic once it's actually gone.
- In gem_stop() reset rather than just disable the transmitter and
receiver in order to ensure we're not unloading DMA maps still in
use by the hardware. [1]
- The blanking time is specified in PCI clocks so we should use twice
the value when operating at 66MHz.
- Spell some 2 as ETHER_ALIGN and a 19 as GEM_STATUS_TX_COMPLETION_SHFT
to make the actual intentions clear.
- As we don't unload the peak attempts counter ignore its overflow
interrupts.
- Remove a stale setting of a variable to GEM_TD_INTERRUPT_ME which
isn't used afterwards.
- For optimum performance increment the TX kick register in multiples
of 4 if possible as suggested by the documentation.
- Partially revert r164931; drivers should only clear the watchdog
timer if all outstanding TX descriptors are done.
- Fix some debugging strings.
- Add a missing BUS_DMASYNC_POSTWRITE in gem_rint().
- As the error paths in the interrupt handler are generally unlikely
predict them as false.
- Add support for the SBus version of the GEM controller. [2]
- Add some lock assertions.
- Improve some comments.
- Fix some more or less cosmetic issues in the code of the PCI front-end.
- Change some softc members to be unsigned where more appropriate and
remove unused ones.
Approved by: re (kib)
Obtained from: NetBSD (partially) [2], OpenBSD [1]
MFC after: 2 weeks
2009-06-23 20:36:59 +00:00
..
2006-03-03 21:37:38 +00:00
2006-03-03 21:37:38 +00:00
2008-07-18 14:44:51 +00:00
2009-06-23 13:17:25 +00:00
2008-12-02 21:37:28 +00:00
2008-05-19 01:53:47 +00:00
2009-02-12 14:44:15 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-12-10 20:56:19 +00:00
2009-06-10 02:07:58 +00:00
2008-11-12 09:52:06 +00:00
2009-03-13 16:08:08 +00:00
2008-11-03 04:13:27 +00:00
2008-09-01 23:59:00 +00:00
2005-04-20 12:28:20 +00:00
2006-02-07 18:13:56 +00:00
2008-04-07 11:26:13 +00:00
2006-07-27 19:12:49 +00:00
2009-02-23 21:19:18 +00:00
2009-03-30 19:23:49 +00:00
2006-04-10 19:55:23 +00:00
2005-09-27 18:10:43 +00:00
2007-06-10 00:58:41 +00:00
2008-03-27 20:38:03 +00:00
2008-06-07 22:58:32 +00:00
2009-06-08 19:57:35 +00:00
2009-05-03 04:01:43 +00:00
2007-04-07 19:40:58 +00:00
2005-12-29 01:43:47 +00:00
2009-06-15 18:22:41 +00:00
2007-02-11 14:01:32 +00:00
2007-02-11 14:01:32 +00:00
2008-09-01 23:59:00 +00:00
2008-03-06 08:09:45 +00:00
2008-02-13 13:06:22 +00:00
2008-02-13 16:31:04 +00:00
2007-08-15 19:26:03 +00:00
2008-09-01 23:59:00 +00:00
2008-08-08 16:26:53 +00:00
2009-06-05 18:44:36 +00:00
2007-05-09 19:37:02 +00:00
2007-03-31 23:15:11 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2009-06-19 23:34:32 +00:00
2008-05-23 22:23:28 +00:00
2005-10-18 06:11:08 +00:00
2007-06-01 00:23:34 +00:00
2006-02-26 17:51:22 +00:00
2008-09-01 23:59:00 +00:00
2008-08-23 21:00:40 +00:00
2007-04-10 20:33:31 +00:00
2009-03-07 21:36:57 +00:00
2009-05-26 20:28:22 +00:00
2009-06-05 19:22:47 +00:00
2005-10-05 05:26:03 +00:00
2008-11-12 21:32:49 +00:00
2005-10-14 23:30:17 +00:00
2005-07-13 14:53:59 +00:00
2008-05-04 14:59:25 +00:00
2008-07-28 17:56:37 +00:00
2005-06-15 02:36:11 +00:00
2008-09-01 23:59:00 +00:00
2009-06-05 18:44:36 +00:00
2009-06-06 17:01:44 +00:00
2008-04-20 16:11:14 +00:00
2005-09-27 18:10:43 +00:00
2009-06-23 20:36:59 +00:00
2009-05-30 22:04:18 +00:00
2008-08-09 14:52:31 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-05-04 14:59:25 +00:00
2007-05-09 07:07:26 +00:00
2005-09-07 23:33:26 +00:00
2007-12-15 00:56:17 +00:00
2008-11-27 09:00:47 +00:00
2007-06-24 20:35:59 +00:00
2009-06-06 17:01:44 +00:00
2006-07-26 22:15:15 +00:00
2005-10-14 23:30:17 +00:00
2007-03-26 04:39:18 +00:00
2009-06-08 19:57:35 +00:00
2005-10-14 23:30:17 +00:00
2009-06-06 17:01:44 +00:00
2005-10-14 23:30:17 +00:00
2007-04-17 00:35:11 +00:00
2009-03-07 07:26:22 +00:00
2009-06-06 17:01:44 +00:00
2008-09-01 23:59:00 +00:00
2009-06-06 17:01:44 +00:00
2009-06-08 19:57:35 +00:00
2008-11-12 21:33:45 +00:00
2009-06-06 17:01:44 +00:00
2009-06-08 19:57:35 +00:00
2006-03-17 18:54:44 +00:00
2009-06-08 19:57:35 +00:00
2009-06-05 19:22:47 +00:00
2009-03-26 19:15:31 +00:00
2005-09-27 18:10:43 +00:00
2007-03-02 11:42:56 +00:00
2007-07-24 15:35:02 +00:00
2008-05-04 14:59:25 +00:00
2008-05-04 14:59:25 +00:00
2006-03-12 19:06:06 +00:00
2007-03-02 11:42:56 +00:00
2008-05-22 21:53:15 +00:00
2009-01-09 22:35:25 +00:00
2005-09-27 18:10:43 +00:00
2009-04-10 00:31:54 +00:00
2008-05-27 01:54:45 +00:00
2006-09-27 19:57:02 +00:00
2008-11-03 10:38:00 +00:00
2008-11-03 10:38:00 +00:00
2008-11-06 10:53:35 +00:00
2009-05-26 21:39:09 +00:00
2008-05-04 14:59:25 +00:00
2005-09-27 18:10:43 +00:00
2009-02-07 18:49:42 +00:00
2009-06-08 19:57:35 +00:00
2006-08-15 13:01:36 +00:00
2009-06-08 19:57:35 +00:00
2005-10-05 10:07:27 +00:00
2008-10-27 12:09:15 +00:00
2009-06-06 17:01:44 +00:00
2008-04-20 20:35:46 +00:00
2005-11-11 11:31:23 +00:00
2008-07-24 14:07:52 +00:00
2007-05-16 17:19:47 +00:00
2009-03-30 16:01:09 +00:00
2006-10-20 06:52:59 +00:00
2006-10-20 06:52:59 +00:00
2008-05-06 20:49:53 +00:00
2005-11-27 08:30:12 +00:00
2007-02-01 04:21:03 +00:00
2006-12-13 02:37:48 +00:00
2009-06-01 18:07:01 +00:00
2009-06-01 18:07:01 +00:00
2009-06-23 17:42:06 +00:00
2007-03-11 15:20:04 +00:00
2005-09-27 18:10:43 +00:00
2009-03-07 07:26:22 +00:00
2009-06-23 06:11:04 +00:00
2006-11-03 21:41:19 +00:00
2009-05-28 19:45:11 +00:00
2009-06-08 19:57:35 +00:00
2009-05-28 19:45:11 +00:00
2009-05-28 19:45:11 +00:00
2008-07-31 02:13:36 +00:00
2009-06-06 17:01:44 +00:00
2009-04-12 19:04:27 +00:00
2005-09-27 18:10:43 +00:00
2008-08-20 08:31:58 +00:00
2005-09-27 18:10:43 +00:00
2007-10-26 03:23:54 +00:00
2006-01-26 19:21:27 +00:00
2007-10-29 14:19:32 +00:00
2009-05-09 05:45:13 +00:00
2007-03-21 17:37:13 +00:00
2008-09-01 23:59:00 +00:00
2005-09-20 06:48:55 +00:00
2008-08-14 20:34:46 +00:00
2009-06-08 19:57:35 +00:00
2008-09-01 23:59:00 +00:00
2005-05-10 12:02:18 +00:00
2008-11-29 08:45:20 +00:00
2006-06-18 05:04:42 +00:00
2006-09-27 19:57:02 +00:00
2009-06-06 17:01:44 +00:00
2006-04-28 21:21:53 +00:00
2008-04-20 20:35:46 +00:00
2008-06-26 18:58:01 +00:00
2008-08-20 08:31:58 +00:00
2008-05-05 20:19:33 +00:00
2005-09-27 18:10:43 +00:00
2005-06-18 17:10:50 +00:00
2008-11-02 16:50:57 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-10 18:36:58 +00:00
2008-05-04 14:59:25 +00:00
2008-10-21 20:33:40 +00:00
2009-06-06 17:01:44 +00:00
2008-01-21 04:27:32 +00:00
2006-04-28 21:21:53 +00:00
2008-08-10 10:00:14 +00:00
2006-04-27 00:14:02 +00:00
2006-03-05 22:52:17 +00:00
2008-08-07 20:51:51 +00:00
2008-11-05 15:04:03 +00:00
2009-06-12 07:39:10 +00:00
2005-11-11 09:57:32 +00:00
2008-09-01 23:59:00 +00:00
2008-08-14 20:09:58 +00:00
2005-09-27 18:10:43 +00:00
2006-07-25 00:45:55 +00:00
2006-07-01 10:51:55 +00:00
2009-06-08 19:57:35 +00:00
2005-07-10 11:47:04 +00:00
2009-06-06 17:01:44 +00:00
2005-12-10 00:38:33 +00:00
2008-08-14 20:02:34 +00:00
2007-06-29 05:23:15 +00:00
2008-09-01 23:59:00 +00:00
2007-05-09 04:16:32 +00:00
2005-08-10 04:01:21 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2008-11-22 21:24:07 +00:00
2008-09-01 23:59:00 +00:00
2007-10-18 10:51:06 +00:00
2009-06-06 17:01:44 +00:00
2009-06-04 03:59:20 +00:00
2005-09-27 18:10:43 +00:00
2006-09-27 19:57:02 +00:00
2008-03-11 03:50:57 +00:00
2005-09-27 18:10:43 +00:00
2008-08-14 21:26:29 +00:00
2008-08-27 05:43:46 +00:00
2009-06-17 04:23:37 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-09-01 23:59:00 +00:00
2008-03-27 20:38:03 +00:00
2008-10-07 19:42:56 +00:00
2009-05-18 17:20:24 +00:00
2008-08-10 09:45:52 +00:00
2009-05-30 22:23:58 +00:00
2009-06-15 18:22:41 +00:00