summaryrefslogtreecommitdiffstats
path: root/sys/pci/xrpu.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not depend on FreeBSD 2.2 compatability defines.peter2000-05-281-1/+1
| | | | s/PCI_MAP_REG_START/PCIR_MAPS/
* Isolate the Timecounter internals in their own two files.phk2000-03-201-1/+2
| | | | | | | | | | | | | | | Make the public interface more systematically named. Remove the alternate method, it doesn't do any good, only ruins performance. Add counters to profile the usage of the 8 access functions. Apply the beer-ware to my code. The weird +/- counts are caused by two repocopies behind the scenes: kern/kern_clock.c -> kern/kern_tc.c sys/time.h -> sys/timetc.h (thanks peter!)
* Do a trivial conversion of xrpu to newbus.peter2000-02-121-50/+62
| | | | | Reviewed by: phk ("commit it!" :-) Pre-Approved by: jkh
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Convert DEVFS hooks in (most) drivers to make_dev().phk1999-08-231-14/+4
| | | | | | | | | | | | | | | | Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev().
* dont allow open if no device was found.phk1999-07-131-1/+5
|
* Bail after 5 attempts to read very noisy signals.phk1999-07-031-4/+6
|
* Pass the current timecounter to pps_event().phk1999-06-221-3/+3
|
* Simplify cdevsw registration.phk1999-05-311-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* This commit should be a extensive NO-OP:phk1999-05-301-9/+24
| | | | | | | | | | | | | 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.
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-5/+1
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-241-1/+5
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Fix Typo.phk1999-03-121-2/+2
|
* Make even more of the PPSAPI implementations generic.phk1999-03-111-51/+28
| | | | | | | | FLL support in hardpps() Various magic shuffles and improved comments Style fixes from Bruce.
* Remove unused variable.eivind1999-01-121-3/+5
|
* probe function changed from returning char * to const char *.dillon1998-12-141-3/+3
|
* * Fix a couple of places in the device pager where an address wasdfr1998-11-081-2/+2
| | | | | | | | | | | truncated to 32 bits. * Change the calling convention of the device mmap entry point to pass a vm_offset_t instead of an int for the offset allowing devices with a larger memory map than (1<<32) to be supported on the alpha (/dev/mem is one such). These changes are required to allow the X server to mmap the various I/O regions used for device port and memory access on the alpha.
* Update and add timekeeping code.phk1998-10-241-24/+182
|
* Fixed printf format errors.bde1998-08-181-3/+4
|
* Add minimum driver for XC6200 based cards. Currently it knows aboutphk1998-05-301-0/+110
the HOT1 from www.vcc.com.
OpenPOWER on IntegriCloud