Poul-Henning Kamp
3ad06fbb46
Remove bogus cdevsw frobbing code which tries to prevent double
...
loading of modules.
MODULE_VERSION() should be used for this I belive.
2004-09-23 12:21:11 +00:00
Roman Kurakin
23ee8af5f5
Fix low level code for Tau-PCI/2E1 and Tau-PCI/4E1 that was broken by previous
...
commit.
Pointy hat: rik
2004-08-16 17:28:04 +00:00
Roman Kurakin
c8a7b935f6
Update low level code for Cronyx Tau-PCI:
...
1. Add support for Cronyx Tau-PCI/E3 rev.B.
2. Improve model identification and firmware load procedure.
2004-08-16 12:00:07 +00:00
Robert Watson
c84843f1e5
Since if_cp doesn't contain locking or run with INTR_MPSAFE, mark
...
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
2004-08-13 23:02:17 +00:00
Roman Kurakin
f14ab395f4
White space cleanup.
2004-08-13 12:27:24 +00:00
Julian Elischer
be4252b367
Slight cosmetic changes.
...
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.
2004-07-20 17:15:38 +00:00
Julian Elischer
327b288e5c
Convert Netgraph to use mbuf tags to pass its meta information around.
...
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.
2004-06-25 19:22:05 +00:00
Roman Kurakin
de98a7eeee
Use bus_dma* instead of contigmalloc()+vtophys() for RELENG_5.
2004-06-23 18:13:10 +00:00
Roman Kurakin
3cc90ff9d1
Make code more clean: backout support for 3.x branch.
2004-06-23 11:23:54 +00:00
Poul-Henning Kamp
f3732fd15b
Second half of the dev_t cleanup.
...
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.
2004-06-17 17:16:53 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Poul-Henning Kamp
fe12f24bb0
Add missing <sys/module.h> includes
2004-05-30 20:08:47 +00:00
Roman Kurakin
24f6353dc4
Switch to using C99 sparse initialisers for the type methods array.
...
Requested by: harti
MFC after: 1 week
2004-05-29 13:17:28 +00:00
John Baldwin
c0344cc19f
Use PCI_BAR() rather than PCIR_MAPS.
...
Noticed by: phk
2004-05-24 19:39:56 +00:00
Roman Kurakin
5020aeb346
Add support for Cronyx Tau-PCI adapters.
...
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.
2004-05-05 16:11:45 +00:00