marcel 08a102c3c4 Don't blindly dereference f->f_devdata as if it's always a pointer to
an efi_devdesc structure. When we're netbooting, f->f_devdata holds
the address of the network socket variable. Dereferencing this caused
some very unpredictable behaviour, including proper functioning.
So, as a sanity check, we first make sure f->f_dev points to our
own devsw. If not, the open will fail before we use f->f_devdata.

This solves the netboot hangs I invariably got whenever I used the
latest toolchain to compile the EFI loader.
2002-03-30 01:36:03 +00:00
..
2002-03-20 05:00:21 +00:00
2002-03-28 21:38:38 +00:00
2002-03-20 05:14:42 +00:00
2002-03-23 13:48:10 +00:00
2002-03-26 15:13:54 +00:00
2002-03-21 18:49:23 +00:00
2002-03-25 08:02:54 +00:00
2002-03-20 02:39:27 +00:00
2002-03-20 08:00:54 +00:00
2002-03-29 15:42:44 +00:00
2002-03-20 02:39:27 +00:00
2002-03-20 02:39:27 +00:00
2002-03-20 02:39:27 +00:00
2002-03-20 02:39:27 +00:00
2002-03-20 10:12:07 +00:00
2002-03-27 11:29:40 +00:00
2002-03-19 22:20:14 +00:00