joda
074d64615d
more nvidia devices
2003-09-25 16:47:54 +00:00
lonewolf
3111a2e6ea
Support for HAL2 audio controller attached to the HPC ASIC, found on SGI Indy.
...
The driver is not too heavily tested and only supports audio playback and
master volume setting currently.
2003-09-25 16:35:50 +00:00
pooka
a41fa163fd
iavc@pci
2003-09-25 16:00:24 +00:00
pooka
2ef487b6bc
autoconf goop for iavc
2003-09-25 15:58:14 +00:00
pooka
4952ffa71e
Give iavc a bit in the debug bitmask society.
2003-09-25 15:54:41 +00:00
pooka
a99f02d0ee
Add a driver for the CAPI-compliant AVM B1/T1 cards.
...
The driver backend is capable of supporting also ISA cards (no DMA)
and primary rate (PRI) cards in addition to the basic rate ones,
but I don't any to test on right now, so we don't support those
currently.
This code was originally written by Juha-Matti Liukkonen <jml@cubical.fi>
of Cubical Solutions Ltd. for FreeBSD, and was ported to NetBSD by
myself for the same company.
2003-09-25 15:53:26 +00:00
pooka
6a7a858eb2
Add a support layer for the ISDN CAPI ( http://www.capi.org/ ), which should
...
make it pretty simple to write drivers for cards which conform to CAPI.
This code was originally written by Juha-Matti Liukkonen <jml@cubical.fi>
of Cubical Solutions Ltd. for FreeBSD, and was now adapted to NetBSD
by myself for the same company.
2003-09-25 15:34:38 +00:00
pooka
0553a30d48
Make the number of maximum b-channels provided by a controller a macro
...
and base the calculation of the amount of call descriptors on that.
Define MAX_BCHAN as 2 for now, since we don't support primary rate (yet).
2003-09-25 15:16:08 +00:00
pooka
0388df434a
add number of b-channels provided to controller info request
2003-09-25 15:11:21 +00:00
ichiro
066497ec38
add comment and delete unused definition
2003-09-25 14:48:16 +00:00
pooka
3a76a8a2df
Add a hack to avoid calling l2 functions for active ISDN cards. They
...
expect l1_token to contain the l2_token when it indeed is the l1_token
for active cards, which don't use l2.
Martin promised to look into really fixing this a few weeks from now .. ;)
2003-09-25 14:17:57 +00:00
ichiro
663ccee1cc
pci bus support
2003-09-25 14:11:18 +00:00
scw
a3b1a08d1e
Fix for PR kern/22933
...
Avoid gcc3 pointer alias bugs caused by casting between struct callout
and struct callout_circq.
2003-09-25 10:44:11 +00:00
bouyer
703c60f5c6
Don't print modes we are using if we don't know which modes are really used.
2003-09-25 09:38:09 +00:00
thorpej
4fa7c2c48b
- Fix a bug I introduced in a previous commit (oops).
...
- Add the twe_drivecommand ioctl structure.
2003-09-25 01:35:25 +00:00
mycroft
3d7395ab71
Update for new attach method.
2003-09-25 01:12:43 +00:00
mycroft
516d857707
Do fd probing after interrupts are enabled, and use tsleep() for delays.
...
Also try to accept a recalibrate interrupt to terminate the delay -- but that
doesn't seem to work reliably, so do a 2s timeout as well.
2003-09-25 01:05:06 +00:00
mycroft
3114965161
Fix glaring errors in recent changes.
2003-09-25 00:59:31 +00:00
mycroft
3e08e45a55
Fix GCC 3 barfage.
2003-09-24 11:57:44 +00:00
shige
95fa35eb8e
Delete this file because filename includes uppercase letters.
2003-09-24 11:51:19 +00:00
shige
e0a74e8b1e
Rename ibm4xxGPx_autoconf.c to all lowercase filename.
2003-09-24 11:48:18 +00:00
shige
0a36d23137
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-24 11:47:02 +00:00
yamt
4e746c95f7
in getblk(), don't call allocbuf() for B_LOCKED buffers.
...
LFS misses total size of B_LOCKED buffer (locked_queue_bytes) when
getblk() re-size them.
XXX maybe needs a better fix.
2003-09-24 10:44:44 +00:00
yamt
61d5d4362b
fix a bug of lfs.
...
genfs_getpages() can read in more blocks than it should due to faked filesize
of lfs_gop_size(). it's a security problem and it makes gcc3 "internal error"
to fix this,
- in genfs_getpages(), always calculate diskeof and memeof separately
so that filesystems (in this case, lfs) can use different strategies
for them.
- introduce GOP_SIZE_MEM flag and use it to request in-core filesize.
(it was an intention of GOP_SIZE_READ,
but after the above change _READ is not a straightforward name)
after this, no one uses GOP_SIZE_{READ,WRITE} anymore but leave them for now.
2003-09-24 10:22:53 +00:00
mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
itojun
8d9a724638
on arplookup() failure, nuke cloned route - otherwise outsider could use massive
...
number of bogus ARPs for DoS attack. FreeBSD-SA-03:14.arp
2003-09-24 06:52:47 +00:00
matt
9c8a5009b3
Define va_list as __builtin_va_list for GCC 3.x. Change stdarg macros
...
appropriately. (this is committed from a system run a kernel and userland
built with these changes).
2003-09-24 02:39:56 +00:00
thorpej
544359b9a2
- Make CCB allocation slightly more efficient by changing how the
...
CCB is returned to the caller.
- Make code paths that can use twe_ccb_alloc_wait() use it, and assert
that a CCB is always returned from that function.
- Assert that a CCB is always returned when allocating the reserved CCB
for an AEN fetch.
2003-09-23 23:50:04 +00:00
thorpej
765ddabe83
Add a comment clarifying why we clear TWEF_AEN in twe_reset() now.
2003-09-23 23:10:53 +00:00
thorpej
1cad401c12
Separate the AEN fetching path into its own special path that uses the
...
reserved CCB. This means that all remaining callers of twe_param_get*()
are called from a valid thread context, and thus have no need to use a
reserved CCB. This will allow for further cleanup in a future commit.
2003-09-23 23:08:54 +00:00
mycroft
ab223e99bc
Allow a device to reject CLEAR_FEATURE ENDPOINT_STALL (with a STALL) -- the
...
assumption being that the device will never use a STALL of a non-control pipe,
I guess.
2003-09-23 21:44:42 +00:00
mycroft
df8e298ddb
Small changes -- if your controller clears DRV_BUSY when recalibrate completes,
...
you get lucky and the probe is faster. A more complete fix will require making
the probe use interrupts, since there is no reliable way to poll.
2003-09-23 21:36:07 +00:00
martin
1f68fd5144
Same treatment as libc/hash/sha1.c: ifdef the sparc64 compiler bug
...
workaround for old gcc only.
2003-09-23 20:00:43 +00:00
martin
d505bdda83
Fix rx buffer size bitmask, do not explicitly set burst length and use 1536
...
bytes buffers, so this driver can finally cope with full size ethernet
packets. From Peter Bex.
2003-09-23 19:37:39 +00:00
cl
cf9f62a8e7
catch up with sys___sigaction14 compat_16 rename
2003-09-23 18:54:24 +00:00
cl
0dd1fb3d17
regen
2003-09-23 18:32:12 +00:00
cl
7e40a36c7f
catch up with sys___sigaction14 compat_16 rename
2003-09-23 18:31:03 +00:00
nathanw
b1a13994b7
When the syscall was made a compat syscall and the function name
...
changed to compat_16_sys___sigaction14, the name of the _args
structure chaged as well.
2003-09-23 17:59:48 +00:00
thorpej
f0d728e698
Avoid a type punning warning in the MALLOC_DEBUG case.
2003-09-23 16:36:59 +00:00
bouyer
5a2aac1c7c
Fix a typo that prevented pre-ata drives from working since 1999.
2003-09-23 16:27:10 +00:00
dyoung
847c5ca1c6
More changes following this pattern:
...
#ifdef __FreeBSD__
/* FreeBSD-ism */
#else
/* NetBSD-ism */
#endif
2003-09-23 16:03:46 +00:00
dyoung
20a915d375
Put FreeBSDisms in #ifdef __FreeBSD__, and add the equivalent
...
NetBSDisms.
2003-09-23 16:01:21 +00:00
dyoung
608fc21500
Make ieee80211_unref_node compile.
...
#ifdef __FreeBSD__ a lot of lines, and put the NetBSDisms into the #else
half.
Add ieee80211_node_{dec,inc}ref to ieee80211_node.h.
2003-09-23 15:59:09 +00:00
dyoung
1c4de65baa
Make if_printf more nearly match FreeBSD's, and make it compile.
...
Remove ieee80211_node_{dec,inc}ref (they go to ieee80211_node.h).
2003-09-23 15:57:25 +00:00
shige
dc98452dce
Copy PCI codes for IBM405GPx from evbppc/walnut/pci/{pchb.c,pci_machdep.c}.
2003-09-23 15:30:22 +00:00
shige
03467d74b5
Add devices info for IBM405GPR.
2003-09-23 15:26:46 +00:00
shige
91be153592
Add global cpu_model variable.
2003-09-23 15:25:26 +00:00
shige
e20e959b37
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-23 15:24:15 +00:00
shige
a8dd07e005
Copy IBM4XX OpenBIOS locore.S from evbppc/walnut.
2003-09-23 15:21:58 +00:00
shige
fc29eb23bf
Add some PCI definitions listed in evbppc/include/walnut.h.
2003-09-23 15:19:05 +00:00