cegger
7971844bd8
Until we do WOL, the PCI power management suspend code is a noop.
2009-01-17 00:02:40 +00:00
cegger
8023f7432d
don't call age_stop and age_init in suspend/resume.
...
pmf network class is already doing that.
pointed out by jmcneill
2009-01-16 23:58:05 +00:00
cegger
09bd2fda5c
rename PCI_PMCSR_PME to PCI_PMCSR_PME_STS.
...
Per request from jmcneill
2009-01-16 23:23:34 +00:00
cegger
fe069f5185
- fix age_read_vpd_word().
...
- add power management support. From FreeBSD.
2009-01-16 23:10:32 +00:00
cegger
53033e6af4
add Power Management flag. From FreeBSD.
2009-01-16 23:09:27 +00:00
cegger
31614b9ad8
add RCSID
2009-01-16 21:47:56 +00:00
cegger
0da9122630
age driver needs mii_phy
2009-01-16 21:11:27 +00:00
cegger
7546e67ddd
Driver for Attansic Technology F1 10/100/1000 Ethernet PHY.
...
Written by Pyun YongHyeon for FreeBSD, ported to OpenBSD by Kevin Lo, ported to
NetBSD by me.
2009-01-16 21:06:24 +00:00
cegger
351ce8ab9a
Use mii_anar(). No functional change.
2009-01-16 20:52:20 +00:00
cegger
100faa2cd7
add mii_anar(). From OpenBSD.
2009-01-16 20:51:18 +00:00
cegger
20e2f309c1
regen
2009-01-16 20:42:19 +00:00
cegger
dc7d4d47a4
add ATHEROS F1 and F2 PHYs
2009-01-16 20:41:39 +00:00
cegger
32b43f4cc8
Driver for Attansic L1 gigabit ethernet driver.
...
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.
XXX Driver needs testing.
2009-01-16 20:18:08 +00:00
bouyer
c99586fc4a
According to the latest datasheet I have (1.09), the transmitter and ckecksum
...
offload clocks needs to be programmed according to the negociated speed;
make it so. This makes the sample JME260 I have work.
2009-01-16 19:56:06 +00:00
yamt
cf5a92c11e
always use the new version of wscons_event for in-kernel.
2009-01-16 15:14:11 +00:00
yamt
350f838fcf
wsevent_init: always initialize version. pointed out by christos.
2009-01-16 14:38:09 +00:00
jmcneill
e90eb84a4b
regen for HP Generic RNDIS
2009-01-16 13:31:41 +00:00
jmcneill
3e9c6e548d
Add HP Generic RNDIS ID
2009-01-16 13:31:01 +00:00
haad
d80238dac9
Add struct disk to dm_dev so our LV will beshowed in iostat output.
2009-01-16 11:19:02 +00:00
mhitch
23a9d45ee2
When checking drive status, bump the pointer to the previous status
...
rather than using just drive 0 status. Another drive with a different
status would cause the previous status state to flip-flop and repeatedly
output state change messages.
2009-01-16 05:40:50 +00:00
mhitch
258f66824c
Another missed part of the device_t/softc split. Fixes ld(4) devices
...
on mlx(4) controller.
2009-01-16 04:20:28 +00:00
haad
44e4eeea57
Disable unloading of dm driver when there are any devices defined. This means
...
that we have to run lvm vgchange -a n before modunload in NetBSD.
We really need to disable module unloading only for mounted devices, I have
to look at vfs_hooks for mount/umount calls and find way how to mark devices
as mounted in dm driver.
2009-01-16 00:46:12 +00:00
yamt
0915dface4
- reduce the number of #ifdefs.
...
- build compat glues if MODULAR.
2009-01-15 04:22:11 +00:00
cegger
99af9c90e3
pull in changes from FreeBSD:
...
- reset autonegotation timer if media option is not IFM_AUTO or we got a invalid link.
- Announce link loss right after it happens.
- Autonegotiation is retried every mii_anegticks seconds.
- Report link state changes right after setting autonegotiation.
- use rgephy_reset consistently
- change rgephy_reset to use mii_phy_reset and rgephy_load_dspcode.
These changes give me a speedup from 6.5MB/s to 9.1MB/s on a 100MBit link.
2009-01-14 19:24:32 +00:00
christos
4c7a98373d
Allocate the max size needed so that we don't need to realloc in setversion.
...
Problem pointed out by yamt.
2009-01-14 15:34:36 +00:00
pgoyette
c6125af1bb
Include ADT7460 in chip table (it's identical to the ADT7463, except for
...
physical packaging).
2009-01-14 13:54:29 +00:00
haad
2df042407e
Add dm module as dependency and remove module_hold/module_rele calls.
2009-01-14 00:56:15 +00:00
christos
8945a0f495
provide wscons_event compatibility with 5.0.
2009-01-13 18:05:55 +00:00
yamt
70de973662
g/c BUFQ_FOO() macros and use bufq_foo() directly.
2009-01-13 13:33:58 +00:00
cegger
2846a218fe
use PRIu64 format to printf DISKPART
2009-01-12 08:33:02 +00:00
cegger
942939bc67
use PRIu64 format to printf major() value
2009-01-12 08:30:38 +00:00
cegger
da1cef7418
cast to char to printf DISKPART
2009-01-12 08:16:27 +00:00
christos
47e43241e2
protect kernel inline with _KERNEL
2009-01-12 02:26:16 +00:00
christos
b34c1a567e
s/set/get/
2009-01-11 23:55:25 +00:00
christos
ced9088db5
retain compatibility with old firm_event. Perhaps we should bump the protocol
...
version with an ioctl?
2009-01-11 23:36:39 +00:00
oster
6d132f42c6
Implement DIOCCACHESYNC for RAIDframe too.
2009-01-11 21:58:41 +00:00
mlelstv
8de4cc7236
Avoid crash under LOCKDEBUG by destroying a mutex correctly.
...
Also: move mutex init/destroy into attach/detach functions and
handle case where line discipline is closed before the irframe
device. Fixes PR kern/40271.
2009-01-11 14:28:13 +00:00
mlelstv
1c2f2889cc
Register with pmf.
2009-01-11 14:21:48 +00:00
haad
a74b9dc067
Use 64bit long minor nuber in dm_dev structure.
2009-01-11 11:54:52 +00:00
haad
ae10a6c772
Fix aprint_debug after christos-time_t merge.
2009-01-11 11:44:23 +00:00
cegger
8c2b3a39bc
make this compile
2009-01-11 10:58:26 +00:00
cegger
378bd0b618
make this compile
2009-01-11 10:47:37 +00:00
cegger
f8e41c4991
make this compile
2009-01-11 10:40:27 +00:00
cegger
e6e72079ad
make this compile
2009-01-11 10:25:29 +00:00
cegger
08ebead94e
make this compile
2009-01-11 09:51:38 +00:00
matt
eb01a7c3df
Initialize sc->sc_dev before we use it.
2009-01-11 07:40:02 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
cegger
c288f70f98
use new exported constants from net80211.
...
no functional change.
2009-01-10 13:03:19 +00:00
cegger
13175d24c8
BCM4328 has MAC rev 12.
...
XXX Driver now tells me, this chip has unsupported PHY type 4.
2009-01-10 12:57:50 +00:00
cegger
48a2c14752
Attach on BCM4328. This chip supports 11n.
2009-01-10 12:55:45 +00:00