aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/tc
Commit message (Collapse)AuthorAgeFilesLines
* Desupport the TurboChannel Alpha's. This means the DEC3000/300* Pelic*David E. O'Brien2002-07-0926-8432/+0
| | | | | | | and DEC3000/[4-9]00 Flamingo/Sandpiper families. Notes: svn path=/head/; revision=99686
* Remove __P(). This was tested on the GENERIC kernel.David E. O'Brien2002-03-2015-145/+145
| | | | Notes: svn path=/head/; revision=92816
* Replace the MFREE that Marshal (Quick Draw) Dillon apparently didn't look for.Matt Jacob2002-02-071-3/+6
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=90341
* If we're not going to use am7990_shutdown, comment it all out.Matt Jacob2001-06-141-0/+4
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=78224
* Another round of the <sys/queue.h> FOREACH transmogriffer.Poul-Henning Kamp2001-02-041-2/+1
| | | | | | | | Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=72012
* Mechanical change to use <sys/queue.h> macro API instead ofPoul-Henning Kamp2001-02-041-5/+5
| | | | | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=71999
* Make all Ethernet drivers attach using ether_ifattach() and detach usingArchie Cobbs2000-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 Notes: svn path=/head/; revision=63090
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-261-2/+2
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-231-2/+2
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Move code to handle BPF and bridging for incoming Ethernet packets outArchie Cobbs2000-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 Notes: svn path=/head/; revision=60536
* Separate the struct bio related stuff out of <sys/buf.h> intoPoul-Henning Kamp2000-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 Notes: svn path=/head/; revision=60041
* Clean up some loose ends in the network code, including the X.25 and ISOPeter Wemm2000-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 Notes: svn path=/head/; revision=57178
* Remove the 'ivars' arguement to device_add_child() andMatthew N. Dodd1999-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 Notes: svn path=/head/; revision=54073
* Attempt at cleaning up the (unused part of) support for TurboChannel toNick Hibma1999-10-059-63/+60
| | | | | | | remove the need for device.h. Notes: svn path=/head/; revision=51956
* Change from using a dv_xname in struct device to usingNick Hibma1999-10-034-40/+48
| | | | | | | | | device_get_nameunit(). Remove including of device.h Notes: svn path=/head/; revision=51915
* Fix breakage caused by last commit. Also accommodate the new interfacesSteve Price1999-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 Notes: svn path=/head/; revision=51742
* Remove NBPF conditionality of bpf calls in most of our network drivers.Poul-Henning Kamp1999-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. Notes: svn path=/head/; revision=51646
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2826-26/+26
| | | | Notes: svn path=/head/; revision=50477
* Alter the behavior of sys/kern/subr_bus.c:device_print_child()Matthew N. Dodd1999-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 Notes: svn path=/head/; revision=49195
* Rename bpfilter to bpf.Dag-Erling Smørgrav1999-07-062-8/+8
| | | | Notes: svn path=/head/; revision=48645
* Unused variable.Peter Wemm1999-07-011-2/+1
| | | | Notes: svn path=/head/; revision=48429
* Serves me right for doing this by inspection and then a build afterwardsPeter Wemm1999-05-101-1/+2
| | | | | | | on a remote machine. Sigh.. Notes: svn path=/head/; revision=46911
* Fix warnings (unused vars)Peter Wemm1999-05-101-4/+1
| | | | Notes: svn path=/head/; revision=46904
* Fix warnings (unused vars, long != int in printf)Peter Wemm1999-05-101-8/+5
| | | | Notes: svn path=/head/; revision=46903
* Fix warnings (I hope)Peter Wemm1999-05-101-8/+6
| | | | Notes: svn path=/head/; revision=46902
* Give 'i' a type (int).Peter Wemm1999-05-101-2/+2
| | | | Notes: svn path=/head/; revision=46901
* Move the declaration of the interrupt type from the driver structureDoug Rabson1999-05-087-14/+7
| | | | | | | to the BUS_SETUP_INTR call. Notes: svn path=/head/; revision=46743
* Bring the 'new-bus' to the i386. This extensively changes the way thePeter Wemm1999-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 Notes: svn path=/head/; revision=45720
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-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> Notes: svn path=/head/; revision=41514
* Add support for TurboChannel alphas (DEC 3000/300 and 3000/500).Doug Rabson1998-08-2026-0/+8498
Obtained from: NetBSD Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=38455