summaryrefslogtreecommitdiffstats
path: root/sys/dev/idt
Commit message (Collapse)AuthorAgeFilesLines
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* Capitalize thisimp2007-01-091-1/+1
|
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | unnecessary.
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-292-2/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Use BUS_PROBE_DEFAULT for pci probe return valueimp2005-03-051-1/+1
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-065-5/+5
|
* Apply error and success logic consistently to the function netisr_queue() andandre2004-08-271-2/+1
| | | | | | | | | | | | | | | | | | its users. netisr_queue() now returns (0) on success and ERRNO on failure. At the moment ENXIO (netisr queue not functional) and ENOBUFS (netisr queue full) are supported. Previously it would return (1) on success but the return value of IF_HANDOFF() was interpreted wrongly and (0) was actually returned on success. Due to this schednetisr() was never called to kick the scheduling of the isr. However this was masked by other normal packets coming through netisr_dispatch() causing the dequeueing of waiting packets. PR: kern/70988 Found by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp> MFC after: 3 days
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-4/+4
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Use contigmalloc() instead of vm_page_alloc_contig(). Pass M_ZERO toalc2004-01-141-10/+8
| | | | contigmalloc() instead of calling bzero().
* NULL -> 0alfred2003-12-242-5/+5
|
* Gross kludge:imp2003-11-161-0/+8
| | | | | | | | | | | o when compiling lint, undefine certain things and redefine them so that the driver doesn't #error out. Since lint kernels aren't supposed to be bootable, I'm no troubled by this breakage. This fixes the tinderbox Suggested by: rwatson Approved by: bms
* Use __FBSDID().obrien2003-08-243-6/+9
| | | | Also some minor style cleanups.
* - Deal with netisr changes.mdodd2003-03-291-5/+5
| | | | - Wrap idt_atm_harpconn() in conditional define T_ATM_BUFQUEUE
* Back out M_* changes, per decision of the TRB.imp2003-02-191-4/+4
| | | | Approved by: trb
* - The 'aux' field isn't around any longer.mdodd2003-01-241-7/+5
| | | | - Add missing splnet()/splx()
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-4/+4
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-3/+3
| | | | especially in troff files.
* Use more standard variable names for modevent functions.mdodd2002-10-021-2/+2
|
* Add a field to struct cmn_unit to hold a pointer to the driver's softc.mdodd2002-10-011-0/+2
|
* HARP driver for the IDT77201/211 NICStAR ATM Adapter (Including Fore LE155).mdodd2002-09-305-0/+4699
Obtained from: Richard Hodges <rh@matriplex.com>
OpenPOWER on IntegriCloud