summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simplify cdevsw registration.phk1999-05-31130-1200/+442
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* You'll see them eventually :-)phk1999-05-311-0/+73
|
* The PPSAPI group defines the polarity in draft 3, we guessed it wrong.phk1999-05-312-4/+4
|
* Add the 'advocacy' category, sort this document.billf1999-05-301-1/+2
|
* procedure, not proceedure.billf1999-05-301-3/+3
|
* Add support for SiS 900 chipset (PCI ID 0x1039/0x0900), which appears towpaul1999-05-302-4/+17
| | | | be yet another rebadged RealTek 8139.
* Enable attachment of multiple drivers to a single device.n_hibma1999-05-301-11/+16
|
* Notify CAM of the removed device on detach.n_hibma1999-05-301-5/+3
|
* Whoops, forgot to update xl_mediacheck() to account for the 3c905C.wpaul1999-05-301-2/+3
|
* Head for the hills friends and neighbors, 3Com has yet another 3c90Xwpaul1999-05-302-3/+7
| | | | | | | | chipset. First you thrilled to the 3c905, then you trembled at the 3c905B, now gaze in wonder at: the 3c905C! This appears to be another 3c90X series chip called the Tornado (PCI ID 0x10B7/0x9200) and should be equivalent (from the driver API perspective) to the 3c905B, so all we have to do is add the PCI ID to the list.
* General code cleanup [incomplete]. Make the arrow keys work.hoek1999-05-309-91/+339
|
* This commit should be a extensive NO-OP:phk1999-05-30136-941/+2853
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* Don't bogusly define a d_reset_t function.phk1999-05-301-14/+2
|
* 1) Add URL for printer class specificationn_hibma1999-05-301-12/+8
| | | | | | 2) Change name of UE_IN to UE_DIR 3) Enable printing of the Printer Id string 4) Clean up debugging output while we are at it.
* - When aborting an interrupt pipe, just wait for 1ms for the completionn_hibma1999-05-301-9/+5
| | | | | | | | of the current interrupt trasaction. - Do not schedule the next interrupt transaction if the pipe is being aborted or the last round of the interrupt transaction ended with error. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* When the mouse is being disconnected, do the followings:n_hibma1999-05-301-4/+14
| | | | | | | | - Call ums_disable() to abort the pipe. - Do not wake up processes which has been waiting or polling for mouse data. It won't be available anymore. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Simplistic pnp support. Needs more ids to be added.dfr1999-05-302-2/+16
|
* No support for pnp yet.dfr1999-05-308-11/+40
|
* No support for pnp devices yet.dfr1999-05-303-3/+15
|
* Allow up to 8 ports, 4 memory regions and two irqs and drqs.dfr1999-05-302-8/+16
|
* * Use ISA_DELETE_RESOURCE to cancel memory resource if driver clears maddr.dfr1999-05-301-4/+8
| | | | * Don't allow new-style isapnp devices through the compat interfaces.
* Don't include isa_dma.h if we have already seen isavar.hdfr1999-05-301-1/+3
|
* * Add ivars for ISA pnp.dfr1999-05-306-12/+408
| | | | | | * Move isa_dma* declarations to isavar.h. * Add a method ISA_DELETE_RESOURCE() to the ISA interface. * Tidy up include protection defines.
* In pci_alloc_resource() only check start and end to see if its a default.dfr1999-05-302-4/+4
|
* Activate/deactivate resources by calling the method, not through thedfr1999-05-304-4/+68
| | | | resource manager automatic handling of RF_ACTIVE.
* Use resource allocation apis to get ports.dfr1999-05-301-9/+34
|
* Typo: "can't boot 'boot'" should be "can't boot 'kernel'"dfr1999-05-301-2/+2
|
* * Add a function devclass_create() which looks up the named devclass anddfr1999-05-302-5/+12
| | | | | creates it if it doesn't exist. * Rename resource_list_remove() to resource_list_delete() for consistency.
* Addendum to 1.155. Verify the existence of the object before checkingalc1999-05-301-2/+3
| | | | its reference count.
* When memory mapping a PCI device (like XFree86 does) on an XP1000, we mustgallatin1999-05-291-2/+2
| | | | | | | | | | | | | use ALPHA_PHYS_TO_K0SEG(offset) rather than just plain offet. I've verified that this does not break other platforms (I've tested an AlphaStation 200 and a Personal Workstation 500au with this patch). As to why this works, well.. Its black magic as far as I know. I obtained this hack from Myricom, who in turn, obtained it from Compaq engineers. Without this hack, XFree86 cannot talk to a PCI graphics card. Reviewed by: Doug Rabson <dfr@nlsystems.com> Obtained from: feldy@myri.com (Bob Felderman)
* Fix my DOC2k CHRDEV goofphk1999-05-292-6/+6
|
* A small change to allow automatic detection of the bootgallatin1999-05-291-2/+3
| | | | | | | disk on Compaq XP1000's where Disk zero is dka0.0.0.6.1, eg bus #1, slot #6. Reviewed by: Doug Rabson <dfr@nlsystems.com>
* "Tn DNS" -> ".Tn DNS"nik1999-05-292-4/+4
| | | | | PR: docs/10474 Submitted by: Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
* Fix a couple of typos related to wfd.nik1999-05-291-3/+3
| | | | | PR: docs/10624 Submitted by: Joe Abley <jabley@buddha.clear.net.nz>
* Fix typo which causes an unnecessary line break.nik1999-05-291-1/+1
| | | | | PR: docs/11561 Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>
* Description of LOCKLEAF said "inode" when it should have said "vnode".nik1999-05-291-2/+2
| | | | | PR: docs/11596 Submitted by: Robert Watson <robert@fledge.watson.org>
* Note that using the dirent.d_type member is non-portable, and mightnik1999-05-291-1/+4
| | | | | | | fail on some filesystems. PR: docs/11645 Submitted by: Harold Gutch <logix@foobar.franken.de>
* Fix the typos, and add new entries (like the /etc/periodic/ and /etc/mail/nik1999-05-291-32/+54
| | | | | | | directories). PR: docs/11695 Submitted by: Chris Costello <chris@calldei.com>
* $Header$ -> $Id$kris1999-05-293-58/+70
| | | | | | | | Manpage formatting/grammatical fixes. Check return value of malloc() Add sccsid[], other minor source code cleanups Submitted by: Philippe Charnier
* Xref mountd in text.kris1999-05-292-4/+6
| | | | Submitted by: Philippe Charnier
* Manpage cleanup, move $Id$ to #ifndef lint, remove unused includes,kris1999-05-292-25/+27
| | | | | | grammatical fixes. Submitted by: Philippe Charnier
* Stop the TSC from being used as timecounter on K5/step0 machines.phk1999-05-299-14/+23
|
* Don't put CVS files in ports. It's kinda useful for cvs updatingjkh1999-05-291-3/+3
| | | | | | | a ports tree which was installed initially with the system later, but this is probably not the general case (user CVSups the repository rather than the checked-out bits) and it's penalizing everyone else with excessive inode consumption.
* Fix support for the PNIC II. Earlier I had assumed that the PNIC II waswpaul1999-05-288-13/+39
| | | | | | | | | | | | | | | | similar to the PNIC I (supported by the pn driver). In fact, it's really a Macronix 98715A with wake on LAN support added. According to LinkSys, the PNIC II was jointly developed by Lite-On and Macronis. I get the feeling Macronix did most of the work. (The datasheet has the Macronix logo on it, and is in fact nearly identical to the 98715 datasheet, except for the extra wake on LAN registers.) In any case, the PNIC II works just fine with the Macronix driver. The changes are: - Move PCI ID for the PNIC II from the pn driver to the mx driver. - Mention PNIC II support in mx.4. - Mention PNIC II support in RELNOTES.TXT and HARDWARE.TXT.
* Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter.bde1999-05-2813-271/+301
| | | | | | | | | | | | | | | | The old version only worked right when the time was read strictly more often than every 1/HZ seconds, but we only guarantee reading it every (1/HZ + epsilon) seconds. Part of rev.1.126-1.127 attempted to fix this but didn't succeed. Detect counter rollover using the heuristic from the old version of microtime() with additional complications for supporting calls from fast interrupt handlers. This works provided i8254 interrupts are not delayed by more than 1/(2*HZ) seconds. This needs more comments, and cleanups for the SMP case, and more testing of the SMP case before it is merged into RELENG_3. Tested by: jhay
* Fixes from OpenBSD:kris1999-05-289-26/+46
| | | | | | | | | | | Add $Id$ Removes temp file exploits in gzexe (predictable filenames) Fixes some typos Fixes a buffer overrun in gzip -S Don't prepend /usr/local/bin to path in scripts Correct location of /usr/share/misc/termcap Obtained from: OpenBSD
* Don't call disable_intr() when interrupts are already disabled, sincebde1999-05-283-9/+18
| | | | | | | disable_intr() does non-recursive locking in the SMP case. This should fix cy-driver-related panics when SMP is configured. Broken in: rev.1.73 (3.1 and -current)
* Use .Dq instead of ``'' in manpagekris1999-05-282-8/+23
| | | | | | | Use optimal blocksize for rm -P, instead of always using 8192-byte blocks to overwrite the file. Obtained from: OpenBSD
* Set FTP_PASSIVE_MODE=YES by default in the default login class.jkh1999-05-281-2/+2
|
* Add new Bt848/Bt878 driver options.roger1999-05-283-48/+108
| | | | (Eventually I expect to move these into the man page)
OpenPOWER on IntegriCloud