Commit Graph

24544 Commits

Author SHA1 Message Date
joerg
fcc58fbfce Add entries for Vodafone Mobile Connect 3G datacard (from FreeBSD)
and for the Novatel 950D.
2008-10-10 16:29:57 +00:00
pgoyette
13579c9401 sysctl doesn't like names that start with digits, nor does it like names
with embedded '.' so change the names to be better-conforming.  Reported
by njoly
2008-10-10 13:08:29 +00:00
pgoyette
691525189c It's not necessary to #include "sysmon_envsys.h" any more. 2008-10-09 10:25:47 +00:00
oster
c68af69bbe Need to include sys/termios.h here too. 2008-10-08 16:11:23 +00:00
christos
f9657a08ed return ENOTTY instead of EOPNOTSUPP for ioctl(/dev/null, TIOCGETA)
from Andy Shevchenko
2008-10-08 14:42:56 +00:00
pgoyette
94ba92bdd7 Increase accuracy in nominal voltage table. 2008-10-07 22:50:33 +00:00
pgoyette
379328cb93 Remove chip-specific drivers for ADT7463, ADT7467, and ADM1030; these
have been superseded by the dbcool(4) driver.
2008-10-07 19:32:29 +00:00
jmcneill
04fec95922 ehci_free_itd: use LIST_INSERT_HEAD rather than
LIST_INSERT_AFTER(LIST_FIRST(..), ..) when returning itds to the freelist
to prevent a crash when the freelist is empty. Reviewed by Jeremy Morse.
2008-10-06 02:21:50 +00:00
pgoyette
aef4db128d Various clean-ups:
1. Trange sysctl's belong to the temp sensors, not to the fan controllers
  2. Trange really describes a slope on many chips, so modify the description
  3. Most of the sysctl's are read/write even if the chip's config is
     locked;  reflect that in the CTLFLAGs
  4. Apply correct 'nominal' values for voltage sensors/limits, specify
     them in microVolts, and calculate once rather than each time needed
  5. Be more consistent in register names - for example, use VCC instead of
     SUPPLY_VOLTAGE, to match VCC_LOWLIM & VCC_HIGHLIM
  6. Type of dbcool_islocked() should be bool, not int
  7. Reduce some unnecessary code indentation
  8. Define Vtt and Imon, and add ADT7490 support (excluding PECI sensors)
  9. Split the huge (250+ lines) dbcool_setup() function into a few smaller
     routines for better readability
 10. Update sensor tables for ADT7476 and ADT7468 - these chips have five
     voltage sensors, not two
 11. Adjust flags for ADT7463 and ADM1027 - these chips can monitor CPU
     VID data bits
 12. Update man page
2008-10-06 01:35:35 +00:00
jmcneill
6c26172841 Fix issue where multi-transaction isoc endpoints were forced to single
transactions, from Jeremy Morse.
2008-10-05 21:31:39 +00:00
bouyer
90f9293b21 Add missing splx(). Funny that it didn't cause issues ... 2008-10-04 21:00:28 +00:00
bouyer
473d83f87f Make sure the adapter is ready to accept FISs before bringing the PHY up.
Wait for the BSY bit to clear in the status register.
Makes the cdrom drive probe properly on a ATI SB600 controller in AHCI
mode.
2008-10-03 13:02:08 +00:00
bouyer
2887906e27 Kill ATACH_TH_RUN and use cpu_intr_p() instead. 2008-10-02 21:05:17 +00:00
sborrill
85b692fb65 Add support for >2TB arrays and implement raw I/O mode which is a
requirement for this.

N.B. Still to do - move dump on ld to 64-bit disk addresses
2008-10-02 08:21:57 +00:00
pgoyette
0219f2ad21 Add new driver for dbCool(tm) family of Thermal Monitor and Fan Controller.
Supported chips: ADM1027, ADM1030, ADT7463, ADT7466, ADT7467, ADT7468,
ADT7473, ADT7475, and ADT7476.  Notably missing is the ADT7490, and fan
controller support on the ADT7466 is still on the to-do list.

Tested by myself and njoly@
Reviewed by garbled@
Commit approved by christos@, bouyer@, cube@, and matt@
2008-10-02 00:47:51 +00:00
bouyer
04f65cb049 Use a separate thread to probe/attach atabus's childrens. Fixes a deadlock
where the interrupt routine wants to wake up the atabus thread to perform a
reset, while the thread is blocked in wd's attach function.
2008-10-01 18:23:55 +00:00
christos
c11d4b42be regen 2008-10-01 17:16:15 +00:00
christos
98f48d5f26 ICH10 support from Brad du Plessis 2008-10-01 15:38:14 +00:00
hannken
597afdd860 Make fss(4) D_MPSAFE.
- Use the device lock to protect fss_open(), fss_close() and fss_unmount_hook().
- Make sure fss_bs_thread() does not call biodone() with locks held.

Reviewd by: Andrew Doran <ad@netbsd.org>
2008-10-01 10:45:11 +00:00
jmcneill
536d3f6c8b Remove esl(4) 2008-09-30 16:51:45 +00:00
pgoyette
d17ee48907 When scanning i2c bus for responding devices, skip over the multicast
i2c Alert Response Address.  Skipping this won't hurt (the address is
allegedly reserved), and it might avoid the lock-ups that have been
seen by others.
2008-09-29 22:55:08 +00:00
bouyer
2837506868 Regen: Add JMicron OUI, and JMC2[56]0 PHYs. 2008-09-28 18:30:47 +00:00
bouyer
d601ac3749 Add JMicron OUI, and JMC2[56]0 PHYs. 2008-09-28 18:30:11 +00:00
oster
f29979e70c Undo previous change to an #if 0. The code does belong to the
distributed sparing bits, but no-one has compile-tested the code.
Un-breaks the ALL build.
2008-09-28 16:17:17 +00:00
wiz
188468ada8 regen. 2008-09-28 15:41:50 +00:00
wiz
e5e4b9c58a Add Zippy Technology Corporation (from www.linux-usb.org/usb.ids). 2008-09-28 15:41:29 +00:00
martin
dab198261c Apply patch from Dave Huang in PR kern/39642: catch up on com(4)'s
device_t/softc split.
2008-09-28 15:39:40 +00:00
pgoyette
d3676b5978 Add support for DDR3.
OK garbled@
2008-09-28 12:59:54 +00:00
bouyer
10d92b0ee8 Regen for JMicron Ethernet Controllers. 2008-09-28 11:36:06 +00:00
bouyer
470fa26649 Add JMicron JMC250 Gigabit Etheret and JMC260 Fast Ethernet Controllers.
While here, fix other JMicron device IDs (product ID is 4 digits, not five).
2008-09-28 11:35:06 +00:00
oster
6658196076 Cleanup some of the spare table stuff. It is not needed in the general
case, and is only needed for parity declustering with distributed
sparing.
2008-09-27 21:58:04 +00:00
pgoyette
b73f29cbc7 Display memory latency/timing data via aprint_verbose()
spdmem0: tAA-tRCD-tRP-tRAS: 5-5-5-18

OK garbled@
2008-09-27 16:37:40 +00:00
pgoyette
f9eb81cfb1 Miscellaneous clean-ups:
1. Use proper CRc check for FB-DIMMs rather than simple checksum
  2. Provide access to entire SPD ROM contents via sysctl, rather than
     only the first 64 bytes
  3. Use macros to define i2c bus address checking
  4. General fix-up for RAMBUS memory (not that anyone I know has one)

OK garbled@
2008-09-27 06:58:08 +00:00
jmcneill
2941ba2cb6 De-USB_* pseye(4) 2008-09-27 02:47:56 +00:00
ad
3704b6874f PR kern/38872 vnconfig panics with rw lock error
Pass IO_NODELOCKED where needed.
2008-09-24 07:57:30 +00:00
ws
0f3b6c479f If you want to test option INET, make sure that it is in sight. 2008-09-24 07:19:18 +00:00
christos
29fd335624 PR/39583: Brad du Plessis: acrmsr(4) driver doesn't report number of volumes correctly
to bioctl(8)
PR/39584: Juan RP: arcmsr(4) driver disk state values are incorrect (for ARC-1220)
2008-09-23 22:22:41 +00:00
oster
c4025116b9 Nuke unneeded printf(). Spotted by pooka@. 2008-09-23 21:36:35 +00:00
hannken
95da771bbd Build modular fss driver.
Reviewed by: Quentin Garnier <cube@netbsd.org>
2008-09-23 07:56:59 +00:00
jmcneill
c175112638 Remember previous display brightness across suspend/resume; now we don't
need X to restore the display for us.
2008-09-21 21:15:28 +00:00
jmcneill
c3641af740 Register with pmf 2008-09-21 19:26:36 +00:00
jmcneill
402497db0a Guard against short bHeaderLength when processing video payload 2008-09-21 19:22:21 +00:00
freza
8f5a2d0c69 Make it compile with DPRINTFs disabled. 2008-09-21 18:20:03 +00:00
jmcneill
614d391b35 Discard frames with header lengths larger than we expect them to be.
Use USBD_NO_COPY and no timeout with the bulk transfer. uvideo(4)
works on EeePC now.
2008-09-21 17:58:05 +00:00
jmcneill
30ecaca828 UVC bulk endpoint support, from myself, mjf, and a bottle of vodka. Mostly
works, doesn't handle stream errors properly yet.
2008-09-21 14:13:24 +00:00
freza
e7607938e4 Use M_80211_NODE for 'zyd_node' allocation instead of M_DEVBUF. 2008-09-21 09:38:27 +00:00
jmcneill
d911baed67 Fix reversed test in uvideo_init_control, from Patrick Mahoney 2008-09-20 21:05:58 +00:00
freza
d051eaa878 iwn_node_alloc(): Allocate 'iwn_node' in M_80211_NODE (which is what
ieee80211_node:node_free() expects), not M_DEVBUF. Fixes DIAGNOSTIC
    crashes due to suspected double-free.
2008-09-20 18:28:28 +00:00
jmcneill
47d8270f89 Add UYVY support. 2008-09-20 18:17:56 +00:00
jmcneill
dd257cd7a7 Add RGB555, RGB565, UYVY support 2008-09-20 18:13:40 +00:00