summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp
Commit message (Collapse)AuthorAgeFilesLines
* Use m_length (m, NULL) instead of m->m_pkthdr.len.rik2005-07-091-1/+1
| | | | | Problems reported by: strijar at urai dot ru Approved by: re (scottl)
* Protect from partially initialized channels.rik2005-07-091-0/+2
| | | | Approved by: re (scottl)
* Space & alignment nits.rik2005-07-091-5/+4
| | | | Approved by: re (scottl)
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-65/+73
| | | | | | | | | | | | | | | | | | | | 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
* Use BUS_PROBE_DEFAULT for pci probe return valueimp2005-03-051-1/+1
|
* Use dynamic major number allocation.phk2005-02-271-2/+0
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-064-4/+4
|
* Bring back ability to use FR support with sppp from Cronyx.rik2004-12-141-1/+1
|
* Make code MPSAFE.rik2004-12-131-68/+259
| | | | | | | | You could turn this off by debug.mpsafenet=0 for full network stack or via debug.{cp|cx|ctau}.mpsafenet for cp(4), cx(4) and ctau(4) accordingly. MFC after: 10 days
* Add support for Tau-PCI-L model - one V.35/RS-232 orrik2004-12-112-717/+719
| | | | RS-530(449)/X.21 interface.
* Clean up from '#if __FreeBSD_version'.rik2004-12-111-357/+5
|
* Don not call pp_down()/pp_up() form XX_tlf()/XX_tls() in non PPP moderik2004-12-031-2/+4
| | | | | | to privent running of PPP's state machine in non PPP mode. MFC: after 3 days.
* Remove bogus cdevsw frobbing code which tries to prevent doublephk2004-09-231-13/+0
| | | | | | loading of modules. MODULE_VERSION() should be used for this I belive.
* Fix low level code for Tau-PCI/2E1 and Tau-PCI/4E1 that was broken by previousrik2004-08-161-364/+364
| | | | | commit. Pointy hat: rik
* Update low level code for Cronyx Tau-PCI:rik2004-08-162-743/+1180
| | | | | 1. Add support for Cronyx Tau-PCI/E3 rev.B. 2. Improve model identification and firmware load procedure.
* Since if_cp doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-131-1/+2
| | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
* White space cleanup.rik2004-08-131-369/+369
|
* Slight cosmetic changes.julian2004-07-201-2/+2
| | | | | | | | | Also introduce a macro to be called by persistent nodes to signal their persistence during shutdown to hide this mechanism from the node author. Make node flags have a consistent style in naming. Document the change.
* Convert Netgraph to use mbuf tags to pass its meta information around.julian2004-06-251-5/+9
| | | | | | | | Thanks to Sam for importing tags in a way that allowed this to be done. Submitted by: Gleb Smirnoff <glebius@cell.sick.ru> Also allow the sr and ar drivers to create netgraph versions of their modules. Document the change to the ksocket node.
* Use bus_dma* instead of contigmalloc()+vtophys() for RELENG_5.rik2004-06-231-48/+125
|
* Make code more clean: backout support for 3.x branch.rik2004-06-231-397/+36
|
* Second half of the dev_t cleanup.phk2004-06-171-2/+2
| | | | | | | | | | | The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-5/+5
| | | | Bump __FreeBSD_version accordingly.
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* Switch to using C99 sparse initialisers for the type methods array.rik2004-05-291-23/+9
| | | | | | Requested by: harti MFC after: 1 week
* Use PCI_BAR() rather than PCIR_MAPS.jhb2004-05-241-5/+5
| | | | Noticed by: phk
* Add support for Cronyx Tau-PCI adapters.rik2004-05-054-0/+9000
Note: cpddk.c is in obfuscated form (discussed with core@). As always, driver will be connected to the build a bit later after some extra testings.
OpenPOWER on IntegriCloud