summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add sem_*() functions. Named semaphores and process-shared semaphoresjasone2000-01-209-0/+711
| | | | | | | are not supported by this implementation, and the error return values from sem_init(), sem_open(), sem_close(), and sem_unlink() reflect this. Approved by: jkh
* Regen.wpaul2000-01-202-507/+625
|
* More USB ethernet tweaks:wpaul2000-01-2023-524/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sync ohci, uhci and usbdi modules with NetBSD in order to obtain the following improvements: o New USBD_NO_TSLEEP flag can be used in place of UQ_NO_TSLEEP quirk. This allows drivers to specify busy waiting only for certain transfers (namely control transfers for reading/writing registers and stuff). o New USBD_FORCE_SHORT_XFER flag can be used to deal with devices like the ADMtek Pegasus that sense the end of bulk OUT transfers in a special way (if a transfer is exactly a multiple of 64 bytes in size, you need to send an extra empty packet to terminate the transfer). o usbd_open_pipe_intr() now accepts an interval argument which can be used to change the rate at which the interrupt callback routine is invoked. Specifying USBD_DEFAULT_INTERVAL uses the value specified in the device's config data, but drivers can override it if needed. - Change if_aue to use USBD_FORCE_SHORT_XFER for packet transmissions. - Change if_aue, if_kue and if_cue to use USBD_NO_TSLEEP for all control transfers. We no longer force the non-tsleep hack for bulk transfers since these are done asynchronously anyway. - Removed quirk entry fiddling from if_aue and if_kue since we don't need it anymore now that we have the USBD_NO_TSLEEP flag. - Tweak ulpt, uhid, ums and ukbd drivers to use the new arg to usbd_open_pipe_intr(). - Add a flag to the softc struct in the ethernet drivers to indicate when a device has been detached, and use this flag to perform tests to prevent the drivers from trying to do control transfers if this is the case. This is necessary because calling if_detach() with INET6 enabled will eventually result in a call to the driver's ioctl() routine to delete the multicast groups on the interface, which will result in attempts to perform control transfers. (It's possible this also happens even without INET6 support enabled.) This is pointless since we know that if the detach method has been called, the hardware has been unplugged. - Changed watchdog timeout routines to just call the driver init routines to initialize the device states without trying to close and re-open the pipes. This is partly because we don't want to frob things at interrupt context, but also because this doesn't seem to work right and I don't want to panic the system just because a USB device may have stopped responding. - Fix aue_rxeof() to be a little smarter about detecting when a double transfer is needed. Unfortunately, the design of the chip makes it hard to get this exactly right. Hopefully, this will go away once either Nick or Lennart finds the bug in the uhci driver that makes this ugly hack necessary. - Also sync usbdevs with NetBSD.
* Don't search for libraries in ${LOCALBASE}. This should fix the problemskris2000-01-201-1/+1
| | | | people were seeing with conflicts with the openssl port.
* Activate librsagluekris2000-01-201-1/+1
|
* Move the rsaref gunk to libRSAglue where ports expect it.kris2000-01-201-8/+1
|
* Build infrastructure for libRSAglue, required for compatability withkris2000-01-201-0/+48
| | | | | ports even though it doesn't seem to do anything which requires it to be separate from libcrypto.
* When we are execing a setugid program, and we have a procfs filesystemimp2000-01-203-0/+61
| | | | | | | | file open in one of the special file descriptors (0, 1, or 2), close it before completing the exec. Submitted by: nergal@idea.avet.com.pl Constructive comments: deraadt@openbsd.org, sef, peter, jkh
* A few more style cleanupsrwatson2000-01-201-14/+9
| | | | Submitted by: bde
* Do signal deferral for pthread_kill() as it was done in the old days.jasone2000-01-209-90/+18
| | | | Submitted by: deischen
* Move ENTRY and ALTENTRY definitions to asm.h where they belong.jasone2000-01-203-25/+8
| | | | | | Unbreak profiling. Again. Submitted by: bde
* Update the sed action to match the change to "diff -u".obrien2000-01-201-1/+1
| | | | | | | Otherwise the encrypted password of any account who's information changed was shown in the daily email to root. Submitted by: jhb
* Add the pcdmx theatre lighting controller major numbermsmith2000-01-201-0/+1
|
* Don't tsleep() while at splbio().jasone2000-01-201-2/+12
| | | | | | | Correctly return EINPROGRESS from aio_error() even when an aio request is still in the socket queue. Submitted by: Adrian Chadd <adrian@bofh.co.uk>
* Fix an #ifdef that should have been and #ifndef.archie2000-01-203-3/+3
| | | | Noticed by: Hellmuth Michaelis <hm@hcs.de>
* I like base-36 better.green2000-01-201-4/+18
|
* Port of the PC-98 ppc to the newbus system.kato2000-01-204-648/+1090
|
* Here is the new Alpha-specific HARDWARE.TXT Again, generic HARDWARE.TXTwilko2000-01-191-655/+1055
| | | | | info should go into release/texts/HARDWARE.TXT That file will arrive there shortly courtesy of the repo meisters ;-)
* Only briefly going away, will re-incarnate as HARDWARE.TXTwilko2000-01-191-1045/+0
|
* Allow automatic 'pulling in' of machdep *.TXT files from ./texts/[alpha,i386]wilko2000-01-191-6/+6
| | | | | | | | and concat these to the corresponding generic *.TXT living in ./texts This is currently aimed at HARDWARE.TXT but works for things like RELNOTES.TXT too. Reviewed by: jkh
* Implement -g and -d options in my ident code. The -g flag uses a randomgreen2000-01-192-18/+67
| | | | | | | | | | garbage value for the username (hex garbage, that is), and the -d flag provides a default username for fallback purposes if the user cannot be looked up. That is very useful for the case where inetd auth is running on a NAT box. While I'm here updating the manpage, clean up an English error and a few small nits.
* - Use proper markup for a section header.chris2000-01-191-5/+7
| | | | | | | - Replace nonexistent OPIE_PROMPT_MAX with OPIE_CHALLENGE_MAX PR: 16209 Submitted by: Tetsuro Furuya <tfuruya@ppp142197.asahi-net.or.jp>
* New install-info(1) correctly fails to install ENTRY for file FOOru2000-01-192-5/+3
| | | | | | if ENTRY already exists for file FOO2 in /usr/share/info/dir. So, re-init /usr/share/info/dir unconditionally at installworld.
* Add support for the Davicom DM9102A 10/100 ethernet controller chip.wpaul2000-01-194-10/+46
| | | | | | | | This is just to make sure we initialize the chip correctly: we need to make the sure the port select bit in CSR6 is set properly so that we use the internal PHY for 10/100 support. (The eval boards I have also include an external HomePNA PHY, but I need to play with that more before I can support it.)
* Change the error message to be the FreeBSD one, not the OSF/1 one.obrien2000-01-191-2/+6
|
* Add parallel port clock driver.jkh2000-01-191-0/+348
| | | | Submitted by: Sascha Schumann <sascha@schumann.cx>
* Import simple driver for a parallel port radio clock which receivesjkh2000-01-196-0/+13
| | | | | | the German legal time (commonly available in Europe). Submitted by: Sascha Schumann <sascha@schumann.cx>
* Add device entries for new parallel port radio clock driver.jkh2000-01-191-0/+6
| | | | | | | We were supposed to get these in far earlier and didn't, hence the commit after feature freeze. A promise is a promise. :) Submitted by: Sascha Schumann <sascha@schumann.cx>
* Add entries for:imp2000-01-192-0/+40
| | | | | | 3com 3c589ET Simple Technology CF ATA flash cards Viking Components CF ATA flash cards
* Add recent entries:imp2000-01-191-0/+18
| | | | | | CAM version bump gnu texinfo pccardd/pccardc recompile to match kernel ioctls
* Although it should be obvious that the 3-digit numeric values of thesheldonh2000-01-1912-12/+23
| | | | | characters shown are octal, state this explicitly for the easily misled.
* It's not been possible to configure a print server running lpd,joe2000-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | with remote hosts feeding it, so that some hosts have their header pages supressed and some don't. This is because lpd doesn't know how to rewrite a print job before forwarding it to a remote lpd. In particular this causes problems with p rinters that contain their own lpd, eg. HP jet direct cards, because they can't suppress headers. It's not possible to have headers supressed by putting 'sh' in any printcap in the lpd chain, it is up to the originating lpr to have a '-h' option specified at run time. Lpr has been modified to allow _it_ to honour the 'sh' flag in the local print cap. This allows the administrator to switch off headers for a particular printer (on a particular host) irrespective of whether that printer is local to the machine or remote. This doesn't break anything, because in the case of a remote printer the 'sh' flag would have had no meaning, in the case of the local printer it would have been on anyway. Submitted by: Scott James Remnant <scott@pavilion.net>
* Make the quotes in the #include line visible.sheldonh2000-01-191-1/+1
|
* Do not set the default terminal type to "su", leave it empty.ru2000-01-192-6/+2
| | | | | PR: bin/5084 Reviewed by: asmodai, davidn, sef
* ${.MAKE} -> ${MAKE}ru2000-01-191-1/+1
| | | | Reviewed by: hoek
* Utility to control the printing of "Fixed up unaligned data access for pidobrien2000-01-194-0/+233
| | | | | | | | nnn at pc 0xADDR" and the fixup of the UA fault on the DEC Alpha when an unaligned access fault happens. Modeled after the OSF/1 utility of the same name. Submitted by: gallatin
* Quantify the calls to ad_attach and atapi_attach so that disklesssos2000-01-191-0/+4
| | | | or atapiless kernels can be built.
* Implement continuations to correctly handle [sig|_]longjmp() inside of ajasone2000-01-1939-205/+1332
| | | | | | | | | | | | | | | | | | | | | | signal handler. Explicitly check for jumps to anywhere other than the current stack, since such jumps are undefined according to POSIX. While we're at it, convert thread cancellation to use continuations, since it's cleaner than the original cancellation code. Avoid delivering a signal to a thread twice. This was a pre-existing bug, but was likely unexposed until these other changes were made. Defer signals generated by pthread_kill() so that they can be delivered on the appropriate stack. deischen claims that this is unnecessary, which is likely true, but without this change, pthread_kill() can cause undefined priority queue states and/or PANICs in [sig|_]longjmp(), so I'm leaving this in for now. To compile this code out and exercise the bug, define the _NO_UNDISPATCH cpp macro. Defining _PTHREADS_INVARIANTS as well will cause earlier crashes. PR: kern/14685 Collaboration with: deischen
* Make minor entry point changes to support libc_r.jasone2000-01-199-18/+18
|
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-1912-28/+28
| | | | | | | | | prettier (?) names, adding some const's around here, et al. This is commit 4 out of 3, updating the userland library to reflect kernel interface changes. Reviewed by: bde
* Close PR#16028. Make the sanity check saner. The condition that wewpaul2000-01-191-1/+1
| | | | | | | | | check for on the server may arise legitimately on the client. The correct way to check for a zero record length is to check for it without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG marker with 0 bytes of data. PR: misc/16028
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-1912-145/+128
| | | | | | prettier (?) names, adding some const's around here, et al. Reviewed by: bde
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-195-68/+68
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 2 out of 3. Reviewed by: bde
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-191-12/+25
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 1 out of 3. Reviewed by: bde
* Document KERN_QUANTUM under CTL_KERNchris2000-01-191-0/+6
| | | | | PR: 15637 Submitted by: jhs
* Document isnanf() for checking if a float is NaN (``Not-a-Number'') andchris2000-01-192-4/+9
| | | | | | create a link from isnanf.3 to isinf.3. PR: 13878
* Document truncation of strings when a NUL character is reached in a formatchris2000-01-191-0/+6
| | | | | | | string. PR: 15929 Submitted by: Daniel Hagan <dhagan@cs.vt.edu>
* Require USA_RESIDENT to be 'NO' or 'YES' if building secure/kris2000-01-191-0/+12
| | | | Reviewed by: marcel
* Reference machine/param.h rather than the nonexistentmsmith2000-01-191-2/+2
| | | | | | machine/machparam.h in a comment PR: kern/11178, kern/16128
* Fix a couple of bugs:wpaul2000-01-192-5/+8
| | | | | | | | | - The busy wait hack in usbdi.c was doing its timeout in microseconds instead of milliseconds. - if_aue.c:aue_intr() is creating a bitmask by and'ing two bits when it should be or'ing them. Submitted by: Lennart Augustsson
OpenPOWER on IntegriCloud