haiku/src
Augustin Cavalier db4f8332f0 freebsd_network: Reinstate _fbsd_init_hardware and refactor probing.
Previously we just probed and then immediately attached if any devices
were found, after all initialization was done. Now we cannot do that,
as after calling SYSINIT() on certain drivers (e.g. the new ipro1000
driver), certain threads will be created that there is no good way
of tearing down.

Fortunately, it is valid to call probe() on a device before SYSINIT()
(and most other things) have been initialized, and so now we do that
in init_hardware, and then init_driver is called only if we've found
devices we support.

While we're at it, also call pci->reserve_device, which will mark us as
the driver handling said device and prevent other drivers from
using it.
2019-01-03 21:20:36 -05:00
..
add-ons ipro100: Upgrade to FreeBSD 12. 2018-12-27 16:55:48 -05:00
apps Terminal: Font width can be a fractional value, so we need to use a float. 2019-01-03 21:27:27 +00:00
bin open: don't print "invalid argument" when opening an URL. 2019-01-01 17:48:29 +00:00
build Remove some unused cruft from the early days. 2018-12-15 20:26:13 -05:00
data x-mail MIME: make Subject attribute editable 2018-12-25 18:47:17 +00:00
kits BCodecRoster: Remove MakeFormatFor 2018-12-28 23:01:02 +01:00
libs freebsd_network: Reinstate _fbsd_init_hardware and refactor probing. 2019-01-03 21:20:36 -05:00
preferences Keymap: remove item from user list, if the keymap isn't found 2018-12-23 18:10:02 +00:00
servers Added two DrawStringDry() versions for obtaining pen location only 2019-01-03 18:19:02 +00:00
system kernel/x86_64: Fix overwriting the GDT/IDT by each CPU. 2019-01-02 16:27:53 +00:00
tests Change DrawString() and add StrokeLine() to reveal wrong pen-position 2019-01-02 21:21:52 +00:00
tools tools/locale: Fix using auto_ptr to array. 2018-12-02 21:31:26 +00:00
Jamfile Interface Guidelines: migrate to docs/, use DocBookCSS. 2015-02-12 17:08:04 -05:00