Commit Graph

24602 Commits

Author SHA1 Message Date
matt f759cc96ec Add support for 16550 chips without an Enhanced Register Set. 2008-10-24 04:43:08 +00:00
bouyer 3e37931111 Change mfi_mgmt() to take a mfi_ccb and scsipi_xfer as argument, as
mfi_scsi_io does. Do not tsleep in mfi_mgmt waiting for completion;
let the caller handle it. If mfi_mgmt() is called with a non-NULL scsipi_xfer
have mfi_mgmt_done() wake it up, else wake up the mfi_ccb.
mfi_poll()/mfi_post() is up to the caller.

mfi_scsipi_request(): handle SCSI_SYNCHRONIZE_CACHE_10 as we do for other
commmands: have mfi_mgmt() fill in the ccb, queue of poll the ccb and
return.

Introduce mfi_mgmt_internal() which behaves like mfi_mgmt() did (tsleep
waiting for completion). Use it for internal and ioctl management
requests.

Fix kern/39297 from Greg Oster (mfi calls tsleep() from mfi_intr()),
tested by Mark Davies.
2008-10-23 21:00:06 +00:00
jakllsch 76a01a44a6 Allow wedges to be created for all defined partitions on a GPT disk.
Use __arraycount on the GUID to type mapping array.
Add HFS to the list of types with dkw_ptypes.

reviewed by cube.
2008-10-23 19:37:40 +00:00
cegger f982353b74 regen. (how is it possible to have conflicts in the repo in a generated file?) 2008-10-22 12:10:48 +00:00
haad 543e3d0539 Add HL-340 usb2Serial addapter. 2008-10-22 10:35:50 +00:00
haad b392ebc9c0 I forgot to commit this after regen. 2008-10-22 10:33:20 +00:00
haad 27418aa546 Regen. 2008-10-22 10:27:28 +00:00
haad 49e162a888 Add product/vendor ID for my USB2serial adapter. 2008-10-22 10:23:51 +00:00
jun 3caafa9653 Add
corega K.K CG-WLUSB2GPX
2008-10-21 12:20:44 +00:00
macallan eab8a03193 regen 2008-10-21 06:04:37 +00:00
macallan d0fc6875dc add 1152x900 at 66Hz and 76Hz 2008-10-21 06:03:39 +00:00
rtr e9a223cbb9 - fix crazy condition that always evaluates to false without this
iwn_fix_channel() never gets called.
- remove hardcode to ic->ic_channels[11]

fixes a problem in associating to access points
2008-10-20 09:33:48 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
jmcneill 48100f10e4 Calculate maxdispoffset rather than hard-coding it. Fixes scrolling in
80x25 mode.

XXX This doesn't handle odd modes like 80x30 on 640x480, but the driver
didn't allow that selection previously so at least it's an improvement
over the previous behaviour.
2008-10-19 17:47:38 +00:00
jmcneill 0215b24d60 vga_cnattach: calling wsdisplay_screentype_pick with a NULL type will
select the first entry in the list, which overrides the selected screen
type. Only call it a second time if the original selection is invalid.
2008-10-19 17:20:38 +00:00
joerg 7e64fc36e4 Remove two devices that are handled by ubsa and might need special
handling from u3g until further reports. Move a number of data cards
from ugensa to u3g based on the FreeBSD list.
2008-10-19 11:40:02 +00:00
joerg 5519d99b9a Regen. 2008-10-19 11:37:44 +00:00
joerg 74069cabed Sync list of 3G cards with FreeBSD. 2008-10-19 11:36:11 +00:00
bouyer b54b5daec9 kern/39757 from mishka@:
Bump CISS_MAX_CDB from 12 to 16 bytes. For volumes larger than 2TB,
the scsipi layer will have to use 16 bytes SCSI commands, which would be
rejected by ciss. The cdb buffer already 16 bytes long, and a look at the
FreeBSD driver shows there's no reasons to limit SCSI commands to 12 bytes.
2008-10-18 18:53:20 +00:00
jmcneill e38f75f075 Add fan sensor support, from Thomas E. Spanjaard 2008-10-18 16:35:40 +00:00
blymn 2352db325b Make scan abort command async as newstate is called from an interrupt
context so we cannot ltsleep.
2008-10-18 15:55:27 +00:00
joerg f48b5b12a3 Make u3g send an eject command to Novatel MC950D devices. Explicitly
attach as device for umass mode on MC950D and the Huawei devices to
supersede the umass quirk.
2008-10-18 09:43:44 +00:00
christos 3bab625c77 add missing free. 2008-10-17 17:15:09 +00:00
abs 3a8955a63e Fix compilation if !INET6 2008-10-16 21:22:32 +00:00
bouyer 2a95f206c2 Regen: fix entry description. 2008-10-15 18:31:16 +00:00
bouyer dd0d5e5a64 Fix entry description. 2008-10-15 18:30:29 +00:00
bouyer 34fc5ca03c Regen: add more ICH9 ethernet devices. 2008-10-15 17:34:51 +00:00
bouyer cf67af4a36 Add support for more ethenet ICH9 devices. Tested by Pouya D. Tafti
on a 82801I_IGP_M_AMT.
2008-10-15 17:32:04 +00:00
wrstuden fc7511b00e Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
pgoyette 6bd90145d1 If we're doing a 2-byte read, return the entire 16-bit result. 2008-10-15 02:21:48 +00:00
jmcneill e2728f33e6 ehci_dump_itd and _sitd are unused 2008-10-14 18:32:53 +00:00
jmcneill b8aea8193c kern/39727: race condition in ehci isoc abort xfer path
From Jeremy Morse:

  * Serialize access to the ehci intrlist.
  * Change the ehci intrlist to a tailq so xfers are not queued out of order.
  * In ehci_check_itd_intr, don't treat a transfer error as an indication
    that the xfer is no longer active.
2008-10-14 18:12:38 +00:00
bjs 8ff9ca028e Fix handling of lists with a single entry in list_for_each_safe();
this also plugs a memory leak.
2008-10-14 14:55:28 +00:00
bouyer 49f5440bbe Add support for jumbo frames.
Some performances tweaks (including better defaults for interrupt mitigation)
2008-10-13 17:57:32 +00:00
pgoyette 54a63b92b0 Fix up the bus-independant probe code. Patch from njoly@ 2008-10-13 12:44:46 +00:00
blymn f4f3894a02 DMA fixes thanks to rtr & skrll
Don't set tsf in auth, this stops firmware errors on WPA renegotiation
Various other tweaks that the linux driver seems to have that we did not
2008-10-13 12:41:45 +00:00
blymn b7f2d89842 Correct beacon structure
Add scan abort command
Add TX status codes from FreeBSD driver
2008-10-13 12:39:26 +00:00
pgoyette fffe1c84a7 Remove duplicated copy of the file - no idea where it came from. 2008-10-13 11:16:00 +00:00
is 93d402c342 Load firmware from .../firmware/stuirda, not ../uirda, to avoid confusion. 2008-10-13 10:01:24 +00:00
pgoyette 72ef407c2a Consistent use of softc member name - fixes build breakage from previous. 2008-10-12 23:07:32 +00:00
martin e1ae3c4114 Move printing of the "polling" message at attach time out of the wrong if
scope, so that it is actually printed even in non-error cases.
Suggested by jmcneill.
2008-10-12 19:01:01 +00:00
pgoyette eacec974a3 Add an i2c attachment for the LM78 family of temp sensor/fan control
Tested by Martin Husemann
2008-10-12 13:17:28 +00:00
pgoyette a3cdedf605 Move the {read,write}reg() routine addresses into the dbcool_softc so
that we can use different routines for macppc's ki2c attachment.  Fixes
problems reported by Robert Fritzsche on current-users@ list.
2008-10-12 12:49:04 +00:00
bouyer 7940b74931 Fix reading MAC address from eeprom: don't forget to read the last
descriptor.
While there, white space fixes.
2008-10-12 11:27:12 +00:00
dholland ba8d06c990 Fix mangled attach output. Noted by Jari Kuittinen. 2008-10-12 02:15:02 +00:00
bouyer 540cab1ec8 jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.
2008-10-11 21:54:11 +00:00
dholland f446f1c471 Print a message on two previously silent error paths in auvia_attach. 2008-10-11 20:08:15 +00:00
jmcneill c93dbbaca8 Revert previous. 2008-10-11 13:56:51 +00:00
jmcneill 55c0ca3b69 ehci_check_itd_intr: correct logic for checking for active itds 2008-10-11 05:17:12 +00:00
jmcneill 5b4aed5dc9 If we're not dealing with an interrupt endpoint, invoke the xfer's
callback after calling the xfer's done method to give the device driver
a change to reschedule the same xfer, from FreeBSD.
2008-10-11 05:07:20 +00:00