On Wed, Mar 19, 2008 at 01:22:46PM +0200, Hasso Tepper wrote:So you want to port some of ACPI support drivers, or to do a fresh port of ACPI driver from FreeBSD? The current ACPI driver in DragonFly is based on that of FreeBSD as of end of June, 2004, plus some fixes brought in later (and ACPICA part has been updated twice since then). That was before they introduced the MPSAFE changes into ACPI code, and we use critical section (crit_{enter,exit}) in most places (and lockmgr lock in a few place). When we replaced the implementation taken from FreeBSD 4.x with that brought from FreeBSD 5.x, which added the PCI part, many people experienced problems until they turned off ACPI completely, or add "pci" to "debug.acpi.disabled" loader variable. AFAIK the PCI part in the ACPI driver almost hasn't been adjusted to work with our version of PCI code. In FreeBSD it used to be sitting at i386/acpica/acpi_toshiba.c and was later moved into acpi_support. That change hasn't hit our tree (in fact, we have no acpi support drivers other than that). It seems that FreeBSD has them in dev/acpi_support now, and we for some reason have that directory in our CVS repository (but containing no files in it). Actually, it's not very important to keep just ACPICA latest, but if you bring the ACPI driver from FreeBSD you need to bring ACPICA code that matches their version, and it IS important. And it generally requires you much work to just update ACPICA part anyway because of how they change things on every release. Cheers.
| David Miller | Slow DOWN, please!!! |
| KAMEZAWA Hiroyuki | Re: 2.6.22-rc1-mm1 |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
| Steven Rostedt | [RFC PATCH 0/6] Convert all tasklets to workqueues |
git: | |
| Peter Klavins | Re: CRLF problems with Git on Win32 |
| J. Bruce Fields | Re: Git User's Survey 2007 unfinished summary continued |
| Linus Torvalds | Re: VCS comparison table |
| Junichi Uekawa | Re: [ANNOUNCE] GIT 1.5.4 |
| Arjan van de Ven | Re: [GIT]: Networking |
| Rémi | [PATCH 0/6] [RFC] Phonet pipes protocol (v2) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jozsef Kadlecsik | Re: TCP connection stalls under 2.6.24.7 |
| Richard Stallman | Real men don't attack straw men |
| Rogier Krieger | Re: bcw(4) is gone |
| Leon Dippenaar | New tcp stack attack |
| Brandon Lee | DELL PERC 5iR slow performance |
| high memory | 6 hours ago | Linux kernel |
| semaphore access speed | 9 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 10 hours ago | Linux kernel |
| Easter Eggs in windows XP | 13 hours ago | Windows |
| Shared swap partition | 14 hours ago | Linux general |
| Root password | 14 hours ago | Linux general |
| Where/when DNOTIFY is used? | 16 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 18 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 19 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
