petrov
182de37049
Move DTIMEXP and RFIFOVF warnings under control of HMEDEBUG.
...
PR port-sparc64/20280 by grant beattie.
2003-05-14 19:46:59 +00:00
wiz
74da88f77a
Correct spelling of coalesce. (Will forward to Justin Gibbs.)
2003-05-14 12:57:45 +00:00
wiz
05e990b871
summarize with two m.
2003-05-14 12:46:27 +00:00
thorpej
405790a85a
Add support for the user-generated command interface and event logging
...
required by the ICP-Vortex management tools. Many thanks to Achim Leubner
at ICP-Vortex for a few bug fixes and for testing.
2003-05-13 15:42:33 +00:00
dyoung
e91ed415cd
Revert to previous multicast logic, which enami@sm.sony.co.jp says
...
was correct.
2003-05-13 08:58:01 +00:00
dyoung
850a6ef1e6
Begin synchronization with FreeBSD:
...
1 Add channel mask, transmit rate-mask arguments to wi_scan_ap.
2 Adopt the macros WI_LOCK/WI_UNLOCK for synchronization. FreeBSD
uses a different synchronization mechanism.
3 In wi_cmd, adopt constants WI_DELAY/WI_TIMEOUT for timing.
4 Pull debug messages from into wi_read_nicid from FreeBSD.
5 Bug fix: if IFF_ALLMULTI, don't filter any multicasts.
6 Count and report TX exceptions, but don't generate any additional
interrupts.
2003-05-13 08:35:58 +00:00
dyoung
5ffe819b6e
For converge with FreeBSD:
2003-05-13 07:17:46 +00:00
dyoung
45e5f65918
Track TX exceptions. This will eventually enable round-robin retries
...
(for fairness) and RTM_LOSING or some such other message to indicate
a losing wireless destination.
From FreeBSD.
2003-05-13 07:13:49 +00:00
dyoung
904079b8af
Complete prior patch: dump packets in wi_rx_intr, too.
2003-05-13 06:51:10 +00:00
dyoung
aa1a3737de
Debug code from FreeBSD: handy packet dumps when IFF_DEBUG|IFF_LINK2
...
are set.
2003-05-13 06:48:56 +00:00
dyoung
a090735114
Misc changes to wi_stop. First, block interrupts in wi_stop. (From
...
FreeBSD.)
Fix a bug in wi_stop where ejecting from the Powerbook crashes the
system. Essentially, the patch makes sure we write *no* registers
when we are no longer attached.
Also, for consistency w/ FreeBSD, use sc_portnum throughout wi,
instead of hard-coding WI_PORT0 .
2003-05-13 06:33:40 +00:00
dyoung
8f56bda785
For uniformity between FreeBSD & NetBSD, adopt FreeBSD's more
...
concise wi_cmd.
2003-05-13 06:15:47 +00:00
uwe
a3e1bfb091
Use hardware sprite for the text mode cursor.
...
Fail cursor related ioctls with EBUSY while in text mode.
Don't do uvm_useracc checks before copyout, instead check copyout()
return value directly.
Minor cleanups.
2003-05-11 03:20:09 +00:00
uwe
6311425db4
Don't need a separate bit expansion table for the cursor mask.
2003-05-10 16:20:23 +00:00
uwe
64e9f09f51
Enforce that the cursor position and the hot spot are within bounds.
...
Constify a bit. Fix unsignedness of a few local variables.
2003-05-10 15:25:19 +00:00
uwe
2866542ad3
Redo attachment to support proper cnattach.
...
wscons on netwinder almost works now.
2003-05-10 01:51:56 +00:00
christos
16561289af
PR/13653: Onno van der Linden: Set tranceiver media properly.
2003-05-09 20:54:18 +00:00
martin
82f1702c53
Add missing include.
...
Addresses parts of PR kern/21448 by Frank Kardel.
2003-05-08 21:16:19 +00:00
kristerw
204dc598d9
Change the type of the 'code' parameter of ahc_send_async() from u_int
...
to ac_code to agree with the function definition.
2003-05-04 23:37:27 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dyoung
a7d738c524
Adapt SMC 93cx6 library so that it will work with both 8- and 32-bit
...
registers. This is so that I can read an SMC 93cx6 through the
32-bit registers of the ADMtek ADM8211 802.11 wireless MAC.
Adapt aic to choose 8-bit registers.
2003-05-02 19:12:19 +00:00
fvdl
df29adfb0e
Don't reference channel_b if it's not a twin channel adapter.
...
From MINOURA Makoto.
2003-05-01 23:00:20 +00:00
thorpej
c1e26c1b48
Free the mpt request structure before calling scsipi_done(), as
...
scsipi_done() may start another command which needs the request
structure being freed.
Patch from Stephan Uphoff, modified slightly by me.
2003-05-01 20:18:35 +00:00
scw
f95724bd6b
Add support for the SMC91C111 chip, with its internal PHY.
2003-04-29 08:47:29 +00:00
nakayama
1e411d7027
Make DMA mode works on Promise Ultra66/100 with 48-bit LBA drives.
...
Ok'ed by bouyer in tech-kern@netbsd.org .
2003-04-28 05:20:29 +00:00
briggs
742c5dbd3a
Allow the console to be used for kgdb if both DDB and KGDB are defined.
2003-04-28 02:46:09 +00:00
wiz
c42e1fac66
Management, not managment. Mostly from jmc@openbsd.
2003-04-26 22:07:12 +00:00
bouyer
99a36b0abd
Rename WDSF_EN_WR_CACHE to WDSF_WRITE_CACHE_EN for consistency with other
...
subcommands.
2003-04-26 09:29:41 +00:00
fvdl
00a8526dca
Do the right thing in the case of an attach error. From Manuel Bouyer.
2003-04-25 16:03:45 +00:00
tls
85c8cfb533
Correct use of MAXBSIZE where MAXPHYS was intended. This is a necessary
...
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.
2003-04-23 00:55:17 +00:00
fvdl
3f5d6a0d73
Remove unused variable.
2003-04-21 22:00:42 +00:00
fvdl
9ec222cfbe
Remove trigraph.
2003-04-21 21:49:31 +00:00
fvdl
2674450fcb
Avoid trigraph in string.
2003-04-21 21:45:59 +00:00
fvdl
13b6cff110
Reset bus in attach, not at first access.
2003-04-21 20:05:26 +00:00
fvdl
11e1ebb8dd
Reset channel(s) in ahc_attach, rather than at first access.
2003-04-21 19:59:48 +00:00
fvdl
1adc169997
Add NetBSD RCS Id.
2003-04-21 18:12:22 +00:00
fvdl
d7ad58b224
Add file that I missed when adding the ahd driver.
2003-04-21 16:53:59 +00:00
fvdl
7c5409295c
Set/report DT a bit more correctly.
2003-04-21 16:52:07 +00:00
gson
c8da8f2398
Ignore input when the port is not open. This change is functionally
...
identical to the patch in kern/6502 (which is hereby fixed), but
modelled after the corresponding fix to the 8530 driver in
z8530tty.c revision 1.60 to maintain consistency with that driver.
2003-04-21 03:43:18 +00:00
fvdl
1aca5bda05
ahd, driver for Adaptec 790x U320 controllers. Originally by Justin Gibbs
...
for FreeBSD, ported to NetBSD by Pascal Renauld, Network Storage Solutions,
Inc, plus a bunch of changes by me.
This driver is as yet untested in this final form, it will be added
to config files when it has been tested.
2003-04-21 00:14:52 +00:00
fvdl
d96d9c4be4
Pick the right channel in the reset ioctl.
2003-04-20 21:25:59 +00:00
fvdl
b30a81c90c
Resurrect change from previous ahc driver version: reset channel (unless
...
configured not to in the BIOS) on first access.
2003-04-20 19:49:45 +00:00
fvdl
c2a2dc04eb
Fix ahc_print_registers some more.
2003-04-20 18:57:41 +00:00
fvdl
ed7c318180
Fix ahc_print_register up.
2003-04-20 18:31:16 +00:00
fvdl
c620a2fd66
Fix some AHC_DEBUG printf cases, and undef AHC_DEBUG.
2003-04-20 16:04:54 +00:00
fvdl
c8a7cfc565
Actually define ahc_htole and reverse macros.
2003-04-20 15:32:10 +00:00
fvdl
6288ca0b93
Delay ahc_free until after shutdown hook disestablish.
2003-04-20 15:31:50 +00:00
bjh21
b05cf42fce
Use %lu format and (u_long) cast when printing size_t.
2003-04-20 12:54:05 +00:00
fvdl
26813b6545
Get rid of AHC_LUN_WILDCARD, making differences with FreeBSD smaller.
2003-04-20 11:17:20 +00:00
fvdl
2d41d30fa5
NetBSD RCS Ids.
2003-04-19 19:38:21 +00:00