lukem
0b441623fe
Add user flag CCDF_NOLABEL to prevent the on-disk label from being read
...
during CCDIOCSET.
Use this when creating a new ccd to ignore any existing disklabel
which is probably wrong.
2003-10-17 05:16:15 +00:00
dyoung
5dca575ce1
ieee80211_newstate() wants for ic->ic_state to equal the previous
...
state, so do not update ic->ic_state in wi_newstate() before calling
ieee80211_newstate(). Instead, update ic->ic_state when we do not
let ieee80211_newstate() run.
2003-10-17 03:58:23 +00:00
mycroft
e879d3a728
PQUIRK_NOSENSE is dead here. Remove the code supporting it.
2003-10-17 00:20:28 +00:00
mycroft
f8a10571e5
Remove the Fuji quirk from here, too.
2003-10-17 00:19:46 +00:00
mycroft
3fd37812f4
The Yano quirk was intended to do FORCE_SHORT_INQUIRY. Not that that's gone,
...
we shouldn't need this any more, so nuke it.
2003-10-17 00:12:58 +00:00
mycroft
ecb8d5d482
Set the REQUEST SENSE command length to 12 for ATAPI, too. (UFI and ATAPI are
...
really the same...)
Fixes problems with Sony Vaio memory stick slots, which advertise themselves as
"ATAPI over CBI".
Remove the quirk for Fuji cameras, since this is almost certainly the same bug.
2003-10-16 23:39:40 +00:00
mycroft
055625357d
Whoops, set cmd_length correctly for the 36-byte INQUIRE.
2003-10-16 22:46:07 +00:00
mycroft
19ef8301a7
Switch back to UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO in a few cases. Not that
...
it really matters, but UMATCH_VENDOR_PRODUCT effectively overrides the class
code, and that is not supposed to be part of the "quirk".
2003-10-16 20:01:06 +00:00
mycroft
f8c8ef3b63
Document the Olympus, ScanLogic and Sony "quirks" better. Also, the ScanLogic
...
correctly reports itself as SCSI -- it is *not* UFI.
2003-10-16 19:54:01 +00:00
mycroft
0f1275cee2
Do a 36-byte SCSI 2 inquiry first, and iff that returns an additional length
...
>32 do a 74-byte inquiry. Fixes problems with devices that barf on longer
inquiries. (Linux uses 36 bytes almost everywhere, as a data point.)
2003-10-16 17:34:43 +00:00
dyoung
d531221c67
Prepare for wi rate adaptation. Add wi_write_txrate, which only
...
writes a hardware register when the data rate selection actually
changes. Add wi_cfg_txrate, which writes the data rate selection
regardless.
Name some fields in the wi Tx buffer which we will use for rate
adaptation.
Name the Prism "Alternate Retry Count" RID, WI_RID_ALT_RETRY_COUNT.
2003-10-16 10:57:35 +00:00
dyoung
50daf0a217
The upper & lower bounds on wi RSSI are completely bogus, AFAICT.
2003-10-16 10:38:07 +00:00
dyoung
7c0b454d52
Cosmetic change: shorten 6 lines to 2.
2003-10-16 10:04:14 +00:00
dyoung
1ff3c191c9
Fix WEP transmission, too. From FreeBSD/Sam Leffler.
2003-10-16 09:31:08 +00:00
dyoung
bcde77e394
ath(4) failed to detect when the number of DMA segments exceeded
...
the number of descriptors, because of a disparity between the
bus_dmamap_load_mbuf implementation in FreeBSD and NetBSD. Now I
cover up the difference using ath_dmamap_load_mbuf.
Thanks Enami Tsugutomo for diagnosing this.
2003-10-16 09:13:30 +00:00
wiz
68f5a56945
regen
2003-10-16 08:05:54 +00:00
wiz
7127923ca9
According to Linux USB Ids list, 0b7a belongs to zeevo, inc.
2003-10-16 08:05:42 +00:00
ichiro
581dfca276
add {shutdownhook,powerhook}disestablish()
2003-10-16 07:55:18 +00:00
pk
f845a339ac
Enable VLAN encapsulation.
2003-10-16 07:20:54 +00:00
mycroft
d7b6d72e8c
Deal with the damn DiskOnKey devices. See the comment for an explanation.
2003-10-16 00:36:46 +00:00
itojun
5f3342505f
$NetBSD$
2003-10-15 23:24:36 +00:00
itojun
a4a1466cb5
add $NetBSD$
2003-10-15 23:23:39 +00:00
enami
73473f6883
Return 0 on SIOC{ADD,DEL}MULTI.
2003-10-15 22:41:22 +00:00
itojun
d587f445de
s/printf/DPRINTF/ for ath_rate_ctl()
2003-10-15 22:19:31 +00:00
itojun
ea0e5abff9
translate pci device ID until HAL gets updated. suggested by sam leffler
2003-10-15 20:33:30 +00:00
itojun
5f3b1ef5ad
regen
2003-10-15 20:31:52 +00:00
itojun
809ac79214
add Atheros product IDs from athhal_devid.h
2003-10-15 20:31:38 +00:00
bouyer
70b50b0608
Make sure chp->atabus is initialised, and wakeup the right address when
...
shutting down the kernel thread.
2003-10-15 20:29:26 +00:00
bouyer
ea6912c52d
- don't ignore last bit when checking for floating bus value on slave
...
device; some ATAPI devices as master will report 0x7f in all registers
for slave before reset
- For the same reason, remove the er1 check.
Makes slave device with a "strange" ATAPI master probe again.
Problem reported and fix tested by Gary Duzan on current-users.
2003-10-15 20:26:33 +00:00
bouyer
3d6919754d
Clear chp->ch_drive[i].drive_flags if we didn't find a driver for the
...
drive.
2003-10-15 19:54:30 +00:00
dyoung
e86c830f2a
Fix WEP reception.
2003-10-15 11:40:07 +00:00
hannken
a3a898ff0f
Add the gating of system calls that cause modifications to the underlying
...
file system.
The function vfs_write_suspend stops all new write operations to a file
system, allows any file system modifying system calls already in progress
to complete, then sync's the file system to disk and returns. The
function vfs_write_resume allows the suspended write operations to
complete.
From FreeBSD with slight modifications.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-10-15 11:28:59 +00:00
rjs
9f105a9400
Regen.
2003-10-15 11:11:55 +00:00
rjs
41929af1e0
Add more IDs.
2003-10-15 11:10:45 +00:00
tron
d8c9e38848
Fix build error caused by last change.
2003-10-15 08:28:29 +00:00
simonb
662c7128cd
Re-order a little so that there's no unreachable code in this block.
2003-10-15 07:18:17 +00:00
simonb
9606d846fa
Don't check an uninitialsed error variable before printing an error
...
message.
2003-10-15 06:43:36 +00:00
simonb
20178cc3db
Fix obvious typos in a call to pci_mapreg_map().
2003-10-15 06:32:35 +00:00
enami
8823a8da9a
Port multicast handling to NetBSD. Addresses PR23151.
2003-10-15 03:04:03 +00:00
briggs
f2f02bc9da
Make sure descriptors get bus_dmamap_sync()ed.
...
Restructure a little to make this a little easier.
Also try to avoid allocating things at reset time.
2003-10-15 02:18:52 +00:00
grog
b95a3b2e71
Change definitions to compile correctly without VINUMDEBUG flag.
...
Reported by: hubertf
Remove $FreeBSD$ ID string.
2003-10-15 01:31:39 +00:00
dyoung
f2a9708c75
Do not index arrays using enum constants, since enums can be
...
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.
2003-10-14 23:13:44 +00:00
ichiro
f4f7b1ae5c
add support ath on cardbus
...
- implement power management
2003-10-14 17:47:03 +00:00
ichiro
6fc4a5549a
regen
2003-10-14 17:44:09 +00:00
ichiro
5e3d3508b6
add ATHEROS AR5001 WirelessLAN 802.11a/b/g CardBus
2003-10-14 17:43:55 +00:00
wiz
09d05922dc
Fix mixer wraparound. Closes PR 16652.
...
Patch from Sergey Svishchev. mycroft says "looks ok".
2003-10-14 13:12:19 +00:00
martti
fd34f3d937
Added another Dell PERC 4/Di
2003-10-14 11:33:36 +00:00
martti
a027ea5f33
Regen: Dell PERC 4/Di
2003-10-14 11:32:19 +00:00
martti
f4ae717ace
Added another Dell Perc 4/DI
2003-10-14 11:30:36 +00:00
augustss
359109cff2
Regen.
2003-10-13 22:34:32 +00:00
augustss
6c07c4466a
Another Logitech camera.
2003-10-13 22:34:10 +00:00
ad
1e3b781fed
Make this work with the newer 'Quartz' controllers.
2003-10-13 20:35:53 +00:00
augustss
32ee02b1f9
Regen.
2003-10-13 17:16:55 +00:00
augustss
c88ef72c1d
Add some IOMEGA products.
2003-10-13 17:15:03 +00:00
dyoung
031c2c9baa
Why don't I make up my mind? No need to left-shift the country
...
codes when I right-shift the country-code register! Fixes a bug
reported by Dan Carosone: regulatory domain "ETSI" registered as
domain "Spain/Other", so he could only tune channels 10 and 11.
2003-10-13 16:35:49 +00:00
dyoung
2295b27590
Install athioctl.h, defining ioctls for Atheros 802.11a/b/g radios.
2003-10-13 08:29:48 +00:00
dyoung
372fd2b92a
Adapt atw(4) to the new 802.11 layer.
...
Simplify atw_start, atw_newstate.
Synchronize access to atw_start by bracketing the call to
ieee80211_next_scan in atw_next_scan with splnet()/splx().
2003-10-13 08:22:19 +00:00
dyoung
e31cc884ed
Adapt awi(4) to the new 802.11 layer.
2003-10-13 08:10:48 +00:00
dyoung
ef743c64b6
Switch wi(4) to the new 802.11 layer.
2003-10-13 08:07:21 +00:00
dyoung
2459b02669
Switch an(4) to using the header files in the new 802.11 layer.
2003-10-13 06:45:32 +00:00
dyoung
5dbbaac41d
Switch to the new 802.11 layer.
2003-10-13 06:43:22 +00:00
dyoung
a71225fe22
NetBSD/FreeBSD compatibility changes NetBSD, especially
...
locking, mbuf
2003-10-13 05:34:30 +00:00
dyoung
ae577fc6ea
Miscellaneous changes for NetBSD compatibility.
2003-10-13 05:23:07 +00:00
dyoung
b495f27bbd
A compatibility layer to smooth differences between NetBSD and
...
FreeBSD for ath(4).
XXX Nobody with FreeBSD has signed off on this, so it may change
XXX or go away entirely.
2003-10-13 05:16:20 +00:00
dyoung
839bd8fd2a
Files belonging to the ath(4) PCI front-end.
...
We can only attach an ath(4) on architectures where we have a HAL
(which is only x86, for now) so I list the files belonging to the
PCI front-end separately from the other PCI files.
2003-10-13 05:10:00 +00:00
dyoung
dd46f240f9
ath(4) PCI front-end for NetBSD, heavily modified from FreeBSD's.
...
Substantially influenced by the patch from Bruce J.A. Nourish.
2003-10-13 04:36:29 +00:00
dyoung
f9d6bac599
dev/scsipi/atapi_disk.h is no more, and umass_scsipi.c compiles
...
fine w/o it.
2003-10-13 01:47:55 +00:00
enami
3dbf40b29d
KNF the previous commit.
2003-10-13 00:05:36 +00:00
enami
b3931d341e
Rest of PR23128, so that ehci.c compiles again.
2003-10-13 00:05:10 +00:00
bouyer
c298ea9fc9
Remove block that has been pasted twice. Pointed out by Alexander Yurchenko.
2003-10-12 19:28:50 +00:00
mycroft
ba41e2e19b
Fix problems with ehci on controllers that support 64-bit addressing. From
...
Cliff Wright, PR 23128. Thanks!
2003-10-12 18:04:28 +00:00
bouyer
ac8278da8c
Remove this file; ATAPI_READ_FORMAT_CAPACITIES is the same as
...
READ_FORMAT_CAPACITIES; atapi_flex_geometry_page should probably be the same as
scsi_disk's page_flex_geometry.
2003-10-12 17:57:13 +00:00
tsutsui
0a43b29b75
- Update technical manual's URL.
...
- Remove __P().
- Remove trailing whitespace.
2003-10-12 04:12:23 +00:00
thorpej
6fc3c06df3
Revert previous change.
2003-10-12 03:21:56 +00:00
thorpej
36e9866d7b
Cosmetic changes:
...
- Use static to unexport symbols that don't need to be exported.
- ANSI'ify.
- Some whitespace nits.
2003-10-11 17:40:15 +00:00
wiz
d231b1cffc
regen (Acer BT-500 Bluetooth USB Adapter).
2003-10-11 12:13:00 +00:00
wiz
5da5ca0dde
Add IDs for Acer BT-500 Bluetooth USB Adapter.
2003-10-11 12:11:13 +00:00
toshii
6bd45c6229
Fix a done list handling bug which exhibits under high shared interrupt
...
rate and bus traffic. As the interrupt register is read after checking
hcca_done_head, there was a small chance of dropping a done list.
Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH
is processed later.
2003-10-11 03:04:26 +00:00
jdolecek
f3e4bcccdc
move MI majors config file from sys/dev/majors to sys/conf/majors
2003-10-10 21:26:38 +00:00
agc
7c96060a24
Correct a spelling mistake twice.
...
XXX This file should be in src/sys/conf.
2003-10-10 21:05:32 +00:00
matt
2f05a561da
Remove a quirk I added for a Hitachi drive.
2003-10-10 18:04:46 +00:00
fvdl
56534a0352
Add a missing chip reset in attach. Makes things work for an on-board
...
7902B on a SuperMicro board.
2003-10-10 15:20:30 +00:00
thorpej
ece7894356
Regen: Add several more Intel Gig-E product IDs.
2003-10-10 15:20:17 +00:00
thorpej
88dde45df2
Add several more Intel Gig-E product IDs.
2003-10-10 15:19:01 +00:00
fvdl
7a26a8b8f5
Don't zap the lower 16 bits of the command/status register when clear
...
error bits.
2003-10-10 15:15:44 +00:00
briggs
85edb66218
Properly clear any latched errors before re-enabling SERR/PERR for PCI-X
...
in ahd_reset().
2003-10-10 15:02:08 +00:00
fvdl
7bff47db67
Set some termination defaults correctly. Test register access like
...
in the original FreeBSD driver.
2003-10-10 12:58:38 +00:00
grog
17709f5057
Include Vinum.
2003-10-10 06:13:02 +00:00
thorpej
c490cdc5be
Warn if a sync period requiring DT was negotiated on a peripheral not
...
capable of DT.
2003-10-10 05:58:56 +00:00
thorpej
15bb1be91b
Fix some errors in device mapping and errata work-arounds, and generally
...
clean up mapping code.
2003-10-10 05:57:26 +00:00
grog
d88f6bbaeb
Initial import of Vinum kernel module.
...
Ported by: Ramsubramanyam <Ramsubramanyam@infosys.com>,
Atul Kabra <Atul_Kabra@infosys.com>,
Maneesh Jhinger <maneesh_jhinger@infosys.com>
Reviewed by: lukem
2003-10-10 03:07:27 +00:00
bouyer
0ea3fa883e
Remove the check for WAIT+POLL+READ case in __wdccommand_start(),
...
this case is already handled in __wdccommand_intr().
Pointed out by Charles M. Hannum.
2003-10-09 18:40:19 +00:00
fvdl
4c16901a4e
Don't treat a 66-100Mhz PCI-X bus as plain PCI. From yamt (the code was
...
already like this in the FreeBSD driver).
2003-10-09 14:26:54 +00:00
jonathan
b85e76da79
Regen from pcidevs rev 1.581 with Hifn 7954/5 and 7956.
2003-10-08 21:17:27 +00:00
jonathan
ceefe38507
Add Hifn 7954/7955 and 7956. Put adjacent to the very similar hifn 7951.
...
From Rajesh Vaidyanath <RVaidyanath@hifn.com>, as submitted to FreeBSD.
2003-10-08 21:15:33 +00:00
bouyer
7719e83c8b
Following Matt Thomas's request, rename ata attribute to ata_hl, and
...
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
pk
ded7383371
In isp_fc_worker() reduce the timeout value used to poll for the link
...
status from 10 seconds to 250 milli seconds for the second and subsequent
attempts to determine the link status. This prevents unnecessary long
stalls after the device attach routines have completed.
Tested on a dual port QLogic 3212. Approved by mjacob@feral.com .
2003-10-08 19:51:01 +00:00
fvdl
61834e8959
Cap the transfer size at MAXPHYS, the driver won't get bigger requests
...
than that. Allocating 16M per SCB is silly (as pointed out by
Frederick Bruckman).
2003-10-08 17:38:31 +00:00
bouyer
9d02ccdbdf
Split pciide in per-chip family driver, as proposed in
...
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
piixide* at pci? dev ? function ? # Intel IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
serverworks driver not commited yet; there are still copyright issues about
it.
2003-10-08 11:51:59 +00:00
bouyer
99d6009c2a
Make the ATA mid-layer appears as atabus, as proposed in
...
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.
Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
2003-10-08 10:58:12 +00:00