simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
hannken
78f7fe0941
- Unlock backing store vnode in case of error.
...
- 32 -> sizeof()*NBBY
2005-02-09 15:12:19 +00:00
yamt
7245b8aa0a
remove a mysterious printf(" complete\n").
2005-02-08 05:52:31 +00:00
briggs
fb9f110c8c
Use aprint_*() instead of printf() at attach time.
2005-02-08 05:16:17 +00:00
augustss
ebb1c32c20
Never deliver HID data to subdrivers if the length is wrong.
2005-02-07 08:54:42 +00:00
skrll
b48e30cb2e
Initialize 'error' in all cases in ioctl handler, otherwise it doesn't
...
compile (and of course might return garbage). [hi kim!]
2005-02-06 09:33:23 +00:00
cube
d16fd94009
Initialize 'error' in all cases in ioctl handler, otherwise it doesn't
...
compile (and of course might return garbage). [hi kim!]
2005-02-06 08:52:08 +00:00
kim
f045f7096d
If the interface is up and running, only modify the receive filter
...
when setting promiscuous or debug mode. This avoids resetting the
chip unnecessarily.
Fixes PR kern/29126.
2005-02-06 03:15:14 +00:00
oster
04a30b5e78
It's not a bad idea to update the component labels whether or not the
...
reconstruction was successful.
2005-02-06 02:29:36 +00:00
oster
00b2fb8253
CreateDiskQueueData() doesn't need to use void * for raidPtr.
...
RF_Raid_t is well known in RF, and there's no reason not to use it here.
2005-02-05 23:53:44 +00:00
oster
339f61b703
rf_GetNextReconEvent() *will* return a valid event, so no need for
...
the assert. (we'd have panic'ed in there long before this assert
if that wasn't the case).
Minor whitespace changes.
2005-02-05 23:39:12 +00:00
oster
8ea3f15338
Cleanup function prototypes.
2005-02-05 23:35:33 +00:00
oster
c38bce14f6
Vastly improve the error handling in the case of a read/write error
...
that occurs during a reconstruction. We go from zero error handling
and likely panicing if something goes amiss, to gracefully bailing and
leaving the system in the best, usable state possible.
- introduce rf_DrainReconEventQueue() to allow easy cleaning of the
reconstruction event queue
- change how we cleanup the floating recon buffers in
rf_FreeReconControl(). Detect the end of the list rather
than traversing according to a count.
- keep track of the number of pending reconstruction writes. In the
event of a read error, use this to wait long enough for the pending
writes to (hopefully) drain.
- more cleanup is still needed on this code, but I didn't want to
start mixing major functional changes with minor cleanups.
XXX: There is a known issue with pool items left outstanding due to
the IO failure, and this can show up in the form of a panic at the
tail end of a shutdown. This problem is much less severe than before
these changes, and the hope/plan is that this problem will go away
once this code gets overhauled again.
2005-02-05 23:32:43 +00:00
kanaoka
1054d5cc16
- Deal with status properly,if BMCR_ISO is set.
...
Fixes kern/29113.
2005-02-04 15:17:31 +00:00
joff
5cc20bed82
Support wsdisplay(4) attachments of hd44780 LCD controllers
2005-02-04 05:58:44 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
christos
ba2396e33b
Regen
2005-02-02 13:26:28 +00:00
christos
34508c6918
PR/29196: Robert Elz: Add support for Broadcom BCM4401-B0 ethernet
2005-02-02 13:26:06 +00:00
abs
f29f37c830
Regen to pick up corrected code for VIA VT6421
2005-02-02 11:20:40 +00:00
abs
0d94353073
Reminder not to trust cheap no-name packaging. VIA product 0x3249 is
...
a VT642*1* not VT642. Also add to list in viaide manpage and note
that drives need to be configured into RAID/JOBS sets via its BIOS.
http://www.via.com.tw/en/products/peripherals/serial-ata_raid/vt6421/
2005-02-02 11:19:49 +00:00
gson
971beb8edb
Generate an interrupt only after processing all the samples in a block
...
rather than at the time of the last sample, to eliminate a click at the
end of each block when recording. Fixes kern/18066.
2005-02-02 10:34:12 +00:00
matt
411c843baa
Add entry for gti2c.c
2005-02-01 20:59:15 +00:00
matt
57b77a8963
Add a i2c driver for the onboard i2c/twsi controller on the GT642x0
2005-02-01 20:58:46 +00:00
matt
b3eef3bb0b
Allow the driver to allocate needs resources on attach and not free
...
depending on cf_flags (instead of on interface up / down).
2005-02-01 20:47:02 +00:00
matt
61b5c08265
Add I2C child hooks.
2005-02-01 20:37:09 +00:00
drochner
12ff682534
Whitespace police. The rest remains crap.
2005-02-01 20:33:58 +00:00
abs
d3852ae541
regen to pick up the 'VT642 SATA RAID Controller'.
2005-02-01 18:21:58 +00:00
abs
6660565bb0
Add 'VT642 SATA RAID Controller'. It looks like a viaide, it smells
...
like a viaide... but you can only address the drives once you have
put two or more of them into a RAID or JBOD.
2005-02-01 18:21:14 +00:00
he
edf90a4645
There is no need to define DS1687_NVRAM_START twice.
2005-02-01 16:16:22 +00:00
gson
8de9537c69
Update printf format in debug printf to account for sample_rate now
...
being an unsigned int.
2005-02-01 12:07:58 +00:00
reinoud
f323bc537c
Backing out changes to clean up scsipi. I was pointed out there were
...
problems i hadn't seen. To prevent lossage i'd decided to back off all
changes and let them be reviewed on tech-kern.
2005-02-01 00:19:34 +00:00
simonb
c9234f1972
Revert incorrect u_long->uint32_t conversion.
2005-01-31 23:46:33 +00:00
reinoud
4145e39ac7
Fix LP64 problems introduced by my u_long->uint32_t conversion.
2005-01-31 23:39:02 +00:00
reinoud
b220d67a3e
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to
...
uint* and change the u_long's to uint32_t's where possible. Note that the
iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
2005-01-31 23:06:41 +00:00
reinoud
f93ea32254
As part of cleaning up sys/scsipi, replace all u_char by uint8_t and
...
replace all `short' with int16_t.
2005-01-31 21:13:16 +00:00
joff
5c5c7c1047
Add new wskbd type MATRIXKP
2005-01-31 06:07:32 +00:00
joff
ccd1cf1023
Matrix keypad wskbd(4) support. Matrix keypads are cheap/rugged user input
...
devices found in many embedded systems. They must be polled and
debounced in software. Should be able to handle any size matrix keypad, but
only tested with a 4x4 (16-key) device attached to the TS-7200 ARM embedded
board via the DIO header.
2005-01-31 06:03:40 +00:00
simonb
3c8e1a4259
Fix a typo.
2005-01-31 04:58:02 +00:00
thorpej
67568419ee
Eliminate use of M_HASFCS.
2005-01-31 03:04:25 +00:00
thorpej
f3e948e11c
Eliminate the use of M_HASFCS.
2005-01-31 03:02:27 +00:00
thorpej
a0c36aaebd
Eliminate use of M_HASFCS.
2005-01-31 02:51:17 +00:00
reinoud
842f22fc3a
As in revision 1.213, not all information is returned in read-TOC format 0. In order to add a new generic read-toc ioctl, i renamed the origional to _f0 to indicate its only format 0. The routines can then be changed one at a time to the new generic calling. This patch fixes two calls i'd overseen.... silly me forgot to recompile :(
2005-01-30 23:42:58 +00:00
reinoud
82eee08288
The code asumes all programs want to know is TOC response format 0. Support
...
for TOC response format 1 and 2 are mandatory on CD/DVD too and provide
more information.
Next an IOCTL needs to be implemented that can read all TOC formats in a
generic way. This is pending.
2005-01-30 23:39:42 +00:00
thorpej
d8474fd414
Eliminate the use of M_HASFCS.
2005-01-30 19:30:16 +00:00
thorpej
22044e51d1
Eliminate use of M_HASFCS. Use a buffer large enough to receive a
...
full-length Ethernet frame.
2005-01-30 19:24:05 +00:00
thorpej
53eac4d6eb
Eliminate use of M_HASFCS.
2005-01-30 19:15:41 +00:00
thorpej
0fa67488f7
- Fix some logic errors in multi-descriptor packet reception case for
...
DP83820.
- Eliminate use of M_HASFCS.
2005-01-30 18:56:34 +00:00
thorpej
505f0442e5
Eliminate use of M_HASFCS.
2005-01-30 17:33:48 +00:00
thorpej
586d85d4f2
Eliminate use of M_HASFCS.
2005-01-30 17:23:45 +00:00
jonathan
b0c550f12b
Remove duplicate stanza for re(4) at cardbus. When I added an entry
...
here and enabled it in i386 GENERIC_LAPTOP, I missed that yamt@ had
already added an entry here.
2005-01-29 22:05:26 +00:00