joerg
599a3a8e85
Revert, fixed differently.
2007-12-17 14:11:53 +00:00
joerg
1dfe814354
Don't call acpi_md_sleep_init on Xen, it doesn't support ACPI sleep
...
anyway.
2007-12-17 14:11:12 +00:00
joerg
60a3119281
Alias UTF-8 to utf8 for symmetry with latin1.
2007-12-17 14:06:57 +00:00
joerg
dffe4b9c05
Use GENERIC for installation as well, just add the ramdisk hooks.
2007-12-17 13:48:18 +00:00
joerg
cc25cbe9b0
Don't hardcode limits for the floppy number on amd64. Just let it use as
...
many floppies as necessary.
2007-12-17 13:47:29 +00:00
jmcneill
edbb745595
Note ACPI-CA updated and the addition of pmf.
2007-12-17 13:09:11 +00:00
tsutsui
4e3d8b015c
Handle a quirk of newer MCP6x chips on reading MAC address.
...
Fix from Richy Kim in PR kern/36576.
2007-12-17 12:41:06 +00:00
agc
bb94308fd7
Pre-define HAVE_CONFIG_H for the portable autoconf-ed version as well.
2007-12-17 12:29:05 +00:00
tsutsui
8cdfb3fc02
Fix from YAMAGUCHI Takahiro in PR kern/30023:
...
Pass correct EEPROM address in fxp_write_eeprom().
2007-12-17 12:18:31 +00:00
agc
1e49aaff48
clean up a dependency on a file which has been removed
2007-12-17 12:05:35 +00:00
jnemeth
2e2f0a7f1e
usr/include/sys/pmf.h as it is no longer installed, so mark it obsolete
...
XXX lines should not be removed from this file
2007-12-17 07:53:41 +00:00
dyoung
d475558145
Cosmetic: wrap some lines. Join some lines. struct device * ->
...
device_t. Use device_t accessor functions.
2007-12-17 05:05:03 +00:00
riz
1d7c0bc27f
Add drvctl(4)
2007-12-17 04:36:16 +00:00
riz
ed16d9b321
Create drvctl as part of 'all'.
2007-12-17 04:29:50 +00:00
jnemeth
5e804d8ae6
add usr/include/sys/pmf.h
2007-12-17 00:46:10 +00:00
drochner
25d7d279f8
don't include <sys/pmf.h> for userland programs, saves some recompilation
...
if internals are changed
2007-12-16 23:24:21 +00:00
jmcneill
f13c9086d0
acpi_pci_link_route_interrupt: if we're going to return a valid IRQ, we
...
need to fill in irq, pol, and trig arguments.
2007-12-16 23:11:08 +00:00
dyoung
48b8e42d80
Fix a bug I introduced to rtw_chan2txpower() the other night.
...
Fix a bug in device detachment: change a break statement to a
/*FALLTHROUGH*/ in rtw_detach().
2007-12-16 21:39:33 +00:00
dyoung
cf784f4497
Improve pci, cbb, cardslot, cardbus, and pcmcia to support detachment
...
of this entire device tree:
pci0 at mainbus0
elansc0 at pci0
gpio0 at elansc0
cbb0 at pci0
cardslot0 at cbb0
cardbus0 at cardslot0
pcmcia0 at cardslot0
cbb1 at pci0
cardslot1 at cbb1
cardbus1 at cardslot1
rtw0 at cardbus1
pcmcia1 at cardslot1
sip0 at pci0
nsphyter0 at sip0
sip1 at pci0
nsphyter1 at sip1
Whew!
2007-12-16 21:28:30 +00:00
elad
17c98b1431
Make solisten() take an lwp pointer like the rest, so it can be passed down
...
to pr_usrreq.
2007-12-16 21:25:59 +00:00
dyoung
84e05249e0
Collect garbage. All of this code is in pci/if_sip.c, now.
2007-12-16 21:17:44 +00:00
dyoung
59b1a7d60b
Convert many macros to inline subroutines. Some of the subroutines
...
probably should not be inline.
2007-12-16 21:17:00 +00:00
dyoung
15bdc66954
Miscellaneous changes designed to improve elansc suspend/detachment:
...
1 Synchronize access to the softc and hardware with a mutex.
2 Add the sc_suspended flag, and observe it in the watchdog routines.
3 Re-order operations in elansc_attach() and elansc_detach() to
protect against access while the device is not fully configured.
4 Cancel detachment if sysmon_wdog_unregister() is cancelled by a
signal.
5 Add an empty childdetached method so that I can detach gpio0 at
elansc0. (XXX cannot individually re-attach gpio0.)
2007-12-16 21:14:22 +00:00
jmcneill
a73b778622
Now that ACPI-CA doesn't parse the X/RSDT for us, we need to map it
...
ourselves.
Before:
acpi0: X/RSDT: OemId < , ,00000000>, AslId < ,00000000>
After:
acpi0: X/RSDT: OemId <LENOVO,TP-7L ,00001260>, AslId < LTP,00000000>
ACPI can now access the X/RSDT using 'acpi_map_rsdt' and 'acpi_unmap_rsdt'.
2007-12-16 21:10:34 +00:00
dyoung
10bb018ab2
In sysmon_wdog_unregister(), do not return until all of the watchdog
...
timer's users are gone. A signal cancels the unregister:
sysmon_wdog_unregister() leaves the watchdog registered.
The only user of sysmon_wdog_unregister() that I can find is in
elansc(4), so this looks like a safe change to make.
2007-12-16 21:07:45 +00:00
dyoung
471ee9702c
Add a childdetached handler. This lets us detach devices from
...
mainbus0. E.g.,
# drvctl -d pci0
elansc0 detached
cardbus0 detached
pcmcia0 detached
cardslot0 detached
cbb0 detached
rtw0 detached
cardbus1 detached
pcmcia1 detached
cardslot1 detached
cbb1 detached
nsphyter0 detached
sip0 detached
nsphyter1 detached
sip1 detached
pci0 detached
#
Alas, we cannot re-attach devices to mainbus, yet.
2007-12-16 20:57:21 +00:00
dyoung
2bfef6f106
Add config_deferred() for forcing the deferred configuration to
...
run, which we need to do from drvctl(4) sometimes.
Add device_foreach_child() for calling a function on each child of
a device_t.
Add config_detach_children() for detaching all of the children of
a device (uses device_foreach_child()).
2007-12-16 20:49:52 +00:00
dyoung
50ee1db9f5
#include <sys/stdint.h> for uint64_t.
2007-12-16 20:45:59 +00:00
pooka
08c7b6138e
* nuke puffs_cc_get{specific,usermount} for good
...
* move prototypes for puffs_docc and puffs_dopufbuf into the
public header, as they are should be exposed
2007-12-16 20:02:57 +00:00
pooka
369391b0a0
Clarify that link_target in node_symlink is null-terminated.
2007-12-16 19:10:58 +00:00
christos
f54e064ee9
add null pmf handlers.
2007-12-16 19:01:35 +00:00
elad
ce55394a89
Oops. Remove kauth.h inclusion.
...
Pointed out by gdt@, thanks.
2007-12-16 18:39:57 +00:00
phx
c6d327a8be
At least under certain (mis)configurations (e.g. on the "Pegasos" board)
...
the VT8231-IDE's native mode only works with irq 14/15, and cannot be
programmed to use a single native PCI irq alone. So we install an interrupt
handler for each channel, as in compatibility mode.
This behaviour has to be activated by the "use-compat-native-irq" property,
otherwise the driver works as before.
2007-12-16 16:41:01 +00:00
apb
f90ed3540d
s/07555/0755/ in permissions of /dev file system. Thanks to
...
Dieter Roelants for the report.
2007-12-16 16:09:27 +00:00
he
5ccc78e887
Remove a local variable which is no longer used.
2007-12-16 14:21:43 +00:00
elad
7beaf4911f
Really fix low port allocation, by always passing a valid lwp to
...
in_pcbbind().
Okay dyoung@.
Note that the network code is another candidate for major cleanup... also
note that this issue is likely to be present in netinet6 code, too.
2007-12-16 14:12:34 +00:00
degroote
9fe6472fc5
Add support for the command list scan in ifconfig (this command permits to scan
...
access point in the neighbourhood).
Complete list of channel attributes and list of management information element
payload.
While here, use estrlcpy instead of strncpy.
From FreeBSD ifconfig and net80211
2007-12-16 13:49:21 +00:00
lukem
433c095cb8
Add references to various protocol pages that support setsockopt(2).
...
Makes it much easier to find them.
2007-12-16 09:49:28 +00:00
apb
d1108f97fb
shorten lines > 80 chars; remove trailing spaces; unexpand tabs.
2007-12-16 08:10:00 +00:00
apb
4cb750b592
Mention revent MAKEDEV(8) changes.
2007-12-16 07:51:28 +00:00
mrg
cd5f1957b6
move the arm32 cpu_intr_p() function into arm32_machdep.c
...
from arm_machdep.c. this lets acorn26 link again.
2007-12-16 07:31:47 +00:00
perry
9dfe283011
remove cdefs.h at mrg's request
2007-12-16 02:38:24 +00:00
mrg
f38a1578dc
catch up with LOCKDEBUG changes.
2007-12-16 02:23:55 +00:00
dyoung
058d9b982e
Synchronize device detachment with network interrupts. Use the
...
pmf network class instead of powerhooks.
2007-12-16 00:04:07 +00:00
dyoung
7ab662e649
Add a detach routine.
2007-12-16 00:00:08 +00:00
dyoung
868758b808
In ath_pci_detach(), unmap bus memory.
2007-12-15 23:56:54 +00:00
christos
177940c72e
use vnode_to_path.
2007-12-15 23:52:00 +00:00
dyoung
fca36f8a1a
sip_copy_small and gsip_copy_small should not be static any longer.
...
Make it so.
2007-12-15 23:04:57 +00:00
perry
d4b751b032
Remove lots of redundant __attribute__((__noreturn__))s
...
The lines already had __dead on them. I wonder why they had both...
2007-12-15 22:01:25 +00:00
he
2ffc7d4a2b
Only declare sip_copy_small under __NO_STRICT_ALIGNMENT, to afoid
...
a "defined but not used" warning turned into error by compiler options.
2007-12-15 21:51:45 +00:00