Warner Losh
704d196541
Get rid of the redundant 'gone' field, and overload suspend instead.
...
Check for suspend before the device polling, rather than after it.
Check to see if the current thread owns the lock in ioctl and return
EBUSY if it does.
This advances the locking to the point that I can eject my fxp card 10
times in a row, but I agree with Jeff Hsu that we need to get the
network layer locking finished before chasing more of the races here
(actually, he doesn't think this set is worth it even). There's a
number of races between FXP_LOCK in detach and all other users of
FXP_LOCK, and this gets back to the 'device with sleepers being
forcibly detached' problem as well...
2003-04-30 01:54:38 +00:00
..
2003-04-28 06:16:20 +00:00
2003-04-29 18:50:34 +00:00
2003-04-08 19:12:48 +00:00
2003-04-10 23:50:06 +00:00
2003-04-15 06:37:30 +00:00
2003-04-10 23:50:06 +00:00
2003-04-10 23:50:06 +00:00
2003-04-10 04:36:02 +00:00
2003-04-10 23:50:06 +00:00
2003-04-10 23:50:06 +00:00
2003-04-01 15:06:26 +00:00
2003-04-15 06:37:30 +00:00
2003-04-23 15:40:11 +00:00
2003-04-16 20:46:30 +00:00
2003-04-26 22:19:02 +00:00
2003-04-29 13:36:06 +00:00
2003-04-21 16:27:46 +00:00
2003-04-26 18:26:29 +00:00
2003-03-25 00:07:06 +00:00
2003-04-10 23:50:06 +00:00
2003-04-08 07:05:16 +00:00
2003-04-14 08:49:54 +00:00
2003-04-03 20:09:27 +00:00
2003-04-15 06:37:30 +00:00
2003-04-15 06:37:30 +00:00
2003-04-15 06:37:30 +00:00
2002-09-20 18:15:40 +00:00
2003-04-15 06:37:30 +00:00
2003-04-21 18:34:04 +00:00
2003-04-15 06:37:30 +00:00
2003-03-05 08:16:29 +00:00
2003-03-03 16:24:47 +00:00
2003-04-10 23:50:06 +00:00
2003-04-26 06:59:38 +00:00
2003-04-15 06:37:30 +00:00
2003-04-29 13:36:06 +00:00
2003-04-18 17:36:13 +00:00
2003-04-29 08:07:44 +00:00
2003-04-10 04:36:02 +00:00
2003-03-29 15:38:53 +00:00
2003-02-14 06:21:18 +00:00
2003-04-29 07:06:44 +00:00
2003-04-01 15:06:26 +00:00
2003-04-10 04:36:02 +00:00
2003-04-29 23:40:04 +00:00
2003-04-30 01:54:38 +00:00
2003-04-16 03:16:57 +00:00
2003-03-25 00:07:06 +00:00
2003-04-15 06:37:30 +00:00
2003-04-21 16:27:46 +00:00
2003-04-16 03:16:57 +00:00
2003-03-11 22:47:06 +00:00
2003-04-16 03:16:57 +00:00
2003-03-28 06:27:08 +00:00
2002-10-18 12:06:01 +00:00
2003-04-10 23:50:06 +00:00
2003-03-29 15:55:04 +00:00
2003-03-29 13:36:41 +00:00
2003-03-04 23:19:55 +00:00
2003-04-25 05:37:04 +00:00
2003-03-25 07:02:45 +00:00
2003-02-16 01:30:31 +00:00
2003-03-03 12:15:54 +00:00
2003-04-29 13:36:06 +00:00
2003-04-16 03:16:57 +00:00
2003-02-19 05:47:46 +00:00
2003-04-15 06:37:30 +00:00
2003-04-29 13:36:06 +00:00
2003-04-16 20:57:35 +00:00
2003-04-09 11:59:29 +00:00
2003-04-03 21:36:33 +00:00
2003-04-01 15:06:26 +00:00
2003-03-08 08:01:31 +00:00
2003-04-10 23:50:06 +00:00
2003-03-03 12:15:54 +00:00
2003-03-18 08:45:25 +00:00
2003-04-15 06:37:30 +00:00
2003-04-10 04:36:02 +00:00
2003-04-16 03:16:57 +00:00
2003-03-05 08:16:29 +00:00
2002-11-28 01:09:29 +00:00
2003-03-03 12:15:54 +00:00
2003-04-03 21:36:33 +00:00
2003-04-27 03:32:09 +00:00
2003-04-29 05:59:04 +00:00
2003-01-01 18:49:04 +00:00
2003-04-23 15:51:36 +00:00
2003-03-02 16:54:40 +00:00
2003-04-16 03:16:57 +00:00
2003-03-08 08:01:31 +00:00
2003-03-02 16:54:40 +00:00
2003-04-28 08:10:27 +00:00
2003-04-07 09:42:45 +00:00
2003-04-29 13:36:06 +00:00
2003-03-03 12:15:54 +00:00
2003-04-29 13:36:06 +00:00
2003-03-05 08:16:29 +00:00
2003-03-11 22:54:44 +00:00
2003-03-03 12:15:54 +00:00
2003-03-31 18:21:52 +00:00
2003-04-15 06:37:30 +00:00
2003-04-15 17:26:28 +00:00
2003-04-16 20:57:35 +00:00
2003-04-21 18:34:04 +00:00
2003-03-05 08:16:29 +00:00
2003-04-29 13:36:06 +00:00
2003-04-21 18:34:04 +00:00
2003-03-03 12:15:54 +00:00
2003-04-15 06:37:30 +00:00
2003-04-15 06:37:30 +00:00
2003-03-03 12:15:54 +00:00
2003-04-29 13:36:06 +00:00
2003-03-24 21:01:54 +00:00
2003-04-23 20:22:32 +00:00
2003-04-10 04:36:02 +00:00
2003-03-03 12:15:54 +00:00
2003-04-10 23:50:06 +00:00
2003-04-29 13:36:06 +00:00
2003-03-25 00:07:06 +00:00
2003-03-03 12:15:54 +00:00
2003-04-21 18:34:04 +00:00
2003-04-10 23:50:06 +00:00
2003-04-01 15:06:26 +00:00
2003-04-20 18:08:00 +00:00
2003-04-16 03:16:57 +00:00
2003-04-27 04:26:22 +00:00
2003-04-29 13:36:06 +00:00
2003-04-22 19:45:26 +00:00
2003-04-21 18:34:04 +00:00
2003-04-15 06:37:30 +00:00
2003-04-16 20:57:35 +00:00
2003-04-29 03:22:39 +00:00
2003-04-17 17:51:24 +00:00
2003-04-10 04:36:02 +00:00
2003-03-09 11:03:45 +00:00