thorpej
838ee1e0d9
Use device_private().
2006-03-29 06:51:47 +00:00
thorpej
8fc3572573
Use device_private().
2006-03-29 06:41:24 +00:00
thorpej
92c7bba3df
Use device_private().
2006-03-29 06:28:38 +00:00
thorpej
a48de83500
Fix typo.
2006-03-29 06:25:35 +00:00
thorpej
0bb0418280
Use device_private().
2006-03-29 06:22:38 +00:00
thorpej
35947a37ad
Add a device_private() to return the driver's private data (softc).
...
For now, this just returns the passed device_t (as a void *) because
device softcs currently contain a "struct device" as the first member.
2006-03-29 06:08:16 +00:00
thorpej
78ffd948be
Replace device_locators() with device_locator(), and use it.
2006-03-29 06:00:46 +00:00
thorpej
9dfa94e2e6
Don't sleep on &rx->ra_dev.dv_unit -- sleep on &rx->ra_state instead.
2006-03-29 04:47:13 +00:00
thorpej
2709fdc80e
Remove isp_unit -- it is not used.
2006-03-29 04:43:56 +00:00
thorpej
f5bd442003
Use device_unit().
2006-03-29 04:41:56 +00:00
thorpej
5470d2a488
mpt_pci_link_peer(): Rather than testing if the candidate device is attached
...
with mpt_pci (by comparing the dv_cfattach pointer), check to see if it has
the same parent. If so, then it is guaranteed to have the same attachment
(which is mpt_pci).
2006-03-29 04:32:09 +00:00
thorpej
b9f91d66b8
Use device_is_a() rathern than testing the dv_cfattach pointer.
2006-03-29 04:24:51 +00:00
thorpej
8077f13805
Use device_is_a(), rather than testing the dv_cfdriver pointer.
2006-03-29 04:19:48 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
thorpej
ff5e3107c9
No need to check if dv_cfdata is NULL here.
2006-03-29 03:58:48 +00:00
perseant
0a4e8d80c1
Double-checkpoint on unmount. This ensures that vnodes belonging to removed
...
files are really freed, preventing occasional spurious EBUSY returns from
vflush().
2006-03-28 23:57:41 +00:00
thorpej
cde00d4a4b
Use device_is_a().
2006-03-28 23:22:08 +00:00
pavel
1cf9828fc6
regen (added stf).
2006-03-28 22:03:47 +00:00
pavel
9f508a304c
regen (added stf).
2006-03-28 21:14:54 +00:00
kleink
944c7fb436
Make <sys/audioio.h> include prerequisite headers; audio(4) was incomplete
...
with regard to required headers, and besides that it also matches Solaris.
2006-03-28 21:12:04 +00:00
rpaulo
83ec5d90cd
regen
2006-03-28 21:11:09 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
bjh21
4123cff8a5
Add infrastructure for building real RISC OS relocatable modules, since I've
...
worked out how to do it. boot32 doesn't use this mechanism because converting
it would take a fair amount of effort for little gain at this stage.
2006-03-28 20:45:46 +00:00
bjh21
0b33b40f58
Don't declare HIMEM as a variable if it's a macro already.
2006-03-28 20:40:38 +00:00
riz
fee50493a2
Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net
...
for the last N months.
2006-03-28 18:29:42 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
thorpej
d717ea85c2
Use device_is_a() and device_unit().
2006-03-28 17:32:20 +00:00
thorpej
da6fcd553b
Add a comment indicating that the cpuid (derived from the autoconfiguration
...
unit number of the CPU) should be cached in the cpu_info.
2006-03-28 17:25:11 +00:00
thorpej
5e2428ba9d
Use device_is_a().
2006-03-28 17:23:21 +00:00
thorpej
11c16d3717
Use opb_instance instead of dv->dv_unit when checking if we should set
...
the mac-addr property.
2006-03-28 17:22:15 +00:00
shige
2295adc429
Don't configure the aurtc device.
2006-03-28 16:56:50 +00:00
gdamore
203fcf4dc2
Use todr_attach.
2006-03-28 16:52:35 +00:00
gdamore
a3102ea4c1
Use todr_attach.
2006-03-28 16:37:44 +00:00
gdamore
8a4593e3a3
Duplicate RTC registration should be a warning, not a panic.
2006-03-28 16:35:51 +00:00
shige
58c31114a4
Add the following devices:
...
- Au1550 Programmable Serial Controller
- SMBus protocol (on Au1550 PSC)
- RICOH R2025S RTC (on SMBus)
- ATMEL AT24C04 EEPROM (on SMbus)
2006-03-28 15:12:01 +00:00
tsutsui
5df31a030b
Fix isaportoffset for SHARP_TRIPAD and VADEM_CLIO_C.
...
Patch from Matthew Orgass on port-hpcmips, as part of PR port-hpcmips/28228.
2006-03-28 14:26:56 +00:00
tsutsui
2cfc946fc5
Add keymap for Clio C-1000 and C-1050.
...
Patch from Matthew Orgass in PR port-hpcmips/28383.
2006-03-28 14:13:12 +00:00
shige
1af8f5f857
Add a missing todr_attach() function.
2006-03-28 12:02:36 +00:00
gdamore
d375c80e7f
Rework evbmips clock architecture to use common clock_subr.h routines.
...
Additionally, do not fail if no RTC is present, as not all boards have one.
Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
2006-03-28 03:43:57 +00:00
perseant
afc725a1c7
Don't let the pagedaemon wait for pages, since that is just asking for
...
a deadlock.
2006-03-28 01:29:55 +00:00
dyoung
b307a01ecd
Revamp ieee80211_get_rate. Now it does not use the rateset in the
...
ic->ic_bss, but it uses the rateset in its new ieee80211_node
argument, instead. If the rate is fixed by ic->ic_fixed_rate, but
the fixed rate is not in the node's rateset, choose a reasonable
default: prefer the lowest basic rate or, if there is no basic
rate, prefer the lowest rate, period.
Change a printf complaint to a debug message.
Adapt drivers to suit new ieee80211_get_rate calling convention.
XXX I really need to replace ieee80211_get_rate with a bitrate
XXX adaptation algorithm. Soon, soon....
2006-03-28 00:48:10 +00:00
dyoung
0ea2ddfdd9
For eventual re-use, extract the sub-band struct from struct
...
ieee80211_country_ie and call it ieee80211_band.
2006-03-28 00:13:56 +00:00
jmcneill
913f185f8f
Implement a handful of missing smbus protocol functions. Proposed on
...
tech-kern: http://mail-index.netbsd.org/tech-kern/2006/03/16/0029.html
2006-03-27 23:59:38 +00:00
dyoung
facc99b314
Set the channel frequency and flags in the radiotap headers in
...
rtw_tune instead of in rtw_start, rtw_intr_rx.
2006-03-27 22:03:36 +00:00
dyoung
3168e87b4f
Remove unused argument ifflagsp from rtw_dmamap_load_txbuf.
2006-03-27 22:02:02 +00:00
bouyer
7837fbef28
A device that has just been detached can't be reconfigured. Coverity ID 2674.
...
Note: this was not a problem right now because there's no drivers with both
a detach and a ii_reconfig callback.
2006-03-27 21:50:45 +00:00
dyoung
bf0b9fa559
Fix my typo in ath(4)'s radiotap presence field (receive direction)
...
so that the signal and noise are in dB, not dBm. Since dBm signal
and noise come before the antenna field, the capture fields were
in the wrong order. That made for some astonishing (and wrong)
radiotap captures. dB signal and noise come after the antenna
field, so everything is in the right order, now.
2006-03-27 21:41:23 +00:00
dyoung
448664e102
Use __arraycount().
2006-03-27 21:27:02 +00:00
bouyer
5aee9837e8
Add a comment saying why p can't be NULL here. Coverity ID 764.
2006-03-27 21:25:21 +00:00
dyoung
321a3122bb
Per discussion on source-changes@, add __arraycount(array) for
...
counting the number of elements in a static array, using the idiom,
sizeof(array)/sizeof(array[0]).
XXX This may move in the future, but this is a safe place to put
XXX it for use in the kernel.
2006-03-27 21:18:33 +00:00