summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tc
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-2826-26/+26
|
* Alter the behavior of sys/kern/subr_bus.c:device_print_child()mdodd1999-07-294-41/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - device_print_child() either lets the BUS_PRINT_CHILD method produce the entire device announcement message or it prints "foo0: not found\n" Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on the previous behavior of device_print_child() (printing the "foo0: <FooDevice 1.1>" bit of the announce message.) Provide bus_print_child_header() and bus_print_child_footer() to actually print the output for bus_generic_print_child(). These functions should be used whenever possible (unless you can just use bus_generic_print_child()) The BUS_PRINT_CHILD method now returns int instead of void. Modify everything else that defines or uses a BUS_PRINT_CHILD method to comply with the above changes. - Devices are 'on' a bus, not 'at' it. - If a custom BUS_PRINT_CHILD method does the same thing as bus_generic_print_child(), use bus_generic_print_child() - Use device_get_nameunit() instead of both device_get_name() and device_get_unit() - All BUS_PRINT_CHILD methods return the number of characters output. Reviewed by: dfr, peter
* Rename bpfilter to bpf.des1999-07-062-8/+8
|
* Unused variable.peter1999-07-011-2/+1
|
* Serves me right for doing this by inspection and then a build afterwardspeter1999-05-101-1/+2
| | | | on a remote machine. Sigh..
* Fix warnings (unused vars)peter1999-05-101-4/+1
|
* Fix warnings (unused vars, long != int in printf)peter1999-05-101-8/+5
|
* Fix warnings (I hope)peter1999-05-101-8/+6
|
* Give 'i' a type (int).peter1999-05-101-2/+2
|
* Move the declaration of the interrupt type from the driver structuredfr1999-05-087-14/+7
| | | | to the BUS_SETUP_INTR call.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-162-5/+2
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-042-5/+5
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Add support for TurboChannel alphas (DEC 3000/300 and 3000/500).dfr1998-08-2026-0/+8498
Obtained from: NetBSD Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
OpenPOWER on IntegriCloud