simonb
f550ec6c5a
Include <sys/systm.h> if we use printf(), instead of relying on some
...
other random header pulling <sys/systm.h> in for us.
2005-11-25 13:55:14 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
simonb
b665007462
Include <sys/systm.h>; needed for printf() and strcmp() in the
...
non-DEBUG case.
2005-09-06 12:22:43 +00:00
drochner
1f9cf5d3b7
kill some more simple submatch() functions, use config_stdsubmatch()
2005-08-26 11:49:13 +00:00
drochner
fa3cb84d62
replace the "locdesc_t" structure carrying the number of locators
...
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
drochner
2b1a908048
kill questionable uses of config(8) generated xxxlocnames[]
...
locator information does belong elsewhere and definitely shouldn't
be in the global namespace
2005-06-28 19:46:47 +00:00
he
253884a9c4
Rename local variable cpu_intr' to
cpu_int' to avoid shadowing.
2005-06-09 21:42:33 +00:00
simonb
61e2cd2f51
Remove some errant semicolons.
2005-02-25 07:18:40 +00:00
soren
96156c60bf
Add USB device controller register names.
2004-11-11 10:11:40 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
drochner
a02e2488a0
autoconf cleanup: turn xxxsubmatch() functions into the locator
...
passing variants
2004-09-13 14:57:31 +00:00
thorpej
cdac01064e
Rename the COM16650 option to COM_16650, for consistency with other
...
com variant options.
2004-05-01 19:03:59 +00:00
nathanw
6b89d04a4a
The Au1500 doesn't have an i2s interface.
2004-03-16 18:13:45 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
simonb
210a9530eb
Use UART_SIZE instead of a (redefined) COM_NPORTS.
2003-12-15 09:13:41 +00:00
simonb
4ebec9cd61
Add a define for the size of the UART register block.
2003-11-08 05:49:08 +00:00
simonb
edaec67118
Use the COM_AU1x00 option for Au1x00 feature support.
2003-11-08 05:12:51 +00:00
simonb
52f438d9a8
Sync with com.c, rev 1.222.
2003-11-08 05:10:11 +00:00
simonb
8899101173
Add a "COM_AU1x00" option, similar to COM_PXA2X0, for enabling Au1x00
...
features in the "com" driver.
2003-11-08 05:05:14 +00:00
simonb
4116da8027
Sync with dev/ic/com.c rev 1.221.
2003-11-07 02:08:35 +00:00
simonb
8338dcf797
More bogus uninitialised warnings.
2003-10-27 02:16:15 +00:00
simonb
e93422fa5f
Remove "struct aubus_ohci_softc". As well as ohci_softc_t, it only had
...
a copy of the interrupt cookie which isn't used outside the attach. We
has also bogusly only told the autoconfiguration machinery that our softc
was as big as a ohci_softc_t, not a struct aubus_ohci_softc.
Also, disestablish the interrupt if OHCI initialisation fails.
2003-10-23 04:58:32 +00:00
simonb
513b330566
Tell the Alchemy Au1x00 on-chip ohci that we're in big-endian mode if
...
necessary.
2003-10-18 04:34:30 +00:00
simonb
136dd90b25
Remove unused ohci stub.
2003-10-18 04:31:37 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
4b2744bf35
__KERNEL_RCSID()
2003-07-15 02:43:09 +00:00
thorpej
d876aa082a
Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
...
the mac-addr property for the Au1x00 on-chip MACs.
2003-07-04 01:19:58 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
simonb
9e8290fbee
Use the com softc enabled/disable hooks instead of directly frobbing
...
Au1x00 registers in com_attach_subr(). Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
simonb
261417ff31
Fix 'struct lwp *' lossage.
2003-06-29 12:34:55 +00:00
he
57822a30b2
Conditionalize usage of the COM_HW_HAYESP constant on COM_HAYESP.
...
Add a dummy type argument to the local (au)comcnattach to match the change
in the prototype of the "real" comcnattach.
Reviewed and tested by simonb.
2003-06-27 07:39:34 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
tsutsui
71ef8e5915
Use common mips/softintr.c for softintr(9) on evbmips.
...
Ok'ed by simonb.
2003-05-25 14:08:19 +00:00
hpeyerl
5eefd45be5
Read USBH_ENABLE twice in succession according to Errata 7 for au1500.
2003-04-03 16:41:23 +00:00
hpeyerl
295e297794
de-slob-ify. (I'm a slob)
2003-04-02 02:18:52 +00:00
hpeyerl
badb1c52ec
OHCI front-end driver for Alchemy cpu's. We now have USB Host support.
...
Tested on PB1500 and DB1500 boards.
2003-04-01 17:36:45 +00:00
hpeyerl
29422429f6
add defines for Alchemy clock and frequency control registers.
2003-04-01 17:30:09 +00:00
hpeyerl
56f13f6fa9
allocate an aubus dma tag.
2003-04-01 17:29:11 +00:00
hpeyerl
9cda767630
support active low, level triggered interrupts, needed for ohci front end.
2003-04-01 17:28:24 +00:00
simonb
d38e1fa853
Use "rxintr" for the name of the receive interrupts evcnt instead
...
of "txintr". Much less confusing that way...
2003-03-27 01:21:52 +00:00
simonb
0a30e5fb17
Fix a grammatical nit.
2003-03-22 14:26:41 +00:00
he
0f55132c91
Initialize the two new members of "struct console" to NULL so that
...
this file compiles again.
2003-03-08 09:42:56 +00:00
simonb
b2e8253950
Zero out the TX buffer when padding packet to ETHER_MIN_LEN-ETHER_CRC_LEN.
2003-01-17 12:40:20 +00:00
simonb
c018fbe68d
Tidy up event counter increments a little.
2003-01-16 01:14:17 +00:00
simonb
c69f520bc8
Removed unused register map; this info is now passed in with the attach
...
args.
2003-01-16 01:05:39 +00:00
thorpej
dbb0f0ebed
Use aprint_normal() for cfprint routines.
2003-01-01 01:47:30 +00:00
simonb
aa5595f691
Fix typo in the address of the Au1500 MAC1 enable register; 2nd MAC works
...
on the Au1500 cpu now.
2002-11-17 04:57:34 +00:00
simonb
ba1c8ffa9d
Remove reference to mips_int5_evcnt from here; that is port-specific,
...
not arch-specific.
2002-11-17 04:56:57 +00:00
simonb
396f36cc12
Fix a typo in the on-board device selection machinery (which I thought
...
I'd committed long ago).
2002-11-11 16:39:18 +00:00
jdolecek
e0cc03a09b
merge kqueue branch into -current
...
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00