summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Sync to 1.27 of pccarddevsimp2002-01-291-2/+14
|
* MFNetBSD:imp2002-01-291-1/+9
| | | | | | 1.159: sorting (not relevant to us, since I'd done thie before) 1.158: joda; Ericsson PRISM2 WIRELEASS LAN CARD. 1.157: aymeric Edimax Technology ethernet card
* Have SIOCGIFCONF return all (if any) AF_INET addresses for themarcel2002-01-291-4/+22
| | | | | | | | | | | | | | | | | | | | | interfaces we encounter. In Linux, all addresses are returned for which gifconf handlers are installed. This boils down to AF_DECnet and AF_INET. We care mostly about AF_INET for now. Adding additional families is simple enough. Returning the addresses is important for RPC clients to function properly. Andrew found in some reference code that the logic that handles the retransmission looks for an interface that's up and has an AF_INET address. This obviously failed as we didn't return any addresses at all. Note also that with this change we don't return interfaces that don't have AF_INET addresses, whereas before we returned any interface present in the system. This is in line with what Linux does (modulo interfaces with only AF_DECnet addresses of course :-) Reported by: "Andrew Atrens" <atrens@nortelnetworks.com> MFC after: 1 week
* Grr. The last commit contained update conflicts. It just goes togrog2002-01-291-5/+0
| | | | | | show that you should check the code even for a forced commit. Spotted by: dd
* Forced commit. The previous commit log was garbled and didn't evengrog2002-01-291-0/+5
| | | | | | | | | apply to this file. The correct message is: throw_rude_remark: Make sure we're holding the config lock before proceeding. There's no reason to assume that this has ever happened, but the alternative might be a double fault.
* Bump __FreeBSD_version for sendfile fix to properly send 'nbytes' ofalfred2002-01-291-1/+1
| | | | file when headers are supplied (version 1.104 of src/sys/kern/uipc_syscalls.c)
* Simple fixes to get the powerpc kernel compiling again.gallatin2002-01-284-4/+4
| | | | Reviewed by: mp
* Add support for the Promise TX4.sos2002-01-282-68/+118
| | | | | Rearrange the support for the VIA chips, and add experimental support for ATA133 on the newest chips.
* Enable pccard support.sos2002-01-281-1/+1
|
* Add support for pccard.sos2002-01-281-3/+30
| | | | submitted by: imp
* Merge from NetBSD.joe2002-01-286-21/+55
| | | | | | | | | | | | | | | | | | | | uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account.
* Recent changes to newpcm require that the CHANNEL_SETFORMAT op return 0scottl2002-01-272-3/+3
| | | | | | | | | for success, non-zero otherwise. The maestro and maestro3 drivers were returning the format code, which was being interpreted as a failure code. Fixed. No one seems to have noticed that the maestro driver was broken, but I'll fix it anyways. MFC after: 2 weeks
* Prevent the kernel from generating an unaligned sysctl data buffer ongallatin2002-01-271-0/+1
| | | | | | | | | 64-bit platforms. The unaligned access is caused by struct ifa_msghdr not being a multiple of 8-bytes in size. If an interface has an odd number of addresses, this causes the next interface to generate an unaligned access in the user-level app walking the interfaces (ifconfig). Submitted by: Bernd Walter <ticso@cicely8.cicely.de>
* Unbreak pcvt, it suffered from common variables. Whoever added thejoerg2002-01-271-8/+14
| | | | | -fno-common could not have possibly compiled LINT afterwards with this...
* vinumioctl: Fix a double fault caused by calling setjmp() without holding ↵grog2002-01-272-3/+2
| | | | the config lock. The call was in fact superfluous.
* Add support for the Netgear GA302T 10/100/1000 adapter. Given thatjdp2002-01-274-6/+14
| | | | | | it's a 32-bit card, it's quite nice for $75. MFC after: 3 days
* * improve error handlingcg2002-01-267-42/+93
| | | | | | | | | | * be more specific in verbose boot messages * allow the feeder subsystem to veto pcm* attaching if there is an error initialising the root feeder * don't free/malloc a new tmpbuf when resizing a snd_dbuf to the same size as it currently is * store the feeder description in the feeder structure instead of mallocing space for it
* Rearrange the code in USB_DETACH, so that it's like NetBSD's. Nojoe2002-01-261-6/+6
| | | | functional change.
* Back out the last commit. I committed the wrong file by accident.joe2002-01-261-39/+14
| | | | | The commit message wasn't relevant to that change. This code will be committed later.
* Rearrange the code in USB_DETACH, so that it's like NetBSD's.joe2002-01-261-14/+39
| | | | No functional change.
* Update the $NetBSD$ ident.joe2002-01-261-1/+1
|
* Reduce the diffs between NetBSD and our version where appropriatejoe2002-01-261-5/+6
| | | | (comments, etc.)
* Merge from NetBSD:joe2002-01-261-0/+6
| | | | | | | | | | usb.c: revision 1.39 revision 1.39 date: 2000/02/22 11:30:56; author: augustss; lines: +7 -1 Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet.
* Merge from NetBSD:joe2002-01-261-1/+1
| | | | | | | | | | usb.c: revision 1.41 revision 1.41 date: 2000/03/16 00:46:38; author: augustss; lines: +2 -2 Make the USB event queue longer. Mine overflows before the (user-land) event handler has started. But then I have about 25 devices connected. :)
* Update the $NetBSD$ ident to show that some patches have been appliedjoe2002-01-262-2/+2
| | | | in the past.
* Merge from NetBSD:joe2002-01-265-25/+78
| | | | | | | | | | | | | | | | | | ohci.c: revision 1.72 and 1.73 ohcivar.h: revision 1.19 and 1.20 uhci.c: revision 1.85 usbdi.h: a small part of revision 1.40 usbdivar.h: revision 1.47 Relevant commit messages from NetBSD are: date: 2000/02/22 11:30:54; author: augustss; state: Exp; Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet. ---------------------------- date: 2000/02/01 05:42:53; author: augustss; state: Exp; Put some #ifdefs around power and shutdown hooks.
* The ipfw(8) 'tee' action simply hasn't worked on incoming packets forcjc2002-01-261-0/+3
| | | | | | | | | | | | some time. _All_ packets, regardless of destination, were accepted by the machine as if addressed to it. Jump back to 'pass' processing for a teed packet instead of falling through as if it was ours. PR: kern/31130 Reviewed by: -net, luigi MFC after: 2 weeks
* Remove a parameter name from a prototype.dwmalone2002-01-251-1/+1
|
* Be more conservative about interrupt latency, it aint getting better it seems.phk2002-01-251-2/+2
|
* Make st_blksize default to PAGE_SIZE instead of zero.phk2002-01-251-2/+2
|
* Fix code that had rotted behind debugging macros.scottl2002-01-258-8/+10
| | | | | Approved by: cg (in principle) MFC after: 2 weeks
* a buffer offset equal to the buffer size is illegal too, fix assertion incg2002-01-251-1/+1
| | | | sndbuf_getbufofs()
* cosmetic change, free b instead of c->bufhard for consistency withincg2002-01-251-1/+1
| | | | chn_kill()
* Make the 'maxusers 0' auto-sizing code slightly more conservative. Changedillon2002-01-251-3/+3
| | | | | | | | | | from 1 megabyte of ram per user to 2 megabytes of ram per user, and reduce the cap from 512 to 384. 512 leaves around 240 MB of KVM available while 384 leaves 270 MB of KVM available. Available KVM is important in order to deal with zalloc and kernel malloc area growth. Reviewed by: mckusick MFC: either before 4.5 if re's agree, or after 4.5
* Have sysctl() return the correct errno(2) as documented in thecjc2002-01-251-1/+1
| | | | | | | sysctl(3) manpage. Submitted by: ru Obtained from: BSD/OS
* Yet a bug with extensible sbufs being marked as OVERFLOWED. This timephk2002-01-241-1/+1
| | | | | | because of a signed/unsigned problem. Approved by: DES
* Merge from NetBSD:joe2002-01-242-5/+24
| | | | | | | | | | | | | | | | | | usb.c: -r1.35 - 1.37 usb_port.h: tiny bit of -r1.26 + an extra bit in the FreeBSD config section. revision 1.37 date: 2000/01/24 18:35:51; author: thorpej; state: Exp; lines: +7 -1 Use config_pending. ---------------------------- revision 1.36 date: 1999/12/22 23:54:09; author: augustss; state: Exp; lines: +2 -2 Use the flags `locator' to govern if devices are detected early or late during cold boot. ---------------------------- revision 1.35 date: 1999/12/20 02:12:23; author: augustss; state: Exp; lines: +8 -5 Make sure tsleep() is not called during cold boot.
* Add entry for EVFILT_NETDEV, which was inadverdently omitted back in Sept.jlemon2002-01-241-0/+1
|
* 1) Fix a debug statement by filling in its data before the printf inguido2002-01-241-3/+72
| | | | | | | | | | stead of after 2) Honour NO_TEST_UNIT_READY quirk for atapi devices as well 3) Actually support FujiFilm FinePix 6800 camera's. Will very likely also work for other FinePix models. Based on a debug session about half a year ago with Nik Hibma. MFC after: 2 weeks
* Regenerated file from previous commit to syscalls.mastergallatin2002-01-233-18/+6
|
* Linux/alpha uses the same BSDish return mechanism we do forgallatin2002-01-232-4/+8
| | | | | | | | getpid, getuid, getgid and pipe, since they bootstrapped from OSF/1 and never cleaned up. Switch to the native syscalls on alpha so that the above functions work MFC after: 7 days
* CG hard sentence breaks.sobomax2002-01-231-1/+2
| | | | Submitted by: ru
* in fget() return EINVAL when the descriptor requested is negative.alfred2002-01-231-1/+1
|
* Remove holdfp() prototype now that the function no longer existsalfred2002-01-231-1/+0
|
* make pread use fget_read instead of holdfp.alfred2002-01-231-27/+2
|
* Roll to latest production level firmware.mjacob2002-01-231-5037/+5506
| | | | MFC after: 1 day
* improve sndstat output of feederchains so it can be understood withoutcg2002-01-231-11/+20
| | | | reading the feeder sourcecode
* print warnings if a pcm*.buffersize hint is out of range or a non-power-of-2cg2002-01-231-3/+17
|
* fix some comments accidentally hit by search/replace several revisions agocg2002-01-231-3/+3
|
* set the speeds the right way round for recording using the rate feedercg2002-01-231-4/+7
|
OpenPOWER on IntegriCloud