summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tc
Commit message (Collapse)AuthorAgeFilesLines
* Desupport the TurboChannel Alpha's. This means the DEC3000/300* Pelic*obrien2002-07-0926-8432/+0
| | | | and DEC3000/[4-9]00 Flamingo/Sandpiper families.
* Remove __P(). This was tested on the GENERIC kernel.obrien2002-03-2015-146/+146
|
* Replace the MFREE that Marshal (Quick Draw) Dillon apparently didn't look for.mjacob2002-02-071-3/+6
| | | | MFC after: 1 day
* If we're not going to use am7990_shutdown, comment it all out.mjacob2001-06-141-0/+4
| | | | MFC after: 2 weeks
* Another round of the <sys/queue.h> FOREACH transmogriffer.phk2001-02-041-2/+1
| | | | | Created with: sed(1) Reviewed by: md5(1)
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-5/+5
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Make all Ethernet drivers attach using ether_ifattach() and detach usingarchie2000-07-131-4/+1
| | | | | | | | | ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-2/+2
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-05-141-22/+0
| | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net
* Separate the struct bio related stuff out of <sys/buf.h> intophk2000-05-052-0/+2
| | | | | | | | | | | | | | | <sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
* Clean up some loose ends in the network code, including the X.25 and ISOpeter2000-02-131-10/+0
| | | | | | | #ifdefs. Clean out unused netisr's and leftover netisr linker set gunk. Tested on x86 and alpha, including world. Approved by: jkh
* Remove the 'ivars' arguement to device_add_child() andmdodd1999-12-034-5/+15
| | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr
* Attempt at cleaning up the (unused part of) support for TurboChannel ton_hibma1999-10-059-63/+60
| | | | remove the need for device.h.
* Change from using a dv_xname in struct device to usingn_hibma1999-10-034-40/+48
| | | | | | device_get_nameunit(). Remove including of device.h
* Fix breakage caused by last commit. Also accommodate the new interfacessteve1999-09-281-4/+4
| | | | | | | to the bpf* routines so this driver has a fighting chance of actually working once it's compiled. Silently approved by: freebsd-alpha@freebsd.org
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-11/+0
| | | | | | | | | | | | This means that we will not have to have a bpf and a non-bpf version of our driver modules. This does not open any security hole, because the bpf core isn't loadable The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be. Add a couple of missing FreeBSD tags.
* $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