Commit Graph

29876 Commits

Author SHA1 Message Date
msaitoh c9fb3a9800 When an interrput is link change, notify link change to mii layer using
mii_pollstat().
2012-11-08 14:37:47 +00:00
msaitoh 4d1a9736e4 Don't use M_HASFCS flag. 2012-11-08 14:32:01 +00:00
msaitoh 99931999d5 Fix a bug that PHY isn't set to low-power mode on PCH and PCH2. 2012-11-07 08:17:18 +00:00
matt d6411b2133 Fix ETTF PSPD definitions and enable the ETTF PORTSC detection.
Fix EHCI portion of PR/47156.
2012-11-04 12:01:55 +00:00
ahoka 57f2b3b2bb Endiannes fixes from Brett Slager in ONFI Param page parsing.
Similar changes in nandemulator by me.
Remove panic about more than one LUNs.
2012-11-03 12:45:28 +00:00
ahoka e30fb1abe0 Make nc_block_pages go aways, its redundant and unused.
Print more info on attach including the width.
2012-11-03 12:12:48 +00:00
ahoka b8273ad827 Hah! Size is actually in megaBIT! 2012-11-02 21:38:29 +00:00
ahoka b16ec2106f Set nc_block_pages 2012-11-02 21:27:46 +00:00
ahoka e476cc66df Add assertions and remove bogus ctassert. 2012-11-02 21:17:26 +00:00
ahoka 9dcc74b00e Fix a typo and add a debug print. 2012-11-02 20:55:01 +00:00
pgoyette 61a70aee5e Use %zu formats to print size_t values. 2012-11-02 19:50:22 +00:00
ahoka 3c5212aaaa No longer use size_t in the chip structure. 2012-11-02 17:14:41 +00:00
jdc 9e836bcfdf Only create the "i2c-child-devices" property if we actually found any
child devices (rather than unconditionally).
Allows indirect config of i2c busses to work (e,g. for Tadpole SPARCle).
2012-11-02 15:44:07 +00:00
chs 7433c41784 fix autoconf output (don't print from the match routine). 2012-11-02 14:59:11 +00:00
jakllsch 7f2e81d866 match USB_PRODUCT_FTDI_MAXSTREAM_PKG_U 2012-11-02 02:30:15 +00:00
jakllsch 8ab6159555 regen 2012-11-02 00:58:48 +00:00
jakllsch fdef558c37 add (FTDI) MaxStream PKG-U 2012-11-02 00:57:57 +00:00
abs 6a65e108a0 Allow setting ATADEBUG_MASK to default value of atadebug_mask 2012-11-01 13:46:52 +00:00
msaitoh 5c86b9383c No functional change.
- Change style a bit.
- use "csc" for the variable name of struct mvgbec_softc in mvgbec_attach()
  for consistency.
2012-11-01 02:46:41 +00:00
christos 11180dd8d5 Match all pairs of bulkin-bulkout interfaces to ucom's, configuring multiple
ucoms per modem as they are available, instead of picking up the last bulkin
bulkout pair. This makes my Sierra U250 3G portion of the modem to work.
2012-11-01 00:38:43 +00:00
riz 8160a915f9 Avoid a 'may be used uninitialized' warning. 2012-10-31 21:30:27 +00:00
ahoka 0aaf706632 Fill more info in nand chip structure. 2012-10-31 20:51:25 +00:00
riz 11d9652019 Hook nand_samsung.c into the build, and use it if a legacy chip
from Samsung is found.
2012-10-31 18:58:08 +00:00
macallan 9414e51eaf in sme_battery_check():
- don't assume that all batteries have exactly one ENVSYS_INDICATOR
- check capacity and charge sensors for ENVSYS_SVALID before using them
now this works on macppc
2012-10-31 05:42:47 +00:00
riz 50c33ca85f Make this compile. (Still untested) 2012-10-30 22:43:36 +00:00
ahoka 9867e9763a Add support for samsung devices, currently a draft to aid Kirkwood NAND
driver development.
2012-10-30 22:03:00 +00:00
mrg 973b51a234 fix a problem in half-configured raid devices, found when a "raidctl -c"
failed, and a "raidctl -C" was run afterwards, triggering mutex locking
issues.  fix this by moving alloc and destroy of mutex/condvar for a
raid device into separate functions, and call the destroy function from
the DO_RAID_FAIL() macro.

probably needs a netbsd-6 pullup.  sigh.
2012-10-30 00:33:11 +00:00
kiyohara a29e7e5640 Support omap3 SDHC driver. tested on OVERO only. 2012-10-29 13:30:25 +00:00
chs bfba6f2a6d remove unused file. 2012-10-29 13:19:15 +00:00
chs f187b4e631 remove an unnecessary cast.
use the standard name for the third arg to attach.
adjust some whitespace.
2012-10-29 12:59:43 +00:00
chs b8c34ff8df fix device/softc split errors. 2012-10-29 12:51:38 +00:00
msaitoh a4f424757e Don't use old NBPFILTER macro and use new bpf_mtap() API.
It fixes a bug that et(4) can't use bpf.
2012-10-29 01:36:33 +00:00
chs cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
msaitoh 68c182ec5d Add missing mii_tick() call. 2012-10-26 21:03:26 +00:00
bouyer b79ecab599 Workaround PR kern/47097: use delay() instead of tsleep() ahci_do_reset_drive()
if not called with AT_WAIT.
The right fix here is to change the ata layer to reset the drive from
thread context, to avoid a 0.5 delay() in interrupt context when a drive
fails.
2012-10-26 09:59:11 +00:00
macallan 98249f3c06 make anti-aliased character drawing work on hardware where stride != width * bytes per pixel 2012-10-23 15:12:59 +00:00
macallan 56d117046e support anti-aliased fonts 2012-10-23 11:53:18 +00:00
jakllsch 855ce55c8b Work around missing __BUS_SPACE_HAS_STREAM_METHODS on some ports. 2012-10-22 16:43:05 +00:00
matt d37307fce6 Add FORCE quirks for ASMEDIA ASM1061 2012-10-21 23:09:53 +00:00
matt 85f4e1955f Regen. 2012-10-21 23:07:23 +00:00
matt 091b3a00db Add more ASMEDIA 1061 variants. 2012-10-21 23:06:59 +00:00
msaitoh 41914441d3 Add SB600_USB_OHCI0 again. This was (accidentally) removed in rev. 1.1105 2012-10-20 19:53:28 +00:00
macallan 62d7fcf09f - only sync the drawing engine when we're about to access video memory
- use the blitter to draw the cursor
- use the glyphcache to minimize vram access
-> about 15% to 20% speedup
2012-10-20 13:52:11 +00:00
macallan b39222ebf0 don't sync after each drawing op, add functions to wait for the engine to get ready for more commands or idle 2012-10-20 13:31:09 +00:00
macallan c79df3405a fix typo 2012-10-20 13:29:53 +00:00
matt 6bc61d7faf Recognize 3114. 2012-10-20 06:18:54 +00:00
matt 47023a640e Regen. 2012-10-20 06:14:55 +00:00
matt 83bd1ffe59 Pull in changes from matt-nb5-mips64 (RMI & NETLOGIC). 2012-10-20 06:14:06 +00:00
matt 048f0c8772 Enforce alignments for buses. 2012-10-20 06:09:07 +00:00
matt 7d09ca4847 Add a __PCI_DEV_FUNCORDER hook. 2012-10-20 06:04:01 +00:00