Commit Graph

5548 Commits

Author SHA1 Message Date
kiyohara dab69ffee7 s/uint32_t reg/pcireg_t reg/.
Check condition `!= 0'.
2007-07-28 12:31:50 +00:00
kiyohara 37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
tron 14ce5c0a98 Add support for newer SAS and similar devices to mpt(4). Tested with
the LSI SAS1064 in a Sun x4200 server.

These enhancements were developed by Garrett D'Amore and contributed
to NetBSD by the TELES AG.
2007-07-27 13:06:51 +00:00
ad 744a92f0f8 Don't depend on uvm_extern.h pulling in proc.h. 2007-07-21 19:06:20 +00:00
kiyohara 2fd3ecbe55 We wait for the clearness of the NFORCE_SMB_PROTOCOL as transfer completion.
And, the maximum is assumed to be 10msec.  I think that the thing for which
it waits any further is dangerous for the system.
2007-07-21 12:14:27 +00:00
dsl cb40f24fa8 include sys/cdefs.h 2007-07-19 22:00:04 +00:00
dsl a63b2075af include cdefs.h before any opt_xxx.h 2007-07-19 21:53:15 +00:00
degroote d1103dfaef change firmware loading code to adopt the new 2.14.4 firmware layout (from
OpenBSD).

While here, remove some dead code I added when I ported the code from OpenBSD.


IMPORTANT : You must download the 2.14.4 firmware or update your
sysutils/wpi-firmware2 to the last revision (2.14.4) or the driver will stop
working.
2007-07-18 18:49:16 +00:00
christos 1737a18597 PR/36652: Dave Barnes: cbb0: Bad Vcc status once set will not clear
-ThinkPad 570 / PC: Don't write to SOCKET_STAT, which is read-only,
instead write to SOCKET_FORCE.
2007-07-16 14:36:01 +00:00
he c9f40c630a Adapt two more uses to the new signature of callout_init(). 2007-07-12 22:11:06 +00:00
degroote 4d57c0fb0d Fix more build issues on amd64 (exposed by WPI_DEBUG) 2007-07-11 17:51:07 +00:00
xtraeme eb410432d8 Use %zu to print a size_t, fixes the build on amd64. 2007-07-11 17:26:25 +00:00
kiyohara 1f48268a37 Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver. 2007-07-11 07:53:29 +00:00
jklos 7e18461fc5 More updates to the cxgb stuff. Now it actually starts configuring and
talking to the hardware.
2007-07-10 06:07:54 +00:00
ad 88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
degroote 317bac119f Fix some conflicts in my previous commit.
Sorry for the bad commit

Thanks to dogcow@ for the report.
2007-07-09 20:29:06 +00:00
degroote 825b897d9b Sync the driver with the OpenBSD one
1/ Update the driver to use the new firmware images from Intel (2.14.3.)
2/ Read the list of supported channels from the EEPROM instead of having
   it hard-coded in the driver.
3/ Limit output power to what is specified in EEPROM.
4/ Decrease output power for highest OFDM rates to reduce distortion.
5/ Automatically adjust output power to temperature changes for increased
   throughput and range.
6/ Attach the adapter's onboard thermal sensor to the sensor framework.
7/ Replace 'magic' fields in structures with their correct definitions.
8/ Rewrite the firmware load in order to reduce the diff with OpenBSD one

NOTE2: you must install sysutils/wpi-firmware2 in order to use the new
driver

NOTE2: if you are using a channel not allowed by the regulatory domain
of your adapter, you will no longer be able to associate.

Thanks a lot for his hard work to damien@OpenBSD.org
2007-07-09 19:38:51 +00:00
jklos b03f59f16f Boo boo - .h files don't go in here... 2007-07-09 01:14:05 +00:00
jklos 5bb1837e63 Added one last file for Chelsio support. 2007-07-09 01:08:22 +00:00
jklos 5731e0c1e1 More updates to Chelsio support files. It compiles, but almost certainly
doesn't work yet.
2007-07-09 00:53:52 +00:00
jmcneill b8b2ef4d41 If the USB legacy capability flag is not set, we mistakenly attempt to
clear it anyway by writing to PCI configuration register 0x00. Instead,
if this flag is not set, simply bail out from ehci_get_ownership.
2007-07-08 18:22:28 +00:00
jklos c2dc605e95 Updating more Chelsio files. 2007-07-08 02:30:30 +00:00
jklos 953092f8c6 Adding another file for Chesio 10 gig card support. 2007-07-07 21:05:41 +00:00
jklos 1f2ed1cde7 Added two files for Chelsio 10 gig cards. 2007-07-07 20:59:16 +00:00
jklos 37c2139a38 Updating Chelsio files. Not quite compiling yet. 2007-07-07 20:48:16 +00:00
jklos 947224b2b3 Added Chelsio vendor and various Chelsio hardware. 2007-07-07 20:37:40 +00:00
jklos a132475473 Added Chelsio vendor plus 10 gig hardware (and friends). 2007-07-07 20:30:47 +00:00
hpeyerl 1182a0e971 regen 2007-07-06 19:23:52 +00:00
briggs b8b28bda88 Print an error and fail the sk_attach() if we have an unknown chip type
(instead of panicing).
Also check to see if we have a Yukon2 type, and if we do, complain about
that explicitly earlier (and still fail the attach, but refer to msk(4)).
It would be better if we didn't have Yukon2 devices match in the sk(4)
device table, but in case people change the hardware without changing
device IDs, we might as well catch it.
2007-07-06 18:52:52 +00:00
briggs eacc7fb04e Remove DLink DGE560T as it (in at least some versions) uses a Yukon EC
chipset, which is not handled by this driver, but is handled by the msk(4)
driver.  The DGE560T_2 entry is left alone for now--it might also need to
go to msk(4).
2007-07-06 18:44:16 +00:00
hpeyerl 610966ac35 ATI updates from Christoph Egger 2007-07-06 15:05:42 +00:00
jklos eddc22c9b4 These files (cxgb*) are for the Chelsio T3 10 gigabit ethernet card from
the FreeBSD driver by Kip Macy (kmacy@FreeBSD.org).
2007-07-05 22:23:18 +00:00
jklos 0bdffa7573 Updates of working copies (there will be many). 2007-07-05 22:21:37 +00:00
pooka c22b16280d wsize is size_t = unsigned and should be printed with %zu instead
of %zd.  cosmetics for PR 36591 by khorben.
2007-07-04 23:18:49 +00:00
xtraeme f50072a162 In the gtredata function, use the edata pointer rather than using
directly the edata array index in the softc.
2007-07-01 22:20:34 +00:00
xtraeme da3f163bd2 Imported envsys 2, a brief description of the new features:
(Part 2: drivers)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:37:12 +00:00
xtraeme d6e294cd05 regen 2007-06-27 11:53:54 +00:00
xtraeme 16437a5d29 Improve the NS CS5535 entries and remove the NS part, it's redundant. 2007-06-27 11:53:38 +00:00
xtraeme 468f2b4743 regen 2007-06-26 22:43:16 +00:00
xtraeme 9d2af5fa13 Add National Semiconductor CS5535 devices, found in the decTOP. 2007-06-26 22:42:58 +00:00
mjacob 1d191096fb If we have 2K Login firmware for 23XX cards, remember to put out the
'extended' structure- not the older one. Matters for the swozzling
that goes on for big endian machines.
2007-06-26 20:58:27 +00:00
aymeric beb9020c42 Recognize the Intrepid2 gem. Needed at least on the last PowerBook G4. 2007-06-25 11:11:00 +00:00
jklos f43233e198 These files (cxgb*) are for the Chelsio T3 10 gigabit ethernet card from
the FreeBSD driver by Kip Macy (kmacy@FreeBSD.org).
2007-06-22 18:18:54 +00:00
jklos f757e0cee8 Added cxgb entry for Chelsio T3 10 gigabit card. 2007-06-21 23:13:18 +00:00
sborrill 8d4b49cb31 Support more i915 stolen memory configurations (previous limit was 8MB,
some configurations steal up to 64MB). OK christos@
2007-06-20 08:17:12 +00:00
degroote 220b6d3811 Add a workaround in the case where we have low number of rbuf.
It seems to fix problem of frozen network with wpi.

ok by @joerg.
2007-06-18 19:40:49 +00:00
ad a5210c2d29 opt_i2o.h is gone. 2007-06-16 23:26:04 +00:00
jmcneill b52635a353 Add VT6105M (Rhine III) to the list of supported devices, as found in the
Soekris net5501.
2007-06-15 21:08:21 +00:00
joerg 29315a1540 Fix ACPI suspend/resume support of clcs and clct. Based on auich and
hints from jmcneill@.
2007-06-15 13:26:57 +00:00
xtraeme d06693ebcd Fix a typo in voodoofb_drm_unmap(), requested by garbled.
cvs: ----------------------------------------------------------------------
2007-06-12 18:16:54 +00:00