Bill Paul
cf736ea0c7
Correct KASSERT() in ndis_destroy(): ndis_mtx is a pointer now.
...
Also add KASSERT() for ndis_intrmtx().
2004-01-25 00:13:07 +00:00
Maxim Sobolev
e13f9ac88b
Regen after rev. 1.161 of usbdevs.
2004-01-24 21:24:36 +00:00
Maxim Sobolev
0bc4abec87
Add support for Crystalfontz CFA-631 USB LCD (uftdi(4) driver).
...
For some very unclear reason this device contains a FTDI 8U232AM USB->COM
adapter, but reports different device id than original 8U232AM. At the same
time, it reports vendor id of FTDI.
Sponsored by: Porta Software Ltd
MFC after: 2 weeks
2004-01-24 21:23:12 +00:00
MIHIRA Sanpei Yoshiro
7d825ee7ff
Sync to 1.160 of usbdevs
2004-01-24 07:15:23 +00:00
MIHIRA Sanpei Yoshiro
21c5b9f9e5
Add Support
...
- 2nd type of GL641USB USB-IDE bridge [1]
- Plextor Plexwriter 40/12/40U [2]
PR: kern/61671 [1]
kern/61803 [2]
Submitted by: Ralf Wenk <RZ-FreeBSD0401@fh-karlsruhe.de> [1]
Feisal Mohammed <feisal@uwi.tt> [2]
MFC after: 1 week
2004-01-24 07:14:07 +00:00
Bill Paul
6f56639b42
Add missing newlines to some device_printf()s.
...
Don't do anything in ndis_get_assoc() if the link isn't up (avoids
spurrious "couldn't get bssid" messages on the console).
2004-01-24 02:48:22 +00:00
Matt Jacob
e23df011da
If we have ISP_ROLE_INITIATOR set, make sure that we clear ICBOPT_INI_DISABLE
...
from the fwoptions. Likewise, we *set* ICBOPT_INI_DISABLE if we don't have
initiator role.
2004-01-23 23:23:31 +00:00
Matt Jacob
520b6299ac
add MAKE_WWN_FROM_NODE_NAME macro
2004-01-23 23:22:35 +00:00
Matt Jacob
a556b68e3a
Add firmware major, minor and micro revsions to the ISP_FC_GETHINFO ioctl
...
structure.
2004-01-23 23:22:11 +00:00
Hidetoshi Shimokawa
1398a889e6
* fwohci_pci.c
...
Improve error message for attach failure.
* sbp_targ.c
- Add speed in struct sbp_targ_login.
- Remove unnecessary htonl().
2004-01-23 17:37:09 +00:00
Mathew Kanner
3c6b655dff
Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling.
...
Approved by: des (interim mentor)
2004-01-23 16:38:54 +00:00
Søren Schmidt
17cafb29a0
Fix breakage in PIO multisector support.
2004-01-23 10:38:56 +00:00
John Baldwin
acf7d97237
Fix the PCI attach routine to properly setup the IRQ and port resource
...
rid's and to deallocate resources if a failure occurs during attach. This
patch also fixes the driver to return failure if bus_alloc_resource() for
the IRQ fails rather than panic'ing on the next line by passing a NULL
resource to bus_setup_intr(). The other attachments already do all this.
Submitted by: Jun Su <csujun@263.net>
2004-01-22 16:07:03 +00:00
Hidetoshi Shimokawa
4c790222f6
Add missing free() in exception handlers.
...
Reported by: Stanford Metacompilation research group
2004-01-22 14:41:17 +00:00
Bill Paul
a6ef105236
Add suspend and resume methods. I'm not certain this work correctly
...
since I can't easily test them on my laptop right now, but they
should do the right thing.
2004-01-22 03:00:59 +00:00
Bill Paul
d74c903a6f
Add support for TCP/IP checksum offload.
...
No, really.
2004-01-22 02:36:34 +00:00
Bill Paul
94215c94fe
Fix multicast and promiscuous mode handling for Yukon devices.
...
Submitted by: Jung-uk Kim <jkim@niksun.com>
2004-01-21 22:32:15 +00:00
Hajimu UMEMOTO
7a2e32cbe3
Sync to pccarddevs 1.81.
2004-01-21 16:03:40 +00:00
Hajimu UMEMOTO
a950ec6208
There is PANASONIC KXLC005 which has another product id.
2004-01-21 16:02:20 +00:00
Olivier Houchard
cf45d5da77
Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough.
2004-01-21 10:49:42 +00:00
Peter Grehan
a2dce78a84
__powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer.
...
Took the opportunity to reduce
__i386__ || __ia64__ || __amd64__ || __sparc64__ || __powerpc__
to
!__alpha__
reviewed by: gallatin
2004-01-21 05:08:51 +00:00
John Baldwin
1aa9b61068
Use getenv_int() rather than reimplementing it.
2004-01-20 21:38:48 +00:00
Søren Schmidt
8a1bddb753
Update the support for the VIA 8237 southbridge.
2004-01-20 16:51:02 +00:00
Bill Paul
67e272e2b8
Correct instances of mtx_lock()/mtx_unlock() that should have been
...
mtx_pool_lock()/mtx_pool_unlock().
2004-01-20 08:19:42 +00:00
Mathew Kanner
222d2384ef
Reduce latency when using the SNDCTL_DSP_RESET ioctl by calling
...
chn_resetbuf().
Submited by: Pyun YongHyeon <yongari@kt-is.co.kr>
Approved by: tanimura (mentor)
2004-01-20 05:30:09 +00:00
Mathew Kanner
5ee30e277a
Fix a panic when kldloading a sound driver. Do this by replacing the
...
link-list of dev_t's with named variables. Remove used code.
Approved by: tanimura (mentor)
2004-01-20 03:58:57 +00:00
Søren Schmidt
cedc7194d5
Fix breakage on timeout/retries. The bug cause a sema to be leaked so
...
that the calling process would newer wakeup.
2004-01-19 15:20:00 +00:00
MIHIRA Sanpei Yoshiro
146dec80e1
Sync to 1.159 of usbdevs
2004-01-19 12:53:23 +00:00
MIHIRA Sanpei Yoshiro
cf73864749
Add support IO-data DVD Multi-plus unit iU-CD2
...
PR: kern/61578
Submitted by: Masaharu FUJITA <m@fjts.org>
MFC after: 1 week
2004-01-19 12:51:40 +00:00
Bill Paul
f98f50fcfd
Properly program the multicast filter in ndis_setmulti(),
...
and fix promisc mode in ndis_ioctl().
2004-01-19 07:03:46 +00:00
Bill Paul
ed880bb60f
Convert from using taskqueue_swi to using private kernel threads. The
...
problem with using taskqueue_swi is that some of the things we defer
into threads might block for up to several seconds. This is an unfriendly
thing to do to taskqueue_swi, since it is assumed the taskqueue threads
will execute fairly quickly once a task is submitted. Reorganized the
locking in if_ndis.c in the process.
Cleaned up ndis_write_cfg() and ndis_decode_parm() a little.
2004-01-18 22:57:11 +00:00
Ruslan Ermilov
7287c40c0d
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
Reviewed by: scottl
2004-01-18 17:34:11 +00:00
Ruslan Ermilov
bbc712e6ba
Fixed a memory leak.
2004-01-18 17:21:15 +00:00
Ruslan Ermilov
4c7ca6e54c
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
2004-01-18 16:55:01 +00:00
Søren Schmidt
61016883ad
Fix botch in last commit.
2004-01-18 15:58:30 +00:00
Ruslan Ermilov
ebbdb48fe6
Apparently there's a good reason why M_WAITOK malloc() is done before
...
xpt_create_path().
2004-01-18 13:09:38 +00:00
Ruslan Ermilov
85e17c603d
Fixed a memory leak.
...
Reported by: Stanford Metacompilation research group
2004-01-18 12:49:36 +00:00
MIHIRA Sanpei Yoshiro
edac5229ae
Empty vendor string overrides knowndevs
...
ubd_devinfo_vp() is getting an empty string from its usbd_get_string()
call on the vendor, instead of NULL. This means usb_knowndevs in not
consulted.
Add lines between grabbing those char *s and the USBVERBOSE ifdef to
set vendor to NULL if it is the empty string (similarly for product).
This causes vendor to be filled-out, although the product name read
overrules usb_knowndevs (this appears to be a conscience decision made
by the NetBSD folks):
PR: kern/56097
Submitted by: Hal Burch <hburch@lumeta.com>
MFC after: 1 week
2004-01-18 12:46:19 +00:00
Ruslan Ermilov
703981ae28
Fixed a memory leak.
...
Submitted by: Stanford Metacompilation research group
2004-01-18 12:32:06 +00:00
Ruslan Ermilov
b659f64e82
Fixed a memory leak.
...
Submitted by: Stanford Metacompilation research group
2004-01-18 12:26:33 +00:00
Søren Schmidt
7c633af872
Add missing free's.
2004-01-18 10:50:40 +00:00
Yaroslav Tykhiy
6bb87e74a6
Avoid overwriting capability bits marked earlier
...
when setting HW checksum offload bits.
Enable available capabilities properly.
Reviewed by: sam
2004-01-18 10:15:48 +00:00
MIHIRA Sanpei Yoshiro
dd4350b4a7
Pay attention to the timeout value passed down by the upper layer.
...
(NetBSD src/sys/dev/usb/umass.c rev.1.67)
PR: kern/58649 (Problem 1)
Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
MFC after: 1 week
2004-01-18 09:19:53 +00:00
MIHIRA Sanpei Yoshiro
3121d08f99
Sync to 1.158 of usbdevs
2004-01-18 09:04:57 +00:00
MIHIRA Sanpei Yoshiro
a4a37c3010
add device id for PANASONIC KXLRW32AN(USB CD-R/RW,not yet support)
2004-01-18 08:02:34 +00:00
Søren Schmidt
74a1b9fccf
Add support for the Silicon Image 3114 4 channel SATA controller.
2004-01-17 23:34:13 +00:00
Warner Losh
70be398070
It appears that the changes in the resources allocated is causing much
...
pain and suffering. Attempt to back it out by removing the 'if the
requested range is larger than the window, clip to the window' code.
This is a band-aide until the issues are better understood and the
issues with the lazy allocation patches are resolved.
2004-01-17 21:54:04 +00:00
Poul-Henning Kamp
135bd3f8a1
Make sure set the media type in the phy, we cannot trust it to have chosen
...
the type we happen to want.
Bug triggered by net-booting soekris hardware which comes up in 10/hdx mode
by default.
2004-01-17 10:44:39 +00:00
Poul-Henning Kamp
4555065861
As previously announced: discontinue use of makedev() call in soundcode.
...
This takes us a lot closer to refcounting dev_t.
This patch originally by cg@ with a few minor changes by me.
It is largely untested, but has been HEADSUP'ed twice, so presumably
people have not found any issues with it.
Submitted by: cg@
2004-01-17 10:37:11 +00:00
Matthew N. Dodd
baa039868e
- Handle failure of cam_sim_alloc().
...
This prevents xpt_bus_register() from dereferencing NULL.
- Assign pointer to NULL after cam_sim_free().
Submitted by: Paul Twohey <twohey@CS.Stanford.EDU>
2004-01-17 05:57:52 +00:00